diff options
-rw-r--r-- | chrome/browser/shell_integration.cc | 1 | ||||
-rw-r--r-- | chrome/installer/util/shell_util.h | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/shell_integration.cc b/chrome/browser/shell_integration.cc index b149f79..0812ce1 100644 --- a/chrome/browser/shell_integration.cc +++ b/chrome/browser/shell_integration.cc @@ -123,7 +123,6 @@ bool ShellIntegration::SetAsDefaultBrowser() { } // From UI currently we only allow setting default browser for current user. - // So we pass false for system_level. if (!ShellUtil::MakeChromeDefault(ShellUtil::CURRENT_USER, chrome_exe)) { LOG(ERROR) << "Chrome could not be set as default browser."; return false; diff --git a/chrome/installer/util/shell_util.h b/chrome/installer/util/shell_util.h index fac35722..4bb01c8 100644 --- a/chrome/installer/util/shell_util.h +++ b/chrome/installer/util/shell_util.h @@ -140,7 +140,8 @@ class ShellUtil { // Make Chrome default browser. Before calling this function Chrome should // already have been registered by calling AddChromeToSetAccessDefaults() // method, otherwise this function will fail. - // system_level: Register as default browser at system level. If true + // shell_change: Defined whether to register as default browser at system + // level or user level. If value has ShellChange::SYSTEM_LEVEL // we should be running as admin user. Currently this setting // does not have any effect on Vista where we always set // as default only for the current user. |