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

Unified Diff: chrome/browser/extensions/default_apps.cc

Issue 11359105: Don't install external extensions in tests (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: comment fixed Created 8 years, 1 month 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
« no previous file with comments | « no previous file | chrome/browser/extensions/external_provider_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/default_apps.cc
diff --git a/chrome/browser/extensions/default_apps.cc b/chrome/browser/extensions/default_apps.cc
index d692c9c639dd64cd10b3bfabedfcda9141c0292f..3583416cf381dbe818478594d9d256cb4b1021b3 100644
--- a/chrome/browser/extensions/default_apps.cc
+++ b/chrome/browser/extensions/default_apps.cc
@@ -114,11 +114,6 @@ bool Provider::ShouldInstallInProfile() {
if (install_apps && !IsLocaleSupported())
install_apps = false;
- if (CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableDefaultApps)) {
- install_apps = false;
- }
-
// Default apps are only installed on profile creation or a new chrome
// download.
if (state == kUnknown) {
« no previous file with comments | « no previous file | chrome/browser/extensions/external_provider_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698