Home
last modified time | relevance | path

Searched refs:crx_path (Results 1 – 17 of 17) sorted by relevance

/external/chromium/chrome/browser/extensions/
Dextension_browsertest.cc135 FilePath crx_path = temp_dir_.path().AppendASCII("temp.crx"); in PackExtension() local
136 if (!file_util::Delete(crx_path, false)) { in PackExtension()
137 ADD_FAILURE() << "Failed to delete crx: " << crx_path.value(); in PackExtension()
141 FilePath pem_path = crx_path.DirName().AppendASCII("temp.pem"); in PackExtension()
154 crx_path, in PackExtension()
161 if (!file_util::PathExists(crx_path)) { in PackExtension()
162 ADD_FAILURE() << crx_path.value() << " was not created."; in PackExtension()
165 return crx_path; in PackExtension()
231 FilePath crx_path = path; in InstallOrUpdateExtension() local
232 if (crx_path.Extension() != FILE_PATH_LITERAL(".crx")) { in InstallOrUpdateExtension()
[all …]
Dsandboxed_extension_unpacker_unittest.cc83 FilePath crx_path = temp_dir_.path().AppendASCII(crx_name); in SetupUnpacker() local
84 ASSERT_TRUE(file_util::CopyFile(original_path, crx_path)) << in SetupUnpacker()
86 ", Crx path: " << crx_path.value(); in SetupUnpacker()
88 unpacker_.reset(new ExtensionUnpacker(crx_path)); in SetupUnpacker()
96 new SandboxedExtensionUnpacker(crx_path, NULL, client_); in SetupUnpacker()
Dextension_creator.cc191 const FilePath& crx_path) { in WriteCRX() argument
192 if (file_util::PathExists(crx_path)) in WriteCRX()
193 file_util::Delete(crx_path, false); in WriteCRX()
194 ScopedStdioHandle crx_handle(file_util::OpenFile(crx_path, "wb")); in WriteCRX()
239 const FilePath& crx_path, in Run() argument
267 WriteCRX(zip_path, key_pair.get(), signature, crx_path)) { in Run()
Dextension_creator.h30 const FilePath& crx_path,
67 const FilePath& crx_path);
Dcrx_installer_browsertest.cc61 FilePath crx_path = test_data_dir_.AppendASCII(crx_relpath); in DidWhitelistInstallPrompt() local
62 installer->InstallCrx(crx_path); in DidWhitelistInstallPrompt()
Dextensions_startup.cc21 const FilePath& crx_path, in OnPackSuccess() argument
27 crx_path, output_private_key_path))); in OnPackSuccess()
Dextension_service_unittest.cc279 FilePath crx_path; in OnExternalExtensionFileFound() local
542 FilePath crx_path; in PackAndInstallCrx() local
545 crx_path = temp_dir_.path().AppendASCII("temp.crx"); in PackAndInstallCrx()
550 pem_output_path = crx_path.DirName().AppendASCII("temp.pem"); in PackAndInstallCrx()
556 ASSERT_TRUE(file_util::Delete(crx_path, false)); in PackAndInstallCrx()
560 crx_path, in PackAndInstallCrx()
564 ASSERT_TRUE(file_util::PathExists(crx_path)); in PackAndInstallCrx()
566 InstallCrx(crx_path, should_succeed); in PackAndInstallCrx()
578 void StartCrxInstall(const FilePath& crx_path) { in StartCrxInstall() argument
579 ASSERT_TRUE(file_util::PathExists(crx_path)) in StartCrxInstall()
[all …]
Dextensions_startup.h21 virtual void OnPackSuccess(const FilePath& crx_path,
Dextension_prefs.h234 const FilePath& crx_path,
245 FilePath* crx_path,
Dsandboxed_extension_unpacker.h95 SandboxedExtensionUnpacker(const FilePath& crx_path,
Dsandboxed_extension_unpacker.cc47 const FilePath& crx_path, in SandboxedExtensionUnpacker() argument
50 : crx_path_(crx_path), in SandboxedExtensionUnpacker()
Dextension_prefs.cc1139 const FilePath& crx_path, in SetIdleInstallInfo() argument
1150 info->SetString(kIdleInstallInfoCrxPath, crx_path.value()); in SetIdleInstallInfo()
1169 FilePath* crx_path, in GetIdleInstallInfo() argument
1198 if (crx_path) in GetIdleInstallInfo()
1199 *crx_path = FilePath(path_string); in GetIdleInstallInfo()
Dextension_prefs_unittest.cc428 FilePath crx_path; in VerifyIdleInfo() local
431 ASSERT_TRUE(prefs()->GetIdleInstallInfo(id, &crx_path, &version, in VerifyIdleInfo()
433 ASSERT_EQ(crx_path.value(), in VerifyIdleInfo()
Dextension_service.cc184 void OnExtensionUnpacked(const FilePath& crx_path,
/external/chromium/chrome/common/extensions/
Dextension_unpacker_unittest.cc33 FilePath crx_path = temp_dir_.path().AppendASCII(crx_name); in SetupUnpacker() local
34 ASSERT_TRUE(file_util::CopyFile(original_path, crx_path)) << in SetupUnpacker()
36 ", Crx path " << crx_path.value(); in SetupUnpacker()
38 unpacker_.reset(new ExtensionUnpacker(crx_path)); in SetupUnpacker()
/external/chromium/chrome/browser/automation/
Dautomation_provider.h249 void InstallExtension(const FilePath& crx_path,
254 void InstallExtensionAndGetHandle(const FilePath& crx_path,
Dautomation_provider.cc766 void AutomationProvider::InstallExtension(const FilePath& crx_path, in InstallExtension() argument
777 installer->InstallCrx(crx_path); in InstallExtension()
795 const FilePath& crx_path, bool with_ui, IPC::Message* reply_message) { in InstallExtensionAndGetHandle() argument
809 installer->InstallCrx(crx_path); in InstallExtensionAndGetHandle()