/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 | 90 const base::FilePath& crx_path, 93 if (UpdateExtension(extension->id(), crx_path, expected_change)) 88 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)) { 241 const base::FilePath& crx_path) { 242 if (base::PathExists(crx_path)) 243 base::DeleteFile(crx_path, false); 244 base::ScopedFILE crx_handle(base::OpenFile(crx_path, "wb")); 289 const base::FilePath& crx_path, 294 if (!InitializeInput(extension_dir, crx_path, private_key_path, 324 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 238 WriteCRX(const base::FilePath& zip_path, crypto::RSAPrivateKey* private_key, const std::vector<uint8>& signature, const base::FilePath& crx_path) argument 288 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 | 83 const base::FilePath& crx_path, 88 PackExtensionJob::StandardSuccessMessage(crx_path, 82 OnPackSuccess( const base::FilePath& crx_path, const base::FilePath& output_private_key_path) argument
|
H A D | crx_installer_browsertest.cc | 188 const base::FilePath& crx_path) { 195 installer->InstallCrx(crx_path); 210 base::FilePath crx_path = PackExtension(ext_path); local 211 EXPECT_FALSE(crx_path.empty()); 213 crx_path); 262 base::FilePath crx_path = PackExtension( local 264 ASSERT_FALSE(crx_path.empty()); 270 EXPECT_FALSE(InstallExtension(crx_path, 0)); 271 EXPECT_TRUE(InstallExtensionFromWebstore(crx_path, 1)); 288 base::FilePath crx_path local 186 RunCrxInstaller(const WebstoreInstaller::Approval* approval, scoped_ptr<ExtensionInstallPrompt> prompt, const base::FilePath& crx_path) argument 372 base::FilePath crx_path = test_data_dir_.AppendASCII("theme_hidpi_crx"); local 399 base::FilePath crx_path = test_data_dir_.AppendASCII("delayed_install"); local 470 base::FilePath crx_path = test_data_dir_.AppendASCII("theme_hidpi_crx") local 495 base::FilePath crx_path = local 520 base::FilePath crx_path = test_data_dir_.AppendASCII("crx_installer/v1.crx"); local 562 base::FilePath crx_path = test_data_dir_.AppendASCII("crx_installer/v1.crx"); local 584 base::FilePath crx_path = dir.Pack(); local [all...] |
H A D | extension_browsertest.cc | 283 base::FilePath crx_path = temp_dir_.path().AppendASCII("temp.crx"); local 284 if (!base::DeleteFile(crx_path, false)) { 285 ADD_FAILURE() << "Failed to delete crx: " << crx_path.value(); 296 pem_path_out = crx_path.DirName().AppendASCII("temp.pem"); 303 return PackExtensionWithOptions(dir_path, crx_path, pem_path, pem_path_out); 308 const base::FilePath& crx_path, 323 crx_path, 332 if (!base::PathExists(crx_path)) { 333 ADD_FAILURE() << crx_path.value() << " was not created."; 336 return crx_path; 306 PackExtensionWithOptions( const base::FilePath& dir_path, const base::FilePath& crx_path, const base::FilePath& pem_path, const base::FilePath& pem_out_path) argument 485 base::FilePath crx_path = path; local [all...] |
H A D | sandboxed_unpacker.cc | 70 const base::FilePath& crx_path, const base::TimeDelta unpack_time) { 80 if (!base::GetFileSize(crx_path, &crx_file_size)) { 218 const base::FilePath& crx_path, 224 : crx_path_(crx_path), 69 RecordSuccessfulUnpackTimeHistograms( const base::FilePath& crx_path, const base::TimeDelta unpack_time) argument 217 SandboxedUnpacker( const base::FilePath& crx_path, Manifest::Location location, int creation_flags, const base::FilePath& extensions_dir, const scoped_refptr<base::SequencedTaskRunner>& unpacker_io_task_runner, SandboxedUnpackerClient* client) argument
|
H A D | extension_service_unittest.cc | 395 base::FilePath crx_path; variable 575 const base::FilePath& crx_path) { 579 pem_output_path = crx_path.DirName().AppendASCII("temp.pem"); 584 ASSERT_TRUE(base::DeleteFile(crx_path, false)); 588 crx_path, 593 ASSERT_TRUE(base::PathExists(crx_path)); 607 base::FilePath crx_path; local 610 crx_path = temp_dir.path().AppendASCII("temp.crx"); 612 PackCRX(dir_path, pem_path, crx_path); 613 return InstallCRX(crx_path, install_stat 573 PackCRX(const base::FilePath& dir_path, const base::FilePath& pem_path, const base::FilePath& crx_path) argument 663 InstallCRXWithLocation(const base::FilePath& crx_path, Manifest::Location install_location, InstallState install_state) argument 788 base::FilePath crx_path = temp_dir.path().AppendASCII("temp.crx"); local 1122 InstallCRXInternal(const base::FilePath& crx_path) argument 1126 InstallCRXInternal(const base::FilePath& crx_path, int creation_flags) argument 1173 OnPackSuccess( const base::FilePath& crx_path, const base::FilePath& private_key_path) argument 6958 base::FilePath crx_path = temp_dir().path().AppendASCII("webstore.crx"); local 6987 base::FilePath crx_path = temp_dir().path().AppendASCII("webstore.crx"); local 7019 base::FilePath crx_path = temp_dir().path().AppendASCII("webstore.crx"); local 7061 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 | 86 base::FilePath crx_path = path; local 87 DCHECK(crx_path.Extension() == FILE_PATH_LITERAL(".crx")); 88 if (crx_path.empty()) 104 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/chromeos/app_mode/ |
H A D | kiosk_app_manager_browsertest.cc | 299 base::FilePath crx_path; local 301 EXPECT_TRUE(GetCachedCrx(id, &crx_path, &crx_version)); 302 EXPECT_TRUE(base::PathExists(crx_path)); 311 EXPECT_TRUE(base::ContentsEqual(src_file_path, crx_path)); 516 base::FilePath crx_path; local 518 EXPECT_TRUE(GetCachedCrx(kTestLocalFsKioskApp, &crx_path, &version)); 519 EXPECT_TRUE(base::PathExists(crx_path)); 527 EXPECT_FALSE(base::PathExists(crx_path)); 528 EXPECT_FALSE(GetCachedCrx(kTestLocalFsKioskApp, &crx_path, &version)); 537 base::FilePath crx_path; local [all...] |
H A D | kiosk_app_manager.cc | 373 base::FilePath crx_path; local 375 return GetCachedCrx(app_id, &crx_path, &version); 434 const base::FilePath& crx_path, 437 external_cache_->PutExternalExtension(app_id, crx_path, version, callback); 432 PutValidatedExternalExtension( const std::string& app_id, const base::FilePath& crx_path, const std::string& version, const ExternalCache::PutExternalExtensionCallback& callback) argument
|
/external/chromium_org/chrome/browser/apps/ |
H A D | ephemeral_app_browsertest.cc | 260 base::FilePath crx_path = temp_dir.path().AppendASCII("temp.crx"); local 261 if (!base::DeleteFile(crx_path, false)) { 262 ADD_FAILURE() << "Failed to delete existing crx: " << crx_path.value(); 267 test_dir, crx_path, pem_path, base::FilePath());
|
/external/chromium_org/chrome/browser/extensions/updater/ |
H A D | extension_downloader.cc | 723 base::FilePath crx_path; local 725 extension_cache_->GetExtension(fetch_data->id, &crx_path, &version); 726 NotifyDelegateDownloadFinished(fetch_data.Pass(), crx_path, false); 735 const base::FilePath& crx_path, 737 delegate_->OnExtensionDownloadFinished(fetch_data->id, crx_path, 803 base::FilePath crx_path; local 804 // Take ownership of the file at |crx_path|. 805 CHECK(source->GetResponseAsFilePath(true, &crx_path)); 810 extension_cache_->PutExtension(id, crx_path, version, 815 NotifyDelegateDownloadFinished(fetch_data.Pass(), crx_path, tru 733 NotifyDelegateDownloadFinished( scoped_ptr<ExtensionFetch> fetch_data, const base::FilePath& crx_path, bool file_ownership_passed) argument [all...] |
/external/chromium_org/components/component_updater/ |
H A D | component_updater_service.cc | 183 void Install(scoped_ptr<CRXContext> context, const base::FilePath& crx_path); 186 const base::FilePath& crx_path, 855 const base::FilePath& crx_path) { 856 // This function owns the file at |crx_path| and the |context| object. 858 crx_path, 866 crx_path)); 870 const base::FilePath& crx_path, 873 if (!DeleteFileAndEmptyParentDirectory(crx_path)) 874 NOTREACHED() << crx_path.value(); 854 Install(scoped_ptr<CRXContext> context, const base::FilePath& crx_path) argument 869 EndUnpacking(const std::string& component_id, const base::FilePath& crx_path, ComponentUnpacker::Error error, int extended_error) argument
|
/external/chromium_org/chrome/browser/chromeos/login/ |
H A D | kiosk_browsertest.cc | 1378 base::FilePath crx_path; local 1381 test_app_id(), &crx_path, &cached_version)); local 1412 base::FilePath crx_path; local 1415 test_app_id(), &crx_path, &cached_version)); local 1434 base::FilePath crx_path; local 1437 test_app_id(), &crx_path, &cached_version)); local 1458 base::FilePath crx_path; local 1461 test_app_id(), &crx_path, &cached_version)); local 1482 base::FilePath crx_path; local 1485 test_app_id(), &crx_path, local 1505 base::FilePath crx_path; local 1508 test_app_id(), &crx_path, &cached_version)); local [all...] |