diff options
author | benwells@chromium.org <benwells@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-15 04:30:02 +0000 |
---|---|---|
committer | benwells@chromium.org <benwells@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-15 04:30:02 +0000 |
commit | a01481bdb11bd0da01eff43c4b773296e28cd3ba (patch) | |
tree | a9359142912d4b979814ac367201f721e6f8f1ac /chrome/browser/shell_integration_linux.cc | |
parent | b5a1acaa53441a9aea2f691a6eebcedceed2b454 (diff) | |
download | chromium_src-a01481bdb11bd0da01eff43c4b773296e28cd3ba.zip chromium_src-a01481bdb11bd0da01eff43c4b773296e28cd3ba.tar.gz chromium_src-a01481bdb11bd0da01eff43c4b773296e28cd3ba.tar.bz2 |
Moved CanSetAsDefault* from platform_util to shell_integration
Moved the CanSetAsDefaultBrowser / ProtocolClient functions next to the
routines which do the setting of Chrome to be the default browser and
client.
BUG=88196
TEST=Manual testing performed
Review URL: http://codereview.chromium.org/7334003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92659 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/shell_integration_linux.cc')
-rw-r--r-- | chrome/browser/shell_integration_linux.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/shell_integration_linux.cc b/chrome/browser/shell_integration_linux.cc index 43d6e68..95a304f 100644 --- a/chrome/browser/shell_integration_linux.cc +++ b/chrome/browser/shell_integration_linux.cc @@ -359,6 +359,11 @@ ShellIntegration::DefaultWebClientState GetIsDefaultWebClient( } // namespace // static +bool ShellIntegration::CanSetAsDefaultBrowser() { + return true; +} + +// static bool ShellIntegration::SetAsDefaultBrowser() { return SetDefaultWebClient(""); } |