Searched refs:manifest (Results 51 - 75 of 372) sorted by relevance

1234567891011>>

/external/chromium_org/components/component_updater/
H A Ddefault_component_installer.h52 virtual bool OnCustomInstall(const base::DictionaryValue& manifest,
64 // |manifest| is the manifest for this version of the component.
67 scoped_ptr<base::DictionaryValue> manifest) = 0;
93 virtual bool Install(const base::DictionaryValue& manifest,
102 bool InstallHelper(const base::DictionaryValue& manifest,
H A Dupdate_response.cc134 result->manifest.packages.push_back(p);
139 // Parses the <manifest> tag.
140 bool ParseManifestTag(xmlNode* manifest, argument
144 result->manifest.version = GetAttribute(manifest, "version");
145 if (result->manifest.version.empty()) {
146 *error = "Missing version for manifest.";
149 Version version(result->manifest.version);
152 *error += result->manifest.version;
158 result->manifest
[all...]
/external/chromium_org/content/browser/appcache/
H A Dappcache_manifest_parser.h68 AppCacheManifest& manifest);
H A Dappcache_manifest_parser.cc81 ParseMode parse_mode, AppCacheManifest& manifest) {
94 DCHECK(manifest.explicit_urls.empty());
95 DCHECK(manifest.fallback_namespaces.empty());
96 DCHECK(manifest.online_whitelist_namespaces.empty());
97 DCHECK(!manifest.online_whitelist_all);
98 DCHECK(!manifest.did_ignore_intercept_namespaces);
183 manifest.online_whitelist_all = true;
204 // Scheme component must be the same as the manifest URL's.
218 manifest.explicit_urls.insert(url.spec());
221 manifest
80 ParseManifest(const GURL& manifest_url, const char* data, int length, ParseMode parse_mode, AppCacheManifest& manifest) argument
[all...]
/external/chromium_org/chrome/browser/extensions/
H A Dchrome_component_extension_resource_manager_unittest.cc15 #include "extensions/common/manifest.h"
39 // Load the manifest data.
41 scoped_ptr<base::DictionaryValue> manifest(file_util::LoadManifest(
43 ASSERT_TRUE(manifest.get()) << error;
54 *manifest,
H A Dtest_extension_environment.cc71 scoped_ptr<base::DictionaryValue> manifest = DictionaryBuilder() local
78 manifest->MergeDictionary(manifest_extra_dict);
86 ExtensionBuilder().SetManifest(manifest.Pass()).Build();
H A Dextension_icon_manager_unittest.cc112 scoped_ptr<base::DictionaryValue> manifest(
114 ASSERT_TRUE(manifest.get() != NULL);
118 manifest_path.DirName(), Manifest::INVALID_LOCATION, *manifest.get(),
154 scoped_ptr<base::DictionaryValue> manifest(
156 ASSERT_TRUE(manifest.get() != NULL);
160 manifest_path.DirName(), Manifest::COMPONENT, *manifest.get(),
/external/chromium_org/chrome/browser/resources/extensions/
H A Dextension_loader.js24 * @param {ExtensionHighlight} manifest Three 'highlight' strings in
25 * |manifest| represent three portions of the file's content to display -
34 function Failure(filePath, error, manifest, listElement) {
37 this.manifest = manifest;
65 * The element which displays the manifest code.
70 this.querySelector('#extension-load-error-manifest'));
121 failure.manifest,
148 * Display the load error to the user. The last failure gets its manifest
159 failure.manifest
[all...]
/external/chromium_org/chrome/common/extensions/manifest_tests/
H A Dextension_manifests_manifest_version_unittest.cc29 base::DictionaryValue* manifest; member in struct:__anon5663
46 ManifestData(test_data[i].manifest,
52 LoadAndExpectSuccess(ManifestData(test_data[i].manifest,
/external/chromium_org/chrome/browser/chromeos/input_method/
H A Dcomponent_extension_ime_manager_impl.cc246 const std::string& manifest,
254 GetComponentLoader(profile)->Add(manifest, file_path);
264 const std::string* manifest,
268 DoLoadExtension(profile, *extension_id, *manifest, *file_path);
288 const std::string& manifest,
293 DoLoadExtension(profile, extension_id, manifest, file_path);
309 base::Owned(new std::string(manifest)),
325 scoped_ptr<base::Value> manifest(serializer.Deserialize(NULL, &error));
326 if (!manifest.get())
327 LOG(ERROR) << "Failed at getting manifest";
244 DoLoadExtension(Profile* profile, const std::string& extension_id, const std::string& manifest, const base::FilePath& file_path) argument
262 OnFilePathChecked(Profile* profile, const std::string* extension_id, const std::string* manifest, const base::FilePath* file_path, bool result) argument
286 Load(Profile* profile, const std::string& extension_id, const std::string& manifest, const base::FilePath& file_path) argument
422 ReadExtensionInfo( const base::DictionaryValue& manifest, const std::string& extension_id, ComponentExtensionIME* out) argument
460 scoped_ptr<base::DictionaryValue> manifest = local
[all...]
/external/chromium_org/chrome/common/extensions/
H A Dsync_type_unittest.cc10 #include "extensions/common/manifest.h"
177 base::DictionaryValue manifest; local
178 manifest.SetString(keys::kName, "TestComponentApp");
179 manifest.SetString(keys::kVersion, "0.0.0.0");
180 manifest.SetString(keys::kApp, "true");
181 manifest.SetString(keys::kPlatformAppBackgroundPage, std::string());
188 base::FilePath(), Manifest::COMPONENT, manifest, 0, &error);
194 manifest.SetBoolean(keys::kDisplayInLauncher, false);
196 base::FilePath(), Manifest::COMPONENT, manifest, 0, &error);
202 manifest
[all...]
/external/chromium_org/chrome/common/extensions/manifest_handlers/
H A Dui_overrides_handler_unittest.cc53 std::string manifest(kManifest);
54 JSONStringValueSerializer json(&manifest);
66 ASSERT_TRUE(extension->manifest()->HasPath(manifest_keys::kUIOverride));
82 std::string manifest(kBrokenManifest);
83 JSONStringValueSerializer json(&manifest);
/external/chromium_org/native_client_sdk/src/build_tools/
H A Dupdate_sdktools.py16 any changes. Instead it modifies the manifest file in cloud storage."""
83 def UpdateManifest(manifest, revision):
84 sdk_tools_bundle = GetBundleByName(manifest['bundles'], 'sdk_tools')
94 manifest = JsonLoadFromString(manifest_string)
95 UpdateManifest(manifest, revision)
96 new_manifest_string = DictToJSON(manifest)
/external/chromium_org/third_party/icu/source/config/
H A Dmh-cygwin-msvc184 ## Starting in MSVC 2005, manifest files are required. This reduces the obnoxiousness of this feature.
185 POST_SO_BUILD_STEP = @([ -e $<.manifest ] && \
186 ( echo Embedding manifest into $< && mt.exe -nologo -manifest $<.manifest -outputresource:"$<;2" && rm -rf $<.manifest )) \
188 POST_BUILD_STEP = @([ -e $@.manifest ] && \
189 ( echo Embedding manifest into $@ && mt.exe -nologo -manifest $@.manifest
[all...]
/external/icu/icu4c/source/config/
H A Dmh-cygwin-msvc184 ## Starting in MSVC 2005, manifest files are required. This reduces the obnoxiousness of this feature.
185 POST_SO_BUILD_STEP = @([ -e $<.manifest ] && \
186 ( echo Embedding manifest into $< && mt.exe -nologo -manifest $<.manifest -outputresource:"$<;2" && rm -rf $<.manifest )) \
188 POST_BUILD_STEP = @([ -e $@.manifest ] && \
189 ( echo Embedding manifest into $@ && mt.exe -nologo -manifest $@.manifest
[all...]
/external/chromium_org/native_client_sdk/src/build_tools/tests/
H A Dsdktools_test.py49 self.manifest = self._ReadCacheManifest()
50 self.sdk_tools_bundle = self.manifest.GetBundle('sdk_tools')
60 manifest = manifest_util.SDKManifest()
61 manifest.LoadDataFromString(open(manifest_filename, 'r').read())
62 return manifest.GetBundle('sdk_tools').revision
69 def _WriteCacheManifest(self, manifest):
70 """Write the manifest at nacl_sdk/sdk_cache.
76 stream.write(manifest.GetDataAsString())
79 """Read the manifest at nacl_sdk/sdk_cache."""
81 manifest
[all...]
H A Dupdate_nacl_manifest_test.py195 # add .json manifest snippet, it should look like a normal Bundle, but
205 def __init__(self, manifest, history, files):
206 self.manifest = manifest
214 return self.manifest
301 self.manifest = None
304 self.delegate = TestDelegate(self.manifest, self.history.history,
325 # Bundles that we create in the test (and in the manifest snippets) have
342 self.manifest = MakeManifest(B18_0_1025_163_MLW)
348 self.manifest
[all...]
/external/chromium_org/chrome/browser/component_updater/
H A Drecovery_component_installer.cc61 virtual bool Install(const base::DictionaryValue& manifest,
105 bool RecoveryComponentInstaller::Install(const base::DictionaryValue& manifest, argument
108 manifest.GetStringASCII("name", &name);
112 manifest.GetStringASCII("version", &proposed_version);
142 if (manifest.GetStringASCII("x-recovery-args", &arguments))
145 if (manifest.GetStringASCII("x-recovery-add-version", &add_version)) {
/external/chromium_org/extensions/browser/api/storage/
H A Dsettings_test_util.cc70 base::DictionaryValue manifest; local
71 manifest.SetString("name", std::string("Test extension ") + id);
72 manifest.SetString("version", "1.0");
79 manifest.Set("permissions", permissions.release());
90 manifest.Set("app", app);
102 manifest, local
/external/chromium_org/extensions/common/
H A Dextension_set_unittest.cc28 base::DictionaryValue manifest; local
29 manifest.SetString("name", name);
30 manifest.SetString("version", "1");
33 manifest.SetString("app.launch.web_url", launch_url);
37 manifest.Set("app.urls", urls);
43 Extension::Create(path, Manifest::INTERNAL, manifest,
H A Dmanifest_test.h12 #include "extensions/common/manifest.h"
21 // Base class for tests that parse a manifest file.
29 // to a manifest or the manifest itself.
33 ManifestData(base::DictionaryValue* manifest, const char* name);
34 explicit ManifestData(scoped_ptr<base::DictionaryValue> manifest);
59 // Returns the path in which to find test manifest data files, for example
68 const ManifestData& manifest,
75 const ManifestData& manifest,
87 const ManifestData& manifest,
[all...]
/external/chromium_org/components/component_updater/test/
H A Dtest_installer.cc22 bool TestInstaller::Install(const base::DictionaryValue& manifest, argument
62 bool VersionedTestInstaller::Install(const base::DictionaryValue& manifest, argument
65 manifest.GetStringASCII("version", &version_string);
/external/chromium_org/chrome/browser/component_updater/test/
H A Dcld_component_installer_unittest.cc86 const base::DictionaryValue manifest; local
89 ASSERT_TRUE(traits_.OnCustomInstall(manifest, install_dir));
115 scoped_ptr<base::DictionaryValue> manifest; local
118 traits_.ComponentReady(version, install_dir, manifest.Pass());
/external/chromium_org/chrome/common/extensions/api/system_indicator/
H A Dsystem_indicator_handler.cc25 if (!extension->manifest()->GetDictionary(
/external/chromium_org/chromeos/ime/
H A Dmock_component_extension_ime_manager_delegate.cc28 const std::string& manifest,
26 Load(Profile* profile, const std::string& extension_id, const std::string& manifest, const base::FilePath& path) argument

Completed in 1298 milliseconds

1234567891011>>