summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profile.cc
diff options
context:
space:
mode:
authorjcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-24 16:06:24 +0000
committerjcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-24 16:06:24 +0000
commit441ec71580e34ddb2dd23811771191a6fe6f6f17 (patch)
tree03cd05256d656a72d28f38990366ac69b6d22086 /chrome/browser/profile.cc
parenta8ad46902facb0bbacb80deb5dbae9af15f48f2e (diff)
downloadchromium_src-441ec71580e34ddb2dd23811771191a6fe6f6f17.zip
chromium_src-441ec71580e34ddb2dd23811771191a6fe6f6f17.tar.gz
chromium_src-441ec71580e34ddb2dd23811771191a6fe6f6f17.tar.bz2
Disabling app launcher and enabling apps by default on ChromeOS .
BUG=3218 TEST=Open the new tab, the new new tab should be shown. Any installed app should be showing in there. Review URL: http://codereview.chromium.org/2135011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48042 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile.cc')
-rw-r--r--chrome/browser/profile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/profile.cc b/chrome/browser/profile.cc
index 505a528..eeeee11 100644
--- a/chrome/browser/profile.cc
+++ b/chrome/browser/profile.cc
@@ -766,7 +766,7 @@ void ProfileImpl::InitExtensions() {
// Some sample apps to make our lives easier while we are developing extension
// apps. This way we don't have to constantly install these over and over.
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableApps)) {
+ if (Extension::AppsAreEnabled()) {
#if defined(OS_WIN)
std::string user_domain;
if (base::EnvVarGetter::Create()->GetEnv("USERDOMAIN", &user_domain) &&