HomeSort by relevance Sort by last modified time
    Searched refs:manifest (Results 1 - 25 of 458) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/chrome/common/extensions/
manifest_unittest.cc 5 #include "chrome/common/extensions/manifest.h"
31 void AssertType(Manifest* manifest, Manifest::Type type) {
32 EXPECT_EQ(type, manifest->type());
33 EXPECT_EQ(type == Manifest::TYPE_THEME, manifest->is_theme());
34 EXPECT_EQ(type == Manifest::TYPE_PLATFORM_APP,
35 manifest->is_platform_app());
36 EXPECT_EQ(type == Manifest::TYPE_LEGACY_PACKAGED_APP
    [all...]
extension_l10n_util_unittest.cc 264 base::DictionaryValue manifest; local
269 extension_l10n_util::LocalizeManifest(*messages, &manifest, &error));
274 base::DictionaryValue manifest; local
275 manifest.SetString(keys::kName, "no __MSG");
280 extension_l10n_util::LocalizeManifest(*messages, &manifest, &error));
283 ASSERT_TRUE(manifest.GetString(keys::kName, &result));
286 EXPECT_FALSE(manifest.HasKey(keys::kDescription));
292 base::DictionaryValue manifest; local
293 manifest.SetString(keys::kName, "__MSG_name__");
298 extension_l10n_util::LocalizeManifest(*messages, &manifest, &error))
310 base::DictionaryValue manifest; local
327 base::DictionaryValue manifest; local
344 base::DictionaryValue manifest; local
364 base::DictionaryValue manifest; local
392 base::DictionaryValue manifest; local
417 base::DictionaryValue manifest; local
453 base::DictionaryValue manifest; local
459 base::DictionaryValue manifest; local
466 base::DictionaryValue manifest; local
474 base::DictionaryValue manifest; local
483 base::DictionaryValue manifest; local
    [all...]
  /external/chromium_org/chromeos/app_mode/
kiosk_oem_manifest_parser_unittest.cc 21 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"));
kiosk_oem_manifest_parser.cc 22 KioskOemManifestParser::Manifest::Manifest()
30 KioskOemManifestParser::Manifest* manifest) {
45 &manifest->device_requisition);
47 &manifest->keyboard_driven_oobe);
49 &manifest->enterprise_managed) ||
51 &manifest->can_exit_enrollment)) {
  /libcore/luni/src/main/java/java/util/jar/
JarOutputStream.java 31 private Manifest manifest; field in class:JarOutputStream
35 * content of the {@code Manifest} must match the JAR entry information
40 * @param manifest
41 * the {@code Manifest} to output for this JAR file.
45 public JarOutputStream(OutputStream os, Manifest manifest) throws IOException {
47 if (manifest == null) {
48 throw new NullPointerException("manifest == null");
50 this.manifest = manifest
    [all...]
  /external/chromium_org/webkit/browser/appcache/
manifest_parser_unittest.cc 18 Manifest manifest; local
19 EXPECT_FALSE(ParseManifest(url, "", 0, manifest));
20 EXPECT_FALSE(ParseManifest(url, "CACHE MANIFEST\r", 0, manifest)); // 0 len
25 Manifest manifest; local
29 "CACHE MANIFEST;V2\r", // not followed by whitespace
30 "CACHE MANIFEST#bad\r", // no whitespace before comment
31 "cache manifest ", // wrong cas
62 Manifest manifest; local
75 Manifest manifest; local
112 Manifest manifest; local
152 Manifest manifest; local
215 Manifest manifest; local
255 Manifest manifest; local
296 Manifest manifest; local
358 Manifest manifest; local
371 Manifest manifest; local
383 Manifest manifest; local
428 Manifest manifest; local
    [all...]
  /external/chromium_org/native_client_sdk/src/build_tools/sdk_tools/command/
command_common.py 5 def GetValidBundles(manifest, bundle_names):
6 valid_bundles = [bundle.name for bundle in manifest.GetBundles()]
info.py 9 def Info(manifest, bundle_names):
10 valid_bundles, invalid_bundles = command_common.GetValidBundles(manifest,
20 bundle = manifest.GetBundle(bundle_name)
  /external/chromium_org/chrome/browser/extensions/api/messaging/
native_messaging_test_util.cc 23 scoped_ptr<base::DictionaryValue> manifest(new base::DictionaryValue());
24 manifest->SetString("name", kTestNativeMessagingHostName);
25 manifest->SetString("description", "Native Messaging Echo Test");
26 manifest->SetString("type", "stdio");
37 manifest->SetString("path", host_path.AsUTF8Unsafe());
42 manifest->Set("allowed_origins", origins.release());
45 ASSERT_TRUE(serializer.Serialize(*manifest));
native_messaging_host_manifest_unittest.cc 78 scoped_ptr<NativeMessagingHostManifest> manifest = local
80 ASSERT_TRUE(manifest) << "Failed to load manifest: " << error_message;
83 EXPECT_EQ(manifest->name(), "com.chrome.test.native_host");
84 EXPECT_EQ(manifest->description(), "Native Messaging Test");
85 EXPECT_EQ(manifest->interface(),
87 EXPECT_EQ(manifest->path(), base::FilePath::FromUTF8Unsafe(kTestHostPath));
88 EXPECT_TRUE(manifest->allowed_origins().MatchesSecurityOrigin(
90 EXPECT_FALSE(manifest->allowed_origins().MatchesSecurityOrigin(
99 scoped_ptr<NativeMessagingHostManifest> manifest local
111 scoped_ptr<NativeMessagingHostManifest> manifest = local
    [all...]
  /external/chromium_org/chrome/common/extensions/manifest_tests/
extension_manifests_background_unittest.cc 33 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(), ""))
    [all...]
extension_manifests_storage_unittest.cc 23 "'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
    [all...]
extension_manifests_validapp_unittest.cc 28 scoped_ptr<base::DictionaryValue> manifest(
31 ASSERT_TRUE(manifest->GetList("permissions", &permissions));
33 LoadAndExpectSuccess(Manifest(manifest.get(), ""));
  /external/chromium_org/chrome/common/extensions/manifest_handlers/
shared_module_manifest_unittest.cc 30 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();
45 Manifest manifest("shared_module_export_foo.json");
47 scoped_refptr<Extension> extension = LoadAndExpectSuccess(manifest);
    [all...]
  /external/chromium_org/chrome/browser/component_updater/test/
component_installers_unittest.cc 63 base::FilePath manifest; local
64 PathService::Get(chrome::DIR_TEST_DATA, &manifest);
65 manifest = manifest.Append(kDataPath);
66 manifest = manifest.AppendASCII("manifest.json");
68 if (!base::PathExists(manifest)) {
69 LOG(WARNING) << "No test manifest available. Skipping.";
73 JSONFileValueSerializer serializer(manifest);
    [all...]
  /external/chromium_org/native_client_sdk/src/web/
update.sh 2 for file in index.html manifest.html; do
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLHtmlElement.idl 22 [Reflect, URL] attribute DOMString manifest;
HTMLHtmlElement.cpp 74 const AtomicString& manifest = getAttribute(manifestAttr); local
75 if (manifest.isEmpty())
78 documentLoader->applicationCacheHost()->selectCacheWithManifest(document()->completeURL(manifest));
  /development/testrunner/
android_manifest.py 21 http://developer.android.com/guide/topics/manifest/manifest-intro.html
40 """Retrieve file system path to this manifest file's directory."""
44 """Retrieve package name defined at <manifest package="...">.
49 manifest = self._GetManifestElement()
50 if not manifest or not manifest.hasAttribute('package'):
52 return manifest.getAttribute('package')
68 """Adds a uses-sdk element to manifest.
73 manifest = self._GetManifestElement(
    [all...]
  /external/chromium_org/chrome/browser/component_updater/
flash_component_installer.h 21 // manifest, with the version specified in the manifest in |version_out|.
22 bool CheckPepperFlashManifest(const base::DictionaryValue& manifest,
  /external/chromium_org/chrome/browser/extensions/
component_loader_unittest.cc 90 // Read in the extension manifest.
111 // The contents of the text extension's manifest file.
122 scoped_ptr<DictionaryValue> manifest; local
125 manifest.reset(
127 EXPECT_FALSE(manifest.get());
132 manifest.reset(component_loader_.ParseManifest(std::string()));
133 EXPECT_FALSE(manifest.get());
135 manifest.reset(component_loader_.ParseManifest("[{ \"foo\": 3 }]"));
136 EXPECT_FALSE(manifest.get());
138 manifest.reset(component_loader_.ParseManifest("\"Test\""))
    [all...]
  /external/chromium/chrome/common/extensions/
extension_l10n_util_unittest.cc 254 DictionaryValue manifest; local
259 extension_l10n_util::LocalizeManifest(*messages, &manifest, &error));
264 DictionaryValue manifest; local
265 manifest.SetString(keys::kName, "no __MSG");
270 extension_l10n_util::LocalizeManifest(*messages, &manifest, &error));
273 ASSERT_TRUE(manifest.GetString(keys::kName, &result));
276 EXPECT_FALSE(manifest.HasKey(keys::kDescription));
282 DictionaryValue manifest; local
283 manifest.SetString(keys::kName, "__MSG_name__");
288 extension_l10n_util::LocalizeManifest(*messages, &manifest, &error))
300 DictionaryValue manifest; local
320 DictionaryValue manifest; local
348 DictionaryValue manifest; local
373 DictionaryValue manifest; local
411 DictionaryValue manifest; local
419 DictionaryValue manifest; local
429 DictionaryValue manifest; local
440 DictionaryValue manifest; local
452 DictionaryValue manifest; local
    [all...]
  /external/chromium/chrome/browser/
browsing_data_appcache_helper_unittest.cc 36 GURL manifest1("http://example1.com/manifest.xml");
37 GURL manifest2("http://example2.com/path1/manifest.xml");
38 GURL manifest3("http://example2.com/path2/manifest.xml");
71 GURL manifest("http://example.com/manifest.xml");
75 helper->AddAppCache(manifest);
76 helper->AddAppCache(manifest);
87 EXPECT_TRUE(ContainsKey(collection, manifest.GetOrigin()));
88 ASSERT_EQ(1u, collection[manifest.GetOrigin()].size());
89 EXPECT_EQ(manifest, collection[manifest.GetOrigin()].at(0).manifest_url)
    [all...]
  /external/chromium_org/chrome/common/extensions/api/identity/
extension_manifests_auth_unittest.cc 104 // 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);
    [all...]
  /external/chromium/chrome/browser/extensions/
extension_special_storage_policy_unittest.cc 21 DictionaryValue manifest; local
22 manifest.SetString(keys::kName, "Protected");
23 manifest.SetString(keys::kVersion, "1");
24 manifest.SetString(keys::kLaunchWebURL, "http://explicit/protected/start");
28 manifest.Set(keys::kWebURLs, list);
31 path, Extension::INVALID, manifest, Extension::STRICT_ERROR_CHECKS,
43 DictionaryValue manifest; local
44 manifest.SetString(keys::kName, "Unlimited");
45 manifest.SetString(keys::kVersion, "1");
46 manifest.SetString(keys::kLaunchWebURL, "http://explicit/unlimited/start")
68 DictionaryValue manifest; local
95 DictionaryValue manifest; local
    [all...]

Completed in 1200 milliseconds

1 2 3 4 5 6 7 8 91011>>