/external/chromium/chrome/browser/extensions/ |
D | extension_browsertest.cc | 135 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 …]
|
D | sandboxed_extension_unpacker_unittest.cc | 83 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()
|
D | extension_creator.cc | 191 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()
|
D | extension_creator.h | 30 const FilePath& crx_path, 67 const FilePath& crx_path);
|
D | crx_installer_browsertest.cc | 61 FilePath crx_path = test_data_dir_.AppendASCII(crx_relpath); in DidWhitelistInstallPrompt() local 62 installer->InstallCrx(crx_path); in DidWhitelistInstallPrompt()
|
D | extensions_startup.cc | 21 const FilePath& crx_path, in OnPackSuccess() argument 27 crx_path, output_private_key_path))); in OnPackSuccess()
|
D | extension_service_unittest.cc | 279 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 …]
|
D | extensions_startup.h | 21 virtual void OnPackSuccess(const FilePath& crx_path,
|
D | extension_prefs.h | 234 const FilePath& crx_path, 245 FilePath* crx_path,
|
D | sandboxed_extension_unpacker.h | 95 SandboxedExtensionUnpacker(const FilePath& crx_path,
|
D | sandboxed_extension_unpacker.cc | 47 const FilePath& crx_path, in SandboxedExtensionUnpacker() argument 50 : crx_path_(crx_path), in SandboxedExtensionUnpacker()
|
D | extension_prefs.cc | 1139 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()
|
D | extension_prefs_unittest.cc | 428 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()
|
D | extension_service.cc | 184 void OnExtensionUnpacked(const FilePath& crx_path,
|
/external/chromium/chrome/common/extensions/ |
D | extension_unpacker_unittest.cc | 33 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/ |
D | automation_provider.h | 249 void InstallExtension(const FilePath& crx_path, 254 void InstallExtensionAndGetHandle(const FilePath& crx_path,
|
D | automation_provider.cc | 766 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()
|