/external/chromium_org/chrome/browser/extensions/ |
H A D | 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;
|
H A D | extension_disabled_ui_browsertest.cc | 87 const base::FilePath& crx_path, 90 if (UpdateExtension(extension->id(), crx_path, expected_change)) 85 UpdateIncreasingPermissionExtension( const Extension* extension, const base::FilePath& crx_path, int expected_change) argument
|
H A D | extension_creator.cc | 38 const base::FilePath& crx_path, 78 if (!(run_flags & kOverwriteCRX) && base::PathExists(crx_path)) { 240 const base::FilePath& crx_path) { 241 if (base::PathExists(crx_path)) 242 base::DeleteFile(crx_path, false); 243 base::ScopedFILE crx_handle(base::OpenFile(crx_path, "wb")); 288 const base::FilePath& crx_path, 293 if (!InitializeInput(extension_dir, crx_path, private_key_path, 323 WriteCRX(zip_path, key_pair.get(), signature, crx_path)) { 36 InitializeInput( const base::FilePath& extension_dir, const base::FilePath& crx_path, const base::FilePath& private_key_path, const base::FilePath& private_key_output_path, int run_flags) argument 237 WriteCRX(const base::FilePath& zip_path, crypto::RSAPrivateKey* private_key, const std::vector<uint8>& signature, const base::FilePath& crx_path) argument 287 Run(const base::FilePath& extension_dir, const base::FilePath& crx_path, const base::FilePath& private_key_path, const base::FilePath& output_private_key_path, int run_flags) argument
|
H A D | startup_helper.cc | 44 const base::FilePath& crx_path, 49 PackExtensionJob::StandardSuccessMessage(crx_path, 43 OnPackSuccess( const base::FilePath& crx_path, const base::FilePath& output_private_key_path) argument
|
H A D | crx_installer_browsertest.cc | 166 const base::FilePath& crx_path) { 173 installer->InstallCrx(crx_path); 188 base::FilePath crx_path = PackExtension(ext_path); local 189 EXPECT_FALSE(crx_path.empty()); 191 crx_path); 241 base::FilePath crx_path = PackExtension( local 243 ASSERT_FALSE(crx_path.empty()); 249 EXPECT_FALSE(InstallExtension(crx_path, 0)); 250 EXPECT_TRUE(InstallExtensionFromWebstore(crx_path, 1)); 274 base::FilePath crx_path local 164 RunCrxInstaller(const WebstoreInstaller::Approval* approval, scoped_ptr<ExtensionInstallPrompt> prompt, const base::FilePath& crx_path) argument 364 base::FilePath crx_path = test_data_dir_.AppendASCII("theme_hidpi_crx"); local 392 base::FilePath crx_path = test_data_dir_.AppendASCII("delayed_install"); local 460 base::FilePath crx_path = test_data_dir_.AppendASCII("theme_hidpi_crx") local 485 base::FilePath crx_path = local 510 base::FilePath crx_path = test_data_dir_.AppendASCII("crx_installer/v1.crx"); local [all...] |
H A D | extension_browsertest.cc | 275 base::FilePath crx_path = temp_dir_.path().AppendASCII("temp.crx"); local 276 if (!base::DeleteFile(crx_path, false)) { 277 ADD_FAILURE() << "Failed to delete crx: " << crx_path.value(); 288 pem_path_out = crx_path.DirName().AppendASCII("temp.pem"); 295 return PackExtensionWithOptions(dir_path, crx_path, pem_path, pem_path_out); 300 const base::FilePath& crx_path, 315 crx_path, 324 if (!base::PathExists(crx_path)) { 325 ADD_FAILURE() << crx_path.value() << " was not created."; 328 return crx_path; 298 PackExtensionWithOptions( const base::FilePath& dir_path, const base::FilePath& crx_path, const base::FilePath& pem_path, const base::FilePath& pem_out_path) argument 476 base::FilePath crx_path = path; local [all...] |
H A D | sandboxed_unpacker.cc | 67 const base::FilePath& crx_path, const base::TimeDelta unpack_time) { 77 if (!base::GetFileSize(crx_path, &crx_file_size)) { 215 const base::FilePath& crx_path, 221 : crx_path_(crx_path), 66 RecordSuccessfulUnpackTimeHistograms( const base::FilePath& crx_path, const base::TimeDelta unpack_time) argument 214 SandboxedUnpacker( const base::FilePath& crx_path, Manifest::Location location, int creation_flags, const base::FilePath& extensions_dir, base::SequencedTaskRunner* unpacker_io_task_runner, SandboxedUnpackerClient* client) argument
|
H A D | extension_service_unittest.cc | 389 base::FilePath crx_path; variable 567 const base::FilePath& crx_path) { 571 pem_output_path = crx_path.DirName().AppendASCII("temp.pem"); 576 ASSERT_TRUE(base::DeleteFile(crx_path, false)); 580 crx_path, 585 ASSERT_TRUE(base::PathExists(crx_path)); 599 base::FilePath crx_path; local 602 crx_path = temp_dir.path().AppendASCII("temp.crx"); 604 PackCRX(dir_path, pem_path, crx_path); 605 return InstallCRX(crx_path, install_stat 565 PackCRX(const base::FilePath& dir_path, const base::FilePath& pem_path, const base::FilePath& crx_path) argument 655 InstallCRXWithLocation(const base::FilePath& crx_path, Manifest::Location install_location, InstallState install_state) argument 1087 InstallCRXInternal(const base::FilePath& crx_path) argument 1091 InstallCRXInternal(const base::FilePath& crx_path, int creation_flags) argument 1138 OnPackSuccess( const base::FilePath& crx_path, const base::FilePath& private_key_path) argument 6738 base::FilePath crx_path = temp_dir().path().AppendASCII("webstore.crx"); local 6765 base::FilePath crx_path = temp_dir().path().AppendASCII("webstore.crx"); local [all...] |
/external/chromium_org/chrome/utility/extensions/ |
H A D | unpacker_unittest.cc | 46 base::FilePath crx_path = temp_dir_.path().AppendASCII(crx_name); local 47 ASSERT_TRUE(base::CopyFile(original_path, crx_path)) << 49 ", Crx path " << crx_path.value(); 51 unpacker_.reset(new Unpacker(crx_path,
|
/external/chromium_org/chrome/browser/ui/webui/extensions/ |
H A D | extension_settings_browsertest.cc | 85 base::FilePath crx_path = path; local 86 DCHECK(crx_path.Extension() == FILE_PATH_LITERAL(".crx")); 87 if (crx_path.empty()) 103 installer->InstallCrx(crx_path);
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
H A D | app_pack_updater.cc | 175 std::string crx_path; local 179 &crx_path); 181 if (!crx_path.empty()) 182 SetScreenSaverPath(base::FilePath(crx_path));
|
/external/chromium_org/chrome/browser/chromeos/kiosk_mode/ |
H A D | kiosk_mode_screensaver.cc | 64 ScreensaverUnpackerClient(const base::FilePath& crx_path, argument 66 : crx_path_(crx_path),
|
/external/chromium_org/chrome/browser/apps/ |
H A D | ephemeral_app_browsertest.cc | 190 base::FilePath crx_path = temp_dir.path().AppendASCII("temp.crx"); local 191 if (!base::DeleteFile(crx_path, false)) { 192 ADD_FAILURE() << "Failed to delete existing crx: " << crx_path.value(); 197 test_dir, crx_path, pem_path, base::FilePath());
|
/external/chromium_org/chrome/browser/chromeos/app_mode/ |
H A D | kiosk_app_manager_browsertest.cc | 325 base::FilePath crx_path; local 327 EXPECT_TRUE(GetCachedCrx(id, &crx_path, &crx_version)); 328 EXPECT_TRUE(base::PathExists(crx_path)); 337 EXPECT_TRUE(base::ContentsEqual(src_file_path, crx_path)); 537 base::FilePath crx_path; local 547 base::FilePath crx_path; local 549 EXPECT_TRUE(GetCachedCrx(kTestLocalFsKioskApp, &crx_path, &version)); 550 EXPECT_TRUE(base::PathExists(crx_path)); 558 EXPECT_FALSE(base::PathExists(crx_path)); 559 EXPECT_FALSE(GetCachedCrx(kTestLocalFsKioskApp, &crx_path, 568 base::FilePath crx_path; local [all...] |
/external/chromium_org/chrome/browser/extensions/updater/ |
H A D | extension_downloader.cc | 703 base::FilePath crx_path; local 705 extension_cache_->GetExtension(fetch_data->id, &crx_path, &version); 706 NotifyDelegateDownloadFinished(fetch_data.Pass(), crx_path, false); 715 const base::FilePath& crx_path, 717 delegate_->OnExtensionDownloadFinished(fetch_data->id, crx_path, 758 base::FilePath crx_path; local 759 // Take ownership of the file at |crx_path|. 760 CHECK(source->GetResponseAsFilePath(true, &crx_path)); 765 extension_cache_->PutExtension(id, crx_path, version, 770 NotifyDelegateDownloadFinished(fetch_data.Pass(), crx_path, tru 713 NotifyDelegateDownloadFinished( scoped_ptr<ExtensionFetch> fetch_data, const base::FilePath& crx_path, bool file_ownership_passed) argument [all...] |
/external/chromium_org/chrome/browser/component_updater/ |
H A D | component_updater_service.cc | 221 void Install(scoped_ptr<CRXContext> context, const base::FilePath& crx_path); 224 const base::FilePath& crx_path, 862 const base::FilePath& crx_path) { 863 // This function owns the file at |crx_path| and the |context| object. 865 crx_path, 873 crx_path)); 877 const base::FilePath& crx_path, 880 if (!DeleteFileAndEmptyParentDirectory(crx_path)) 881 NOTREACHED() << crx_path.value(); 861 Install(scoped_ptr<CRXContext> context, const base::FilePath& crx_path) argument 876 EndUnpacking(const std::string& component_id, const base::FilePath& crx_path, ComponentUnpacker::Error error, int extended_error) argument
|