Home
last modified time | relevance | path

Searched refs:manifest (Results 1 – 25 of 129) sorted by relevance

123456

/external/chromium/chrome/common/extensions/
Dextension_l10n_util_unittest.cc254 DictionaryValue manifest; in TEST() local
259 extension_l10n_util::LocalizeManifest(*messages, &manifest, &error)); in TEST()
264 DictionaryValue manifest; in TEST() local
265 manifest.SetString(keys::kName, "no __MSG"); in TEST()
270 extension_l10n_util::LocalizeManifest(*messages, &manifest, &error)); in TEST()
273 ASSERT_TRUE(manifest.GetString(keys::kName, &result)); in TEST()
276 EXPECT_FALSE(manifest.HasKey(keys::kDescription)); in TEST()
282 DictionaryValue manifest; in TEST() local
283 manifest.SetString(keys::kName, "__MSG_name__"); in TEST()
288 extension_l10n_util::LocalizeManifest(*messages, &manifest, &error)); in TEST()
[all …]
Dextension_l10n_util.cc40 std::string GetDefaultLocaleFromManifest(const DictionaryValue& manifest, in GetDefaultLocaleFromManifest() argument
43 if (manifest.GetString(keys::kDefaultLocale, &default_locale)) in GetDefaultLocaleFromManifest()
52 DictionaryValue* manifest = info.extension_manifest.get(); in ShouldRelocalizeManifest() local
53 if (!manifest) in ShouldRelocalizeManifest()
56 if (!manifest->HasKey(keys::kDefaultLocale)) in ShouldRelocalizeManifest()
60 manifest->GetString(keys::kCurrentLocale, &manifest_current_locale); in ShouldRelocalizeManifest()
67 DictionaryValue* manifest, in LocalizeManifestValue() argument
70 if (!manifest->GetString(key, &result)) in LocalizeManifestValue()
76 manifest->SetString(key, result); in LocalizeManifestValue()
81 DictionaryValue* manifest, in LocalizeManifest() argument
[all …]
Dextension_messages.cc19 : manifest(other.manifest->DeepCopy()), in ExtensionMsg_Loaded_Params()
27 : manifest(new DictionaryValue()), in ExtensionMsg_Loaded_Params()
46 manifest->Set(kRendererExtensionKeys[i], temp->DeepCopy()); in ExtensionMsg_Loaded_Params()
55 Extension::Create(path, location, *manifest, Extension::NO_FLAGS, in ConvertToExtension()
132 WriteParam(m, *(p.manifest)); in Write()
138 p->manifest.reset(new DictionaryValue()); in Read()
141 ReadParam(m, iter, p->manifest.get()); in Read()
Dextension_set_unittest.cc26 DictionaryValue manifest; in CreateTestExtension() local
27 manifest.SetString("name", name); in CreateTestExtension()
28 manifest.SetString("version", "1"); in CreateTestExtension()
31 manifest.SetString("app.launch.web_url", launch_url); in CreateTestExtension()
35 manifest.Set("app.urls", urls); in CreateTestExtension()
41 Extension::Create(path, Extension::INTERNAL, manifest, in CreateTestExtension()
Dextension_l10n_util.h32 std::string GetDefaultLocaleFromManifest(const DictionaryValue& manifest,
42 DictionaryValue* manifest,
48 DictionaryValue* manifest,
/external/chromium/chrome/browser/extensions/
Dextension_special_storage_policy_unittest.cc21 DictionaryValue manifest; in CreateProtectedApp() local
22 manifest.SetString(keys::kName, "Protected"); in CreateProtectedApp()
23 manifest.SetString(keys::kVersion, "1"); in CreateProtectedApp()
24 manifest.SetString(keys::kLaunchWebURL, "http://explicit/protected/start"); in CreateProtectedApp()
28 manifest.Set(keys::kWebURLs, list); in CreateProtectedApp()
31 path, Extension::INVALID, manifest, Extension::STRICT_ERROR_CHECKS, in CreateProtectedApp()
43 DictionaryValue manifest; in CreateUnlimitedApp() local
44 manifest.SetString(keys::kName, "Unlimited"); in CreateUnlimitedApp()
45 manifest.SetString(keys::kVersion, "1"); in CreateUnlimitedApp()
46 manifest.SetString(keys::kLaunchWebURL, "http://explicit/unlimited/start"); in CreateUnlimitedApp()
[all …]
Dextension_info_map_unittest.cc39 DictionaryValue manifest; in CreateExtension() local
40 manifest.SetString(keys::kVersion, "1.0.0.0"); in CreateExtension()
41 manifest.SetString(keys::kName, name); in CreateExtension()
45 path.AppendASCII(name), Extension::INVALID, manifest, in CreateExtension()
Dextension_icon_manager_unittest.cc108 scoped_ptr<DictionaryValue> manifest( in TEST_F() local
110 ASSERT_TRUE(manifest.get() != NULL); in TEST_F()
113 manifest_path.DirName(), Extension::INVALID, *manifest.get(), in TEST_F()
Dtest_extension_prefs.cc105 const DictionaryValue& manifest, Extension::Location location) { in AddExtensionWithManifest() argument
107 EXPECT_TRUE(manifest.GetString(extension_manifest_keys::kName, &name)); in AddExtensionWithManifest()
111 path, location, manifest, Extension::STRICT_ERROR_CHECKS, &errors); in AddExtensionWithManifest()
/external/libpng/scripts/
Dmakefile.cegcc42 $(NAME): remove-old copy-src compilation copy manifest archive
56 @mkdir -p $(PACKAGE)-bin/manifest
59 @mkdir -p $(PACKAGE)-dev/manifest
60 @touch $(PACKAGE)-bin/manifest/$(PACKAGE)-bin.mft
61 @touch $(PACKAGE)-bin/manifest/$(PACKAGE)-bin.ver
62 @touch $(PACKAGE)-dev/manifest/$(PACKAGE)-dev.mft
63 @touch $(PACKAGE)-dev/manifest/$(PACKAGE)-dev.ver
84 manifest:
86 @cd $(PACKAGE)-bin && find * >> manifest/$(PACKAGE)-bin.mft
88 echo $(MANIFESTVERBIN) >> manifest/$(PACKAGE)-bin.ver && \
[all …]
/external/chromium/chrome/browser/
Dbrowsing_data_appcache_helper_unittest.cc71 GURL manifest("http://example.com/manifest.xml"); in TEST_F() local
75 helper->AddAppCache(manifest); in TEST_F()
76 helper->AddAppCache(manifest); in TEST_F()
87 EXPECT_TRUE(ContainsKey(collection, manifest.GetOrigin())); in TEST_F()
88 ASSERT_EQ(1u, collection[manifest.GetOrigin()].size()); in TEST_F()
89 EXPECT_EQ(manifest, collection[manifest.GetOrigin()].at(0).manifest_url); in TEST_F()
95 GURL manifest("http://example.com/manifest.xml"); in TEST_F() local
101 helper->AddAppCache(manifest); in TEST_F()
Dbackground_application_list_model_unittest.cc82 DictionaryValue manifest; in CreateExtension() local
83 manifest.SetString(extension_manifest_keys::kVersion, "1.0.0.0"); in CreateExtension()
84 manifest.SetString(extension_manifest_keys::kName, name); in CreateExtension()
87 manifest.Set(extension_manifest_keys::kPermissions, permissions); in CreateExtension()
92 bogus_file_path().AppendASCII(name), Extension::INVALID, manifest, in CreateExtension()
/external/zlib/src/win32/
DMakefile.msc49 if exist $@.manifest \
50 mt -nologo -manifest $@.manifest -outputresource:$@;2
54 if exist $@.manifest \
55 mt -nologo -manifest $@.manifest -outputresource:$@;1
59 if exist $@.manifest \
60 mt -nologo -manifest $@.manifest -outputresource:$@;1
64 if exist $@.manifest \
65 mt -nologo -manifest $@.manifest -outputresource:$@;1
69 if exist $@.manifest \
70 mt -nologo -manifest $@.manifest -outputresource:$@;1
[all …]
/external/webkit/Source/WebCore/loader/appcache/
DManifestParser.cpp41 bool parseManifest(const KURL& manifestURL, const char* data, int length, Manifest& manifest) in parseManifest() argument
43 ASSERT(manifest.explicitURLs.isEmpty()); in parseManifest()
44 ASSERT(manifest.onlineWhitelistedURLs.isEmpty()); in parseManifest()
45 ASSERT(manifest.fallbackURLs.isEmpty()); in parseManifest()
46 manifest.allowAllNetworkRequests = false; in parseManifest()
115 manifest.allowAllNetworkRequests = true; in parseManifest()
134 manifest.explicitURLs.add(url.string()); in parseManifest()
136 manifest.onlineWhitelistedURLs.append(url); in parseManifest()
178 manifest.fallbackURLs.append(make_pair(namespaceURL, fallbackURL)); in parseManifest()
DApplicationCache.cpp66 void ApplicationCache::setManifestResource(PassRefPtr<ApplicationCacheResource> manifest) in setManifestResource() argument
68 ASSERT(manifest); in setManifestResource()
70 ASSERT(manifest->type() & ApplicationCacheResource::Manifest); in setManifestResource()
72 m_manifest = manifest.get(); in setManifestResource()
74 addResource(manifest); in setManifestResource()
/external/chromium/chrome/browser/chromeos/
Dcustomization_document.cc84 std::string manifest; in LoadManifestFromFile() local
85 if (!file_util::ReadFileToString(manifest_path, &manifest)) in LoadManifestFromFile()
87 return LoadManifestFromString(manifest); in LoadManifestFromFile()
91 const std::string& manifest) { in LoadManifestFromString() argument
92 scoped_ptr<Value> root(base::JSONReader::Read(manifest, true)); in LoadManifestFromString()
149 SystemAccess* system_access, const std::string& manifest) { in StartupCustomizationDocument() argument
150 LoadManifestFromString(manifest); in StartupCustomizationDocument()
254 const std::string& manifest, const std::string& initial_locale) in ServicesCustomizationDocument() argument
256 LoadManifestFromString(manifest); in ServicesCustomizationDocument()
296 std::string manifest; in ReadFileInBackground() local
[all …]
Dcustomization_document.h45 virtual bool LoadManifestFromString(const std::string& manifest);
84 const std::string& manifest);
153 virtual bool LoadManifestFromString(const std::string& manifest) OVERRIDE;
167 ServicesCustomizationDocument(const std::string& manifest,
/external/proguard/src/proguard/io/
DJarWriter.java40 private final Manifest manifest; field in JarWriter
65 Manifest manifest, in JarWriter() argument
69 this.manifest = manifest; in JarWriter()
202 currentJarOutputStream = manifest != null ? in prepareEntry()
203 new JarOutputStream(parentOutputStream, manifest) : in prepareEntry()
/external/emma/core/java12/com/vladium/util/
DIPathEnumerator.java50 void handleArchiveStart (File parentDir, File archive, Manifest manifest); in handleArchiveStart() argument
223 Manifest manifest = in.getManifest (); // can be null in enumeratePathArchive() local
224 … if (manifest == null) manifest = readManifestViaJarFile (fullArchive); // can be null in enumeratePathArchive()
226 handler.handleArchiveStart (m_currentPathDir, new File (archive), manifest); in enumeratePathArchive()
245 if (manifest == null) manifest = in.getManifest (); in enumeratePathArchive()
246 if (manifest != null) in enumeratePathArchive()
248 final Attributes attributes = manifest.getMainAttributes (); in enumeratePathArchive()
/external/webkit/LayoutTests/http/tests/appcache/
Dtop-frame-4-expected.txt1 Test that a subframe with manifest that matches top frame manifest works correctly.
3 In this case, the subframe resource is listed in manifest explicitly.
Dtop-frame-3-expected.txt1 Test that a subframe with manifest that matches top frame manifest works correctly.
3 In this case, the subframe resource is NOT listed in manifest explicitly.
/external/icu4c/config/
Dmh-cygwin-msvc184 ## Starting in MSVC 2005, manifest files are required. This reduces the obnoxiousness of this featu…
185 POST_SO_BUILD_STEP = @([ -e $<.manifest ] && \
186 …( echo Embedding manifest into $< && mt.exe -nologo -manifest $<.manifest -outputresource:"$<;2" &…
188 POST_BUILD_STEP = @([ -e $@.manifest ] && \
189 …( echo Embedding manifest into $@ && mt.exe -nologo -manifest $@.manifest -outputresource:"$@;1" &…
211 # We only want to do a post-build step when a manifest file doesn't exist.
/external/webkit/Source/WebCore/html/
DHTMLHtmlElement.cpp73 const AtomicString& manifest = getAttribute(manifestAttr); in insertedByParser() local
74 if (manifest.isEmpty()) in insertedByParser()
77 …documentLoader->applicationCacheHost()->selectCacheWithManifest(document()->completeURL(manifest)); in insertedByParser()
/external/webkit/LayoutTests/http/tests/appcache/resources/
Dmanifest-containing-itself.manifest2 manifest-containing-itself.manifest
/external/dnsmasq/contrib/Solaris10/
DREADME3 Subject: Solaris 10 service manifest
10 Facility) to manage services I thought I'd create a simple service manifest
11 for the dnsmasq service. The manifest currently assumes that dnsmasq has

123456