diff options
author | jcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-25 15:56:26 +0000 |
---|---|---|
committer | jcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-25 15:56:26 +0000 |
commit | 596c6aa19c34c9c912aa095078231a02ffbd8812 (patch) | |
tree | 7164ddc5ef8a06181225867b27754e10a21444be /chrome/browser/profile.cc | |
parent | 1cf7ff9b69d4b80fe42182e018d26df3e49fe775 (diff) | |
download | chromium_src-596c6aa19c34c9c912aa095078231a02ffbd8812.zip chromium_src-596c6aa19c34c9c912aa095078231a02ffbd8812.tar.gz chromium_src-596c6aa19c34c9c912aa095078231a02ffbd8812.tar.bz2 |
Relanding 48042.
I reverted http://codereview.chromium.org/1986006 as part of that change, after talking with Ben and Aaron. (it breaks the UI tests on ChromeOS now that apps are enabled).
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/2149003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48149 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile.cc')
-rw-r--r-- | chrome/browser/profile.cc | 2 |
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) && |