summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_init.cc
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-24 18:30:46 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-24 18:30:46 +0000
commitc0fe906089a0d9d96b400290e035ef0ff00e306f (patch)
tree7287cee86dddc1d10bef71c6e24b71fb409aeac0 /chrome/browser/browser_init.cc
parent32eabb7b8313f302e09015789f6ab79b41e7dbb2 (diff)
downloadchromium_src-c0fe906089a0d9d96b400290e035ef0ff00e306f.zip
chromium_src-c0fe906089a0d9d96b400290e035ef0ff00e306f.tar.gz
chromium_src-c0fe906089a0d9d96b400290e035ef0ff00e306f.tar.bz2
Disables default browser check and exit menu for toolkit_views on
chromeos. BUG=none TEST=none Review URL: http://codereview.chromium.org/431029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32942 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_init.cc')
-rw-r--r--chrome/browser/browser_init.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/browser_init.cc b/chrome/browser/browser_init.cc
index b53d083..6cb475f 100644
--- a/chrome/browser/browser_init.cc
+++ b/chrome/browser/browser_init.cc
@@ -453,7 +453,7 @@ bool BrowserInit::LaunchWithProfile::Launch(Profile* profile,
OpenURLsInBrowser(browser, process_startup, urls_to_open);
}
// Check whether we are the default browser.
- if (process_startup &&
+ if (process_startup && browser_defaults::kOSSupportsOtherBrowsers &&
!command_line_.HasSwitch(switches::kNoDefaultBrowserCheck))
CheckDefaultBrowser(profile);
} else {