/external/chromium_org/chrome/common/extensions/manifest_handlers/ |
D | settings_overrides_handler_unittest.cc | 69 namespace manifest_keys = extensions::manifest_keys; 90 ASSERT_TRUE(extension->manifest()->HasPath(manifest_keys::kSettingsOverride)); in TEST_F() 93 extension->GetManifestData(manifest_keys::kSettingsOverride)); in TEST_F() 114 extension->manifest()->HasPath(manifest_keys::kSettingsOverride)); in TEST_F() 133 ASSERT_TRUE(extension->manifest()->HasPath(manifest_keys::kSettingsOverride)); in TEST_F() 136 extension->GetManifestData(manifest_keys::kSettingsOverride)); in TEST_F() 147 extension->manifest()->HasPath(manifest_keys::kSettingsOverride)); in TEST_F() 169 extensions::manifest_keys::kSettingsOverride), in TEST_F() 174 extension->manifest()->HasPath(manifest_keys::kSettingsOverride)); in TEST_F()
|
D | ui_overrides_handler.cc | 35 return manifest_keys::kUIOverride; in name() 140 extension->GetManifestData(manifest_keys::kUIOverride)); in Get() 170 CHECK(extension->manifest()->Get(manifest_keys::kUIOverride, &dict)); in Parse() 181 manifest_keys::kUIOverride); in Parse() 186 extension->SetManifestData(manifest_keys::kUIOverride, info.release()); in Parse() 200 manifest_keys::kBookmarkUI, in Validate() 201 manifest_keys::kUIOverride))); in Validate() 220 return SingleKey(manifest_keys::kUIOverride); in Keys()
|
D | ui_overrides_handler_unittest.cc | 41 namespace manifest_keys = extensions::manifest_keys; 66 ASSERT_TRUE(extension->manifest()->HasPath(manifest_keys::kUIOverride)); in TEST_F() 69 extension->GetManifestData(manifest_keys::kUIOverride)); in TEST_F() 98 extensions::manifest_keys::kUIOverride), in TEST_F()
|
D | settings_overrides_handler.cc | 123 extension->GetManifestData(manifest_keys::kSettingsOverride)); in Get() 133 CHECK(extension->manifest()->Get(manifest_keys::kSettingsOverride, &dict)); in Parse() 146 manifest_keys::kSettingsOverride); in Parse() 178 extension->SetManifestData(manifest_keys::kSettingsOverride, in Parse() 184 return SingleKey(manifest_keys::kSettingsOverride); in Keys()
|
D | minimum_chrome_version_checker.cc | 18 namespace keys = manifest_keys;
|
/external/chromium_org/chrome/browser/chromeos/ui/ |
D | idle_app_name_notification_view_unittest.cc | 41 manifest.SetString(extensions::manifest_keys::kName, "Test"); in SetUp() 42 manifest.SetString(extensions::manifest_keys::kVersion, "1"); in SetUp() 43 manifest.SetString(extensions::manifest_keys::kDescription, "Test app"); in SetUp() 55 manifest2.SetString(extensions::manifest_keys::kName, "Test"); in SetUp() 56 manifest2.SetString(extensions::manifest_keys::kVersion, "1"); in SetUp() 57 manifest2.SetString(extensions::manifest_keys::kDescription, "Test app"); in SetUp()
|
/external/chromium_org/chrome/browser/extensions/ |
D | extension_web_ui_unittest.cc | 61 manifest.Set(manifest_keys::kName, "ext1") in TEST_F() 62 .Set(manifest_keys::kVersion, "0.1") in TEST_F() 63 .Set(std::string(manifest_keys::kChromeURLOverrides), in TEST_F() 81 manifest2.Set(manifest_keys::kName, "ext2") in TEST_F() 82 .Set(manifest_keys::kVersion, "0.1") in TEST_F() 83 .Set(std::string(manifest_keys::kChromeURLOverrides), in TEST_F()
|
D | test_extension_prefs.cc | 129 dictionary.SetString(manifest_keys::kName, name); in AddExtension() 130 dictionary.SetString(manifest_keys::kVersion, "0.1"); in AddExtension() 136 dictionary.SetString(manifest_keys::kName, name); in AddApp() 137 dictionary.SetString(manifest_keys::kVersion, "0.1"); in AddApp() 138 dictionary.SetString(manifest_keys::kApp, "true"); in AddApp() 139 dictionary.SetString(manifest_keys::kLaunchWebURL, "http://example.com"); in AddApp() 155 EXPECT_TRUE(manifest.GetString(manifest_keys::kName, &name)); in AddExtensionWithManifestAndFlags()
|
D | extension_prefs_unittest.cc | 477 manifest.SetString(manifest_keys::kName, "test"); in SetIdleInfo() 478 manifest.SetString(manifest_keys::kVersion, "1." + base::IntToString(num)); in SetIdleInfo() 589 dictionary.SetString(manifest_keys::kName, "test"); in Initialize() 590 dictionary.SetString(manifest_keys::kVersion, "0.1"); in Initialize() 591 dictionary.SetString(manifest_keys::kBackgroundPage, "background.html"); in Initialize() 599 manifest.SetString(manifest_keys::kName, "test"); in Initialize() 600 manifest.SetString(manifest_keys::kVersion, "0.2"); in Initialize() 603 manifest.Set(manifest_keys::kBackgroundScripts, scripts.release()); in Initialize() 630 EXPECT_TRUE(manifest->GetString(manifest_keys::kName, &value)); in Verify() 632 EXPECT_TRUE(manifest->GetString(manifest_keys::kVersion, &value)); in Verify() [all …]
|
D | standard_management_policy_provider_unittest.cc | 34 values.SetString(manifest_keys::kName, "test"); in CreateExtension() 35 values.SetString(manifest_keys::kVersion, "0.1"); in CreateExtension()
|
D | extension_garbage_collector_chromeos_unittest.cc | 123 manifest.SetString(manifest_keys::kName, "test"); in CreateExtension() 124 manifest.SetString(manifest_keys::kVersion, version); in CreateExtension()
|
/external/chromium_org/chrome/common/extensions/api/omnibox/ |
D | omnibox_handler.cc | 27 extension->GetManifestData(manifest_keys::kOmnibox)); in GetKeyword() 40 if (!extension->manifest()->GetDictionary(manifest_keys::kOmnibox, in Parse() 47 extension->SetManifestData(manifest_keys::kOmnibox, info.release()); in Parse() 52 return SingleKey(manifest_keys::kOmnibox); in Keys()
|
/external/chromium_org/chrome/browser/chromeos/extensions/ |
D | device_local_account_management_policy_provider_unittest.cc | 27 values->SetString(extensions::manifest_keys::kName, "test"); in CreateExtensionFromValues() 28 values->SetString(extensions::manifest_keys::kVersion, "0.1"); in CreateExtensionFromValues() 53 values.Set(extensions::manifest_keys::kApp, new base::DictionaryValue); in CreateHostedApp() 54 values.Set(extensions::manifest_keys::kWebURLs, new base::ListValue); in CreateHostedApp() 62 values.Set(extensions::manifest_keys::kApp, new base::DictionaryValue); in CreatePlatformApp() 63 values.Set(extensions::manifest_keys::kPlatformAppBackground, in CreatePlatformApp() 65 values.Set(extensions::manifest_keys::kPlatformAppBackgroundPage, in CreatePlatformApp()
|
/external/chromium_org/chrome/browser/chromeos/input_method/ |
D | component_extension_ime_manager_impl.cc | 186 if (!dict.GetString(extensions::manifest_keys::kType, &type)) in ReadEngineComponent() 190 if (!dict.GetString(extensions::manifest_keys::kId, &out->engine_id)) in ReadEngineComponent() 192 if (!dict.GetString(extensions::manifest_keys::kName, &out->display_name)) in ReadEngineComponent() 197 if (dict.Get(extensions::manifest_keys::kLanguage, &language_value)) { in ReadEngineComponent() 216 if (!dict.GetList(extensions::manifest_keys::kLayouts, &layouts)) in ReadEngineComponent() 226 if (dict.GetString(extensions::manifest_keys::kInputView, in ReadEngineComponent() 237 if (dict.GetString(extensions::manifest_keys::kOptionsPage, in ReadEngineComponent() 260 if (!manifest.GetString(extensions::manifest_keys::kDescription, in ReadExtensionInfo() 264 if (manifest.GetString(extensions::manifest_keys::kOptionsPage, in ReadExtensionInfo() 315 if (!manifest->GetList(extensions::manifest_keys::kInputComponents, in ReadComponentExtensionsInfo()
|
/external/chromium_org/extensions/common/api/sockets/ |
D | sockets_manifest_handler.cc | 21 CHECK(extension->manifest()->Get(manifest_keys::kSockets, &sockets)); in Parse() 27 extension->SetManifestData(manifest_keys::kSockets, data.release()); in Parse() 44 return SingleKey(manifest_keys::kSockets); in Keys()
|
D | sockets_manifest_data.cc | 23 extension->GetManifestData(manifest_keys::kSockets)); in Get()
|
/external/chromium_org/chrome/common/extensions/api/bluetooth/ |
D | bluetooth_manifest_handler.cc | 21 CHECK(extension->manifest()->Get(manifest_keys::kBluetooth, &bluetooth)); in Parse() 27 extension->SetManifestData(manifest_keys::kBluetooth, data.release()); in Parse() 44 return SingleKey(manifest_keys::kBluetooth); in Keys()
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
D | sync_extension_helper.cc | 290 source.SetString(extensions::manifest_keys::kName, name); in CreateExtension() 292 source.SetString(extensions::manifest_keys::kPublicKey, public_key); in CreateExtension() 293 source.SetString(extensions::manifest_keys::kVersion, "0.0.0.0"); in CreateExtension() 299 source.Set(extensions::manifest_keys::kTheme, in CreateExtension() 304 source.Set(extensions::manifest_keys::kApp, new base::DictionaryValue()); in CreateExtension() 305 source.SetString(extensions::manifest_keys::kLaunchWebURL, in CreateExtension() 309 source.Set(extensions::manifest_keys::kApp, new base::DictionaryValue()); in CreateExtension() 310 source.Set(extensions::manifest_keys::kPlatformAppBackground, in CreateExtension() 314 source.Set(extensions::manifest_keys::kPlatformAppBackgroundScripts, in CreateExtension()
|
/external/chromium_org/chrome/browser/media_galleries/ |
D | media_galleries_test_util.cc | 43 manifest->SetString(extensions::manifest_keys::kName, name); in AddMediaGalleriesApp() 44 manifest->SetString(extensions::manifest_keys::kVersion, "0.1"); in AddMediaGalleriesApp() 45 manifest->SetInteger(extensions::manifest_keys::kManifestVersion, 2); in AddMediaGalleriesApp() 49 manifest->Set(extensions::manifest_keys::kPlatformAppBackgroundScripts, in AddMediaGalleriesApp() 61 manifest->Set(extensions::manifest_keys::kPermissions, permission_list); in AddMediaGalleriesApp()
|
/external/chromium_org/chrome/common/extensions/api/system_indicator/ |
D | system_indicator_handler.cc | 26 manifest_keys::kSystemIndicator, &system_indicator_value)) { in Parse() 42 return SingleKey(manifest_keys::kSystemIndicator); in Keys()
|
/external/chromium_org/chrome/common/extensions/permissions/ |
D | settings_override_permission_unittest.cc | 31 ext_manifest.SetString(manifest_keys::kName, "test"); in GetPermissionSet() 32 ext_manifest.SetString(manifest_keys::kVersion, "0.1"); in GetPermissionSet() 33 ext_manifest.SetInteger(manifest_keys::kManifestVersion, 2); in GetPermissionSet() 57 manifest_keys::kSettingsOverride, settings_override.release()); in GetPermissionSet()
|
/external/chromium_org/chrome/common/extensions/api/extension_action/ |
D | browser_action_handler.cc | 29 manifest_keys::kBrowserAction, &dict)) { in Parse() 60 return SingleKey(manifest_keys::kBrowserAction); in Keys()
|
/external/chromium_org/extensions/browser/ |
D | admin_policy_unittest.cc | 28 values.Set(extensions::manifest_keys::kWebURLs, new base::ListValue()); in CreateHostedApp() 29 values.SetString(extensions::manifest_keys::kLaunchWebURL, in CreateHostedApp() 36 values->SetString(extensions::manifest_keys::kName, "test"); in CreateExtensionFromValues() 37 values->SetString(extensions::manifest_keys::kVersion, "0.1"); in CreateExtensionFromValues()
|
/external/chromium_org/chrome/browser/supervised_user/ |
D | supervised_user_service_unittest.cc | 194 source->SetString(extensions::manifest_keys::kName, "Theme"); in MakeThemeExtension() 195 source->Set(extensions::manifest_keys::kTheme, new base::DictionaryValue()); in MakeThemeExtension() 196 source->SetString(extensions::manifest_keys::kVersion, "1.0"); in MakeThemeExtension() 205 .Set(extensions::manifest_keys::kName, "Extension") in MakeExtension() 206 .Set(extensions::manifest_keys::kVersion, "1.0") in MakeExtension()
|
/external/chromium_org/chrome/common/extensions/api/ |
D | extension_api_unittest.cc | 458 values.SetString(manifest_keys::kName, "test"); in CreateHostedApp() 459 values.SetString(manifest_keys::kVersion, "0.1"); in CreateHostedApp() 460 values.Set(manifest_keys::kWebURLs, new base::ListValue()); in CreateHostedApp() 461 values.SetString(manifest_keys::kLaunchWebURL, in CreateHostedApp() 474 values.SetString(manifest_keys::kName, "test"); in CreatePackagedAppWithPermissions() 475 values.SetString(manifest_keys::kVersion, "0.1"); in CreatePackagedAppWithPermissions() 476 values.SetString(manifest_keys::kPlatformAppBackground, in CreatePackagedAppWithPermissions() 485 values.Set(manifest_keys::kApp, app); in CreatePackagedAppWithPermissions()
|