/external/chromium_org/chrome/browser/extensions/ |
test_extension_dir.cc | 43 base::FilePath crx_path = local 53 crx_path, 61 if (!base::PathExists(crx_path)) { 62 ADD_FAILURE() << crx_path.value() << " was not created."; 65 return crx_path;
|
extension_creator.h | 43 const base::FilePath& crx_path, 55 // directory that should contain all the extension resources. |crx_path| is 62 const base::FilePath& crx_path, 88 // Export installable .crx to |crx_path|. 92 const base::FilePath& crx_path);
|
crx_installer_browsertest.cc | 242 base::FilePath crx_path = PackExtension( local 244 ASSERT_FALSE(crx_path.empty()); 250 EXPECT_FALSE(InstallExtension(crx_path, 0)); 251 EXPECT_TRUE(InstallExtensionFromWebstore(crx_path, 1)); 275 base::FilePath crx_path = PackExtension( local 277 ASSERT_FALSE(crx_path.empty()); 278 std::string crx_path_string(crx_path.value().begin(), crx_path.value().end()); 364 base::FilePath crx_path = test_data_dir_.AppendASCII("theme_hidpi_crx"); local 365 crx_path = crx_path.AppendASCII("theme_hidpi.crx") 385 base::FilePath crx_path = test_data_dir_.AppendASCII("delayed_install"); local 445 base::FilePath crx_path = test_data_dir_.AppendASCII("theme_hidpi_crx") local [all...] |
extension_creator.cc | 38 const base::FilePath& crx_path, 78 if (!(run_flags & kOverwriteCRX) && base::PathExists(crx_path)) { 242 const base::FilePath& crx_path) { 243 if (base::PathExists(crx_path)) 244 base::DeleteFile(crx_path, false); 245 ScopedStdioHandle crx_handle(file_util::OpenFile(crx_path, "wb")); 290 const base::FilePath& crx_path, 295 if (!InitializeInput(extension_dir, crx_path, private_key_path, 325 WriteCRX(zip_path, key_pair.get(), signature, crx_path)) {
|
startup_helper.h | 23 const base::FilePath& crx_path,
|
extension_browsertest.cc | 244 base::FilePath crx_path = temp_dir_.path().AppendASCII("temp.crx"); local 245 if (!base::DeleteFile(crx_path, false)) { 246 ADD_FAILURE() << "Failed to delete crx: " << crx_path.value(); 257 pem_path_out = crx_path.DirName().AppendASCII("temp.pem"); 264 return PackExtensionWithOptions(dir_path, crx_path, pem_path, pem_path_out); 269 const base::FilePath& crx_path, 284 crx_path, 293 if (!base::PathExists(crx_path)) { 294 ADD_FAILURE() << crx_path.value() << " was not created."; 297 return crx_path; 422 base::FilePath crx_path = path; local [all...] |
sandboxed_unpacker.h | 78 // Unpacks the extension in |crx_path| into a temporary directory and calls 81 SandboxedUnpacker(const base::FilePath& crx_path,
|
extension_disabled_ui_browsertest.cc | 80 const base::FilePath& crx_path, 83 if (UpdateExtension(extension->id(), crx_path, expected_change))
|
startup_helper.cc | 44 const base::FilePath& crx_path, 49 PackExtensionJob::StandardSuccessMessage(crx_path,
|
/external/chromium/chrome/browser/extensions/ |
extension_creator.h | 30 const FilePath& crx_path, 63 // Export installable .crx to |crx_path|. 67 const FilePath& crx_path);
|
extensions_startup.h | 21 virtual void OnPackSuccess(const FilePath& crx_path,
|
crx_installer_browsertest.cc | 61 FilePath crx_path = test_data_dir_.AppendASCII(crx_relpath); local 62 installer->InstallCrx(crx_path);
|
extensions_startup.cc | 21 const FilePath& crx_path, 27 crx_path, output_private_key_path)));
|
sandboxed_extension_unpacker_unittest.cc | 83 FilePath crx_path = temp_dir_.path().AppendASCII(crx_name); local 84 ASSERT_TRUE(file_util::CopyFile(original_path, crx_path)) << 86 ", Crx path: " << crx_path.value(); 88 unpacker_.reset(new ExtensionUnpacker(crx_path)); 96 new SandboxedExtensionUnpacker(crx_path, NULL, client_);
|
extension_browsertest.cc | 135 FilePath crx_path = temp_dir_.path().AppendASCII("temp.crx"); local 136 if (!file_util::Delete(crx_path, false)) { 137 ADD_FAILURE() << "Failed to delete crx: " << crx_path.value(); 141 FilePath pem_path = crx_path.DirName().AppendASCII("temp.pem"); 154 crx_path, 161 if (!file_util::PathExists(crx_path)) { 162 ADD_FAILURE() << crx_path.value() << " was not created."; 165 return crx_path; 231 FilePath crx_path = path; local 232 if (crx_path.Extension() != FILE_PATH_LITERAL(".crx")) [all...] |
extension_creator.cc | 191 const FilePath& crx_path) { 192 if (file_util::PathExists(crx_path)) 193 file_util::Delete(crx_path, false); 194 ScopedStdioHandle crx_handle(file_util::OpenFile(crx_path, "wb")); 239 const FilePath& crx_path, 267 WriteCRX(zip_path, key_pair.get(), signature, crx_path)) {
|
sandboxed_extension_unpacker.h | 92 // Unpacks the extension in |crx_path| into a temporary directory and calls 95 SandboxedExtensionUnpacker(const FilePath& crx_path,
|
extension_prefs.h | 234 const FilePath& crx_path, 245 FilePath* crx_path,
|
extension_service_unittest.cc | 279 FilePath crx_path; local 542 FilePath crx_path; local 545 crx_path = temp_dir_.path().AppendASCII("temp.crx"); 550 pem_output_path = crx_path.DirName().AppendASCII("temp.pem"); 556 ASSERT_TRUE(file_util::Delete(crx_path, false)); 560 crx_path, 564 ASSERT_TRUE(file_util::PathExists(crx_path)); 566 InstallCrx(crx_path, should_succeed); 578 void StartCrxInstall(const FilePath& crx_path) { 579 ASSERT_TRUE(file_util::PathExists(crx_path)) [all...] |
/external/chromium/chrome/common/extensions/ |
extension_unpacker_unittest.cc | 33 FilePath crx_path = temp_dir_.path().AppendASCII(crx_name); local 34 ASSERT_TRUE(file_util::CopyFile(original_path, crx_path)) << 36 ", Crx path " << crx_path.value(); 38 unpacker_.reset(new ExtensionUnpacker(crx_path));
|
/external/chromium_org/chrome/utility/extensions/ |
unpacker_unittest.cc | 44 base::FilePath crx_path = temp_dir_.path().AppendASCII(crx_name); local 45 ASSERT_TRUE(base::CopyFile(original_path, crx_path)) << 47 ", Crx path " << crx_path.value(); 49 unpacker_.reset(new Unpacker(crx_path,
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
app_pack_updater.cc | 178 std::string crx_path; local 182 &crx_path); 184 if (!crx_path.empty()) 185 SetScreenSaverPath(base::FilePath(crx_path));
|
/external/chromium_org/chrome/browser/extensions/updater/ |
extension_downloader.cc | 105 void CheckThatCRXIsReadable(const base::FilePath& crx_path) { 112 ScopedStdioHandle file(file_util::OpenFile(crx_path, "rb")); 115 << crx_path.value().c_str(); 126 // true, |crx_path| should be set to the path to the CRX file. 127 void RecordCRXWriteHistogram(bool success, const base::FilePath& crx_path) { 139 base::Bind(&CheckThatCRXIsReadable, crx_path)); 731 base::FilePath crx_path; local 732 // Take ownership of the file at |crx_path|. 733 CHECK(source->GetResponseAsFilePath(true, &crx_path)); 734 RecordCRXWriteHistogram(true, crx_path); [all...] |
/external/chromium/chrome/browser/automation/ |
automation_provider.h | 249 void InstallExtension(const FilePath& crx_path, 254 void InstallExtensionAndGetHandle(const FilePath& crx_path,
|
/external/chromium_org/chrome/browser/chromeos/kiosk_mode/ |
kiosk_mode_screensaver.cc | 54 ScreensaverUnpackerClient(const base::FilePath& crx_path, 56 : crx_path_(crx_path),
|