Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(951)

Unified Diff: chrome/browser/download/download_browsertest.cc

Issue 10511015: Rename --enable-off-store-extension-install to --enable-easy-off... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/download/download_browsertest.cc
diff --git a/chrome/browser/download/download_browsertest.cc b/chrome/browser/download/download_browsertest.cc
index 26dcdaaec7ab9486cfa7e90f1300c749218b224b..0c473701aec02b2c1bac8825a0a54aecfbca12df 100644
--- a/chrome/browser/download/download_browsertest.cc
+++ b/chrome/browser/download/download_browsertest.cc
@@ -1653,7 +1653,7 @@ IN_PROC_BROWSER_TEST_F(DownloadTest, MAYBE_AutoOpen) {
// Download an extension. Expect a dangerous download warning.
// Deny the download.
IN_PROC_BROWSER_TEST_F(DownloadTest, CrxDenyInstall) {
- if (!extensions::switch_utils::IsOffStoreInstallEnabled())
+ if (!extensions::switch_utils::IsEasyOffStoreInstallEnabled())
return;
GURL extension_url(URLRequestMockHTTPJob::GetMockUrl(kGoodCrxPath));
@@ -1680,7 +1680,7 @@ IN_PROC_BROWSER_TEST_F(DownloadTest, CrxDenyInstall) {
// Download an extension. Expect a dangerous download warning.
// Allow the download, deny the install.
IN_PROC_BROWSER_TEST_F(DownloadTest, CrxInstallDenysPermissions) {
- if (!extensions::switch_utils::IsOffStoreInstallEnabled())
+ if (!extensions::switch_utils::IsEasyOffStoreInstallEnabled())
return;
GURL extension_url(URLRequestMockHTTPJob::GetMockUrl(kGoodCrxPath));
@@ -1713,7 +1713,7 @@ IN_PROC_BROWSER_TEST_F(DownloadTest, CrxInstallDenysPermissions) {
// Download an extension. Expect a dangerous download warning.
// Allow the download, and the install.
IN_PROC_BROWSER_TEST_F(DownloadTest, CrxInstallAcceptPermissions) {
- if (!extensions::switch_utils::IsOffStoreInstallEnabled())
+ if (!extensions::switch_utils::IsEasyOffStoreInstallEnabled())
return;
GURL extension_url(URLRequestMockHTTPJob::GetMockUrl(kGoodCrxPath));
@@ -1772,7 +1772,7 @@ IN_PROC_BROWSER_TEST_F(DownloadTest, CrxInvalid) {
// Install a large (100kb) theme.
IN_PROC_BROWSER_TEST_F(DownloadTest, CrxLargeTheme) {
- if (!extensions::switch_utils::IsOffStoreInstallEnabled())
+ if (!extensions::switch_utils::IsEasyOffStoreInstallEnabled())
return;
GURL extension_url(URLRequestMockHTTPJob::GetMockUrl(kLargeThemePath));
« no previous file with comments | « chrome/browser/download/chrome_download_manager_delegate.cc ('k') | chrome/browser/extensions/crx_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698