Searched refs:manifest (Results 1 - 25 of 310) sorted by relevance

1234567891011>>

/external/chromium_org/chromeos/app_mode/
H A Dkiosk_oem_manifest_parser_unittest.cc21 KioskOemManifestParser::Manifest manifest; local
22 EXPECT_TRUE(KioskOemManifestParser::Load(kiosk_oem_file, &manifest));
23 EXPECT_TRUE(manifest.enterprise_managed);
24 EXPECT_FALSE(manifest.can_exit_enrollment);
25 EXPECT_TRUE(manifest.keyboard_driven_oobe);
26 EXPECT_EQ(manifest.device_requisition, std::string("test"));
H A Dkiosk_oem_manifest_parser.cc30 KioskOemManifestParser::Manifest* manifest) {
45 &manifest->device_requisition);
47 &manifest->keyboard_driven_oobe);
49 &manifest->enterprise_managed) ||
51 &manifest->can_exit_enrollment)) {
28 Load( const base::FilePath& kiosk_oem_file, KioskOemManifestParser::Manifest* manifest) argument
/external/chromium_org/native_client_sdk/src/build_tools/sdk_tools/command/
H A Dcommand_common.py5 def GetValidBundles(manifest, bundle_names):
6 valid_bundles = [bundle.name for bundle in manifest.GetBundles()]
H A Dinfo.py9 def Info(manifest, bundle_names):
10 valid_bundles, invalid_bundles = command_common.GetValidBundles(manifest,
20 bundle = manifest.GetBundle(bundle_name)
/external/chromium_org/chrome/common/extensions/
H A Dmanifest_unittest.cc5 #include "extensions/common/manifest.h"
31 void AssertType(Manifest* manifest, Manifest::Type type) { argument
32 EXPECT_EQ(type, manifest->type());
33 EXPECT_EQ(type == Manifest::TYPE_THEME, manifest->is_theme());
35 manifest->is_platform_app());
37 manifest->is_legacy_packaged_app());
38 EXPECT_EQ(type == Manifest::TYPE_HOSTED_APP, manifest->is_hosted_app());
40 manifest->is_shared_module());
43 // Helper function that replaces the Manifest held by |manifest| with a copy
46 void MutateManifest(scoped_ptr<Manifest>* manifest, argument
[all...]
/external/chromium_org/content/browser/appcache/
H A Dmanifest_parser_unittest.cc26 Manifest manifest; local
28 PARSE_MANIFEST_ALLOWING_INTERCEPTS, manifest));
30 PARSE_MANIFEST_ALLOWING_INTERCEPTS, manifest));
35 Manifest manifest; local
41 "cache manifest ", // wrong case
51 PARSE_MANIFEST_ALLOWING_INTERCEPTS, manifest));
69 PARSE_MANIFEST_ALLOWING_INTERCEPTS, manifest));
74 Manifest manifest; local
80 PARSE_MANIFEST_ALLOWING_INTERCEPTS, manifest));
81 EXPECT_TRUE(manifest
88 Manifest manifest; local
144 Manifest manifest; local
185 Manifest manifest; local
249 Manifest manifest; local
290 Manifest manifest; local
342 Manifest manifest; local
405 Manifest manifest; local
418 Manifest manifest; local
431 Manifest manifest; local
477 Manifest manifest; local
[all...]
/external/chromium_org/chrome/common/extensions/manifest_tests/
H A Dextension_manifests_background_unittest.cc33 scoped_ptr<base::DictionaryValue> manifest(
35 ASSERT_TRUE(manifest.get());
38 LoadAndExpectSuccess(Manifest(manifest.get(), "")));
51 manifest->SetString("background_page", "monkey.html");
52 LoadAndExpectError(Manifest(manifest.get(), ""),
65 scoped_ptr<base::DictionaryValue> manifest(
67 ASSERT_TRUE(manifest.get());
68 extension = LoadAndExpectSuccess(Manifest(manifest.get(), ""));
73 manifest->SetInteger(keys::kManifestVersion, 2);
75 Manifest(manifest
[all...]
H A Dextension_manifests_storage_unittest.cc23 "'storage' requires manifest version of at least 2.";
25 // Extension with no manifest version cannot use storage API.
27 Manifest manifest(&base_manifest, "test");
28 LoadAndExpectWarning(manifest, kManifestVersionError);
31 // Extension with manifest version 1 cannot use storage API.
37 Manifest manifest(&manifest_with_version, "test");
38 LoadAndExpectWarning(manifest, kManifestVersionError);
41 // Extension with manifest version 2 *can* use storage API.
47 Manifest manifest(&manifest_with_version, "test");
49 LoadAndExpectSuccess(manifest);
[all...]
H A Dextension_manifests_validapp_unittest.cc28 scoped_ptr<base::DictionaryValue> manifest(
31 ASSERT_TRUE(manifest->GetList("permissions", &permissions));
33 LoadAndExpectSuccess(Manifest(manifest.get(), ""));
/external/chromium_org/extensions/common/manifest_handlers/
H A Dshared_module_manifest_unittest.cc30 Manifest manifest("shared_module_export.json");
32 scoped_refptr<Extension> extension = LoadAndExpectSuccess(manifest);
35 << manifest.name();
37 << manifest.name();
39 << manifest.name();
41 << manifest.name();
44 kImportId1)) << manifest.name();
46 kImportId2)) << manifest.name();
48 kNoImport)) << manifest.name();
52 Manifest manifest("shared_module_export_no_whitelis
[all...]
H A Dkiosk_mode_info.cc48 const Manifest* manifest = extension->manifest(); local
49 DCHECK(manifest->HasKey(keys::kKioskEnabled) ||
50 manifest->HasKey(keys::kKioskOnly));
53 if (manifest->HasKey(keys::kKioskEnabled) &&
54 !manifest->GetBoolean(keys::kKioskEnabled, &kiosk_enabled)) {
60 if (manifest->HasKey(keys::kKioskOnly) &&
61 !manifest->GetBoolean(keys::kKioskOnly, &kiosk_only)) {
72 // All other use cases should be already filtered out by manifest feature
/external/chromium_org/chrome/browser/component_updater/test/
H A Dcomponent_installers_unittest.cc65 base::FilePath manifest; local
66 PathService::Get(chrome::DIR_TEST_DATA, &manifest);
67 manifest = manifest.Append(kDataPath);
68 manifest = manifest.AppendASCII("manifest.json");
70 if (!base::PathExists(manifest)) {
71 LOG(WARNING) << "No test manifest available. Skipping.";
75 JSONFileValueSerializer serializer(manifest);
[all...]
H A Dupdate_response_unittest.cc21 " <manifest version='1.2.3.4' prodversionmin='2.0.143.0'>"
25 " </manifest>"
38 " <manifest version='1.2.3.4' prodversionmin='2.0.143.0'>"
42 " </manifest>"
55 " <manifest version='1.2.3.4' prodversionmin='2.0.143.0'>"
64 " </manifest>"
77 " <manifest version='1.2.3.4' prodversionmin='2.0.143.0'>"
81 " </manifest>"
131 " <g:manifest version='1.2.3.4' prodversionmin='2.0.143.0'>"
135 " </g:manifest>"
[all...]
/external/chromium_org/native_client_sdk/src/web/
H A Dupdate.sh2 for file in index.html manifest.html; do
/external/chromium_org/chrome/browser/resources/extensions/
H A Dextension_loader.js41 * The element which displays the manifest code.
46 this.querySelector('#extension-load-error-manifest'));
64 * @param {string} manifest The manifest object, with highlighted regions.
66 show: function(path, reason, manifest) {
70 manifest.message = reason;
72 manifest,
117 * @param {Object} manifest An object with three strings: beforeHighlight,
123 notifyFailed: function(filePath, reason, manifest) {
124 this.loadError_.show(filePath, reason, manifest);
[all...]
/external/chromium_org/tools/gyp/test/win/
H A Dgyptest-link-update-manifest.py8 Make sure binary is relinked when manifest settings are changed.
38 """Reads manifest from |path| and returns it as a string.
39 Returns None is there is no such manifest."""
75 gypfile = 'update-manifest.gyp'
89 manifest = WriteAndUpdate(0, '', True) variable
90 test.fail_test('asInvoker' not in manifest)
91 test.fail_test('35138b9a-5d96-4fbd-8e2d-a2440225f93a' in manifest)
97 # But make sure that changing a manifest property does cause a relink.
98 manifest = WriteAndUpdate(2, '', True) variable
99 test.fail_test('requireAdministrator' not in manifest)
102 manifest = WriteAndUpdate(2, 'extra.manifest', True) variable
[all...]
H A Dgyptest-link-generate-manifest.py8 Make sure we generate a manifest file when linking binaries, including
38 """Reads manifest from |path| and returns it as a string.
39 Returns None is there is no such manifest."""
52 test.run_gyp('generate-manifest.gyp', chdir=CHDIR)
53 test.build('generate-manifest.gyp', test.ALL, chdir=CHDIR)
55 # Make sure that generation of .generated.manifest does not cause a relink.
56 test.run_gyp('generate-manifest.gyp', chdir=CHDIR)
57 test.up_to_date('generate-manifest.gyp', test.ALL, chdir=CHDIR)
63 test.must_not_exist(exe_file + '.manifest')
64 manifest
[all...]
H A Dgyptest-link-enable-uac.py8 Verifies that embedding UAC information into the manifest works.
39 """Reads manifest from |path| and returns it as a string.
40 Returns None is there is no such manifest."""
55 # The following binaries must contain a manifest embedded.
65 manifest = parseString(extract_manifest( variable
67 execution_level = manifest.getElementsByTagName('requestedExecutionLevel')
77 manifest = parseString(extract_manifest( variable
79 execution_level = manifest.getElementsByTagName('requestedExecutionLevel')
84 manifest = parseString(extract_manifest( variable
86 execution_level = manifest
[all...]
/external/chromium_org/chrome/browser/extensions/api/messaging/
H A Dnative_messaging_host_manifest_unittest.cc76 scoped_ptr<NativeMessagingHostManifest> manifest = local
78 ASSERT_TRUE(manifest) << "Failed to load manifest: " << error_message;
81 EXPECT_EQ(manifest->name(), "com.chrome.test.native_host");
82 EXPECT_EQ(manifest->description(), "Native Messaging Test");
83 EXPECT_EQ(manifest->interface(),
85 EXPECT_EQ(manifest->path(), base::FilePath::FromUTF8Unsafe(kTestHostPath));
86 EXPECT_TRUE(manifest->allowed_origins().MatchesSecurityOrigin(
88 EXPECT_FALSE(manifest->allowed_origins().MatchesSecurityOrigin(
97 scoped_ptr<NativeMessagingHostManifest> manifest local
109 scoped_ptr<NativeMessagingHostManifest> manifest = local
[all...]
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLHtmlElement.cpp65 const AtomicString& manifest = fastGetAttribute(manifestAttr); local
66 if (manifest.isEmpty())
69 documentLoader->applicationCacheHost()->selectCacheWithManifest(document().completeURL(manifest));
/external/chromium_org/extensions/common/
H A Dextension_l10n_util_unittest.cc44 base::DictionaryValue manifest; local
45 manifest.SetString(keys::kDefaultLocale, "en");
48 temp.path(), &manifest, &error));
292 base::DictionaryValue manifest; local
297 extension_l10n_util::LocalizeManifest(*messages, &manifest, &error));
302 base::DictionaryValue manifest; local
303 manifest.SetString(keys::kName, "no __MSG");
308 extension_l10n_util::LocalizeManifest(*messages, &manifest, &error));
311 ASSERT_TRUE(manifest.GetString(keys::kName, &result));
314 EXPECT_FALSE(manifest
320 base::DictionaryValue manifest; local
338 base::DictionaryValue manifest; local
355 base::DictionaryValue manifest; local
372 base::DictionaryValue manifest; local
392 base::DictionaryValue manifest; local
420 base::DictionaryValue manifest; local
445 base::DictionaryValue manifest; local
475 base::DictionaryValue manifest; local
517 base::DictionaryValue manifest; local
534 base::DictionaryValue manifest; local
551 base::DictionaryValue manifest; local
616 base::DictionaryValue manifest; local
622 base::DictionaryValue manifest; local
629 base::DictionaryValue manifest; local
637 base::DictionaryValue manifest; local
646 base::DictionaryValue manifest; local
[all...]
H A Dextension_l10n_util.cc60 // Localizes manifest value of string type for a given key.
63 base::DictionaryValue* manifest,
66 if (!manifest->GetString(key, &result))
72 manifest->SetString(key, result);
76 // Localizes manifest value of list type for a given key.
79 base::DictionaryValue* manifest,
82 if (!manifest->GetList(key, &list))
111 std::string GetDefaultLocaleFromManifest(const base::DictionaryValue& manifest, argument
114 if (manifest.GetString(keys::kDefaultLocale, &default_locale))
121 bool ShouldRelocalizeManifest(const base::DictionaryValue* manifest) { argument
61 LocalizeManifestValue(const std::string& key, const extensions::MessageBundle& messages, base::DictionaryValue* manifest, std::string* error) argument
77 LocalizeManifestListValue(const std::string& key, const extensions::MessageBundle& messages, base::DictionaryValue* manifest, std::string* error) argument
133 LocalizeManifest(const extensions::MessageBundle& messages, base::DictionaryValue* manifest, std::string* error) argument
258 LocalizeExtension(const base::FilePath& extension_path, base::DictionaryValue* manifest, std::string* error) argument
395 ValidateExtensionLocales(const base::FilePath& extension_path, const base::DictionaryValue* manifest, std::string* error) argument
[all...]
/external/jarjar/
H A Dbuild.gradle25 manifest.from file('manifest.txt')
/external/chromium_org/chrome/browser/extensions/
H A Dcomponent_loader_unittest.cc100 // Read in the extension manifest.
122 // The contents of the text extension's manifest file.
135 scoped_ptr<base::DictionaryValue> manifest; local
138 manifest.reset(
140 EXPECT_FALSE(manifest.get());
145 manifest.reset(component_loader_.ParseManifest(std::string()));
146 EXPECT_FALSE(manifest.get());
148 manifest.reset(component_loader_.ParseManifest("[{ \"foo\": 3 }]"));
149 EXPECT_FALSE(manifest.get());
151 manifest
[all...]
/external/chromium_org/chrome/common/extensions/api/identity/
H A Dextension_manifests_auth_unittest.cc104 // Lack of "app" section representa an extension. So the base manifest
110 Manifest manifest(&ext_manifest, "test");
112 LoadAndExpectSuccess(manifest);
127 Manifest manifest(&app_manifest, "test");
129 LoadAndExpectSuccess(manifest);
144 Manifest manifest(&app_manifest, "test");
146 LoadAndExpectSuccess(manifest);
162 Manifest manifest(ext_manifest, "test");
164 LoadAndExpectSuccess(manifest);
172 Manifest manifest(ext_manifes
[all...]

Completed in 603 milliseconds

1234567891011>>