summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profiles
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-14 21:12:10 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-14 21:12:10 +0000
commite5b5f958a41d75c9e183fd122eb530d747e29e4a (patch)
treeca68e6ee47d07a86ab51d1ee4cd5c0590360d87d /chrome/browser/profiles
parentc40151ab07cfb8fc7893c295726a5ad176d10ff3 (diff)
downloadchromium_src-e5b5f958a41d75c9e183fd122eb530d747e29e4a.zip
chromium_src-e5b5f958a41d75c9e183fd122eb530d747e29e4a.tar.gz
chromium_src-e5b5f958a41d75c9e183fd122eb530d747e29e4a.tar.bz2
Enable default apps by default.
Also, always show the apps section. We were only hiding it when there was zero elements when we were in our transitionary phase. To make this look less weird when there are actually zero elements, add the webstore element to the miniview and closed menus. BUG=64737 TEST=In a fresh profile, go to chrome://extensions/ -> developer mode, and click 'update now'. Go to NTP. Should see default apps. Remove all default apps. Apps section should remain. Collapse apps section by clicking heading. Should see webstore item in minimized view. Hide apps section by clicking 'x'. Should see webstore item in closed section menu on bottom of page. Review URL: http://codereview.chromium.org/5804005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69180 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profiles')
-rw-r--r--chrome/browser/profiles/profile_impl.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
index 3312a7e..436727b 100644
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -406,14 +406,6 @@ void ProfileImpl::RegisterComponentExtensions() {
}
void ProfileImpl::InstallDefaultApps() {
-#if !defined(OS_CHROMEOS)
- // On desktop Chrome, we don't have default apps on by, err, default yet.
- if (!CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableDefaultApps)) {
- return;
- }
-#endif
-
// The web store only supports en-US at the moment, so we don't install
// default apps in other locales.
if (g_browser_process->GetApplicationLocale() != "en-US")