Home
last modified time | relevance | path

Searched refs:manifest_path (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium_org/extensions/common/
Dmanifest_test.cc22 base::DictionaryValue* LoadManifestFile(const base::FilePath& manifest_path, in LoadManifestFile() argument
24 base::FilePath extension_path = manifest_path.DirName(); in LoadManifestFile()
26 EXPECT_TRUE(base::PathExists(manifest_path)) << in LoadManifestFile()
27 "Couldn't find " << manifest_path.value(); in LoadManifestFile()
29 JSONFileValueSerializer serializer(manifest_path); in LoadManifestFile()
38 manifest_path.value().find(FILE_PATH_LITERAL("localized")) != in LoadManifestFile()
84 base::FilePath manifest_path = test_data_dir.AppendASCII(name_); in GetManifest() local
85 manifest_ = LoadManifestFile(manifest_path, error); in GetManifest()
98 base::FilePath manifest_path = GetTestDataDir().AppendASCII(manifest_name); in LoadManifest() local
99 return make_scoped_ptr(LoadManifestFile(manifest_path, error)); in LoadManifest()
Dfile_util.cc165 base::FilePath manifest_path = extension_path.Append(manifest_filename); in LoadManifest() local
166 if (!base::PathExists(manifest_path)) { in LoadManifest()
171 JSONFileValueSerializer serializer(manifest_path); in LoadManifest()
Dmanifest_test.h50 base::DictionaryValue* GetManifest(base::FilePath manifest_path,
/external/chromium_org/android_webview/buildbot/
Dgenerate_local_manifest.py17 def createLocalManifest(manifest_path, local_manifest_path, path_to_exclude, argument
19 manifest_tree = ET.parse(manifest_path)
80 manifest_path = os.path.join(android_build_top, '.repo/manifests',
94 print 'Path to manifest file: %s' % manifest_path
95 createLocalManifest(manifest_path, local_manifest_path, path_to_exclude,
/external/chromium_org/chrome/browser/extensions/
Dextension_icon_manager_unittest.cc108 base::FilePath manifest_path = test_dir.AppendASCII( in TEST_F() local
111 JSONFileValueSerializer serializer(manifest_path); in TEST_F()
118 manifest_path.DirName(), Manifest::INVALID_LOCATION, *manifest.get(), in TEST_F()
150 base::FilePath manifest_path = test_dir.AppendASCII( in TEST_F() local
153 JSONFileValueSerializer serializer(manifest_path); in TEST_F()
160 manifest_path.DirName(), Manifest::COMPONENT, *manifest.get(), in TEST_F()
Dconvert_web_app.cc122 base::FilePath manifest_path = temp_dir.path().Append(kManifestFilename); in ConvertWebAppToExtension() local
123 JSONFileValueSerializer serializer(manifest_path); in ConvertWebAppToExtension()
Dconvert_user_script.cc159 base::FilePath manifest_path = temp_dir.path().Append(kManifestFilename); in ConvertUserScriptToExtension() local
160 JSONFileValueSerializer serializer(manifest_path); in ConvertUserScriptToExtension()
Dextension_ui_unittest.cc106 base::FilePath manifest_path = extension_path.Append(kManifestFilename); in CreateExtensionDetailViewFromPath() local
108 manifest_path, &error)); in CreateExtensionDetailViewFromPath()
Dapp_background_page_apitest.cc57 base::FilePath manifest_path = app_dir_.path().AppendASCII("manifest.json"); in CreateApp() local
58 int bytes_written = base::WriteFile(manifest_path, in CreateApp()
/external/chromium_org/chrome/browser/component_updater/pnacl/
Dpnacl_component_installer.cc126 base::DictionaryValue* ReadJSONManifest(const base::FilePath& manifest_path) { in ReadJSONManifest() argument
127 JSONFileValueSerializer serializer(manifest_path); in ReadJSONManifest()
139 base::FilePath manifest_path = in ReadPnaclManifest() local
141 if (!base::PathExists(manifest_path)) in ReadPnaclManifest()
143 return ReadJSONManifest(manifest_path); in ReadPnaclManifest()
149 base::FilePath manifest_path = in ReadComponentManifest() local
151 if (!base::PathExists(manifest_path)) in ReadComponentManifest()
153 return ReadJSONManifest(manifest_path); in ReadComponentManifest()
/external/chromium_org/chrome/browser/extensions/api/messaging/
Dnative_messaging_test_util.cc40 base::FilePath manifest_path = target_dir.AppendASCII(host_name + ".json"); in WriteTestNativeHostManifest() local
41 JSONFileValueSerializer serializer(manifest_path); in WriteTestNativeHostManifest()
52 manifest_key.WriteValue(NULL, manifest_path.value().c_str())); in WriteTestNativeHostManifest()
Dnative_process_launcher.cc127 base::FilePath manifest_path = in DoLaunchOnThreadPool() local
130 if (manifest_path.empty()) { in DoLaunchOnThreadPool()
138 NativeMessagingHostManifest::Load(manifest_path, &error_message); in DoLaunchOnThreadPool()
166 host_path = manifest_path.DirName().Append(host_path); in DoLaunchOnThreadPool()
Dnative_process_launcher_win.cc80 base::FilePath manifest_path(path_str); in FindManifest() local
81 if (!manifest_path.IsAbsolute()) { in FindManifest()
86 return manifest_path; in FindManifest()
/external/chromium_org/mojo/tools/package_manager/
Dpackage_manager_application.cc93 base::FilePath manifest_path = unpacker.dir().Append(kManifestFileName); in FetchSucceeded() local
96 if (!manifest.ParseFromFile(manifest_path, &err_msg)) { in FetchSucceeded()
/external/chromium_org/build/android/gyp/
Dlint.py22 def _RunLint(lint_path, config_path, processed_config_path, manifest_path, argument
110 cmd.append(_RelativizePath(os.path.join(manifest_path, os.pardir)))
193 options.manifest_path, options.result_path,
Djavac.py106 def CreateManifest(manifest_path, classpath, main_class=None): argument
136 with open(manifest_path, 'w') as f:
/external/chromium_org/components/nacl/browser/
Dnacl_host_message_filter.cc194 base::FilePath manifest_path; in LaunchNaClContinuation() local
202 &manifest_path); in LaunchNaClContinuation()
203 host->Launch(this, reply_msg, manifest_path); in LaunchNaClContinuation()
Dnacl_process_host.h95 const base::FilePath& manifest_path);
/external/chromium_org/chrome/utility/extensions/
Dunpacker.cc116 base::FilePath manifest_path = in ReadManifest() local
118 if (!base::PathExists(manifest_path)) { in ReadManifest()
123 JSONFileValueSerializer serializer(manifest_path); in ReadManifest()
/external/chromium_org/tools/telemetry/telemetry/core/
Dextension_unittest.py111 manifest_path = os.path.join(src_extension_dir, 'manifest.json')
114 shutil.copy(manifest_path, d)
/external/chromium_org/chrome/common/extensions/api/
Dextension_api_unittest.cc794 base::FilePath manifest_path; in TEST() local
795 PathService::Get(chrome::DIR_TEST_DATA, &manifest_path); in TEST()
796 manifest_path = manifest_path.AppendASCII("extensions") in TEST()
801 ASSERT_TRUE(base::ReadFileToString(manifest_path, &manifest_str)) in TEST()
802 << "Failed to load: " << manifest_path.value(); in TEST()
/external/chromium_org/tools/gyp/pylib/gyp/
Dwin_tool.py223 manifest_path, resource_path, resource_name = args
227 os.path.abspath(manifest_path).replace('\\', '/')))
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/httpfs/
Dhttp_fs.cc382 Path manifest_path(manifest_name); in LoadManifest() local
386 int error = Open(manifest_path, O_RDONLY, &manifest_node); in LoadManifest()
/external/chromium_org/chrome/test/chromedriver/
Dchrome_launcher.cc628 base::FilePath manifest_path(extension_dir.AppendASCII("manifest.json")); in ProcessExtension() local
630 if (!base::ReadFileToString(manifest_path, &manifest_data)) in ProcessExtension()
662 manifest_path, manifest_data.c_str(), manifest_data.size()) != in ProcessExtension()
/external/chromium_org/chrome/browser/chromeos/
Dcustomization_document.h62 virtual bool LoadManifestFromFile(const base::FilePath& manifest_path);

12