Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2938)

Unified Diff: chrome/browser/shell_integration_linux.cc

Issue 10453041: Support for interactive set-chrome-as-default in Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed for unittests + a typo or two. Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/shell_integration_linux.cc
diff --git a/chrome/browser/shell_integration_linux.cc b/chrome/browser/shell_integration_linux.cc
index a6ab7e54b893833bca62910235f87cca82dc6de8..5c42eab3ef7139cc680dacc14045093a45ab72bc 100644
--- a/chrome/browser/shell_integration_linux.cc
+++ b/chrome/browser/shell_integration_linux.cc
@@ -357,8 +357,9 @@ ShellIntegration::DefaultWebClientState GetIsDefaultWebClient(
} // namespace
// static
-bool ShellIntegration::CanSetAsDefaultBrowser() {
- return true;
+ShellIntegration::DefaultSettingsChangePermission
+ ShellIntegration::CanSetAsDefaultBrowser() {
+ return CHANGE_DEFAULT_UNATTENDED;
}
// static

Powered by Google App Engine
This is Rietveld 408576698