summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-27 18:00:10 +0000
committerkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-27 18:00:10 +0000
commit5fc2ce0e05f8900f5a06ac23ba270203c3fcd3e8 (patch)
tree398f11280415390efdf4209c077bd4d4025d132f /chrome
parent430d3f7c6289e0263e621c08f400013496829760 (diff)
downloadchromium_src-5fc2ce0e05f8900f5a06ac23ba270203c3fcd3e8.zip
chromium_src-5fc2ce0e05f8900f5a06ac23ba270203c3fcd3e8.tar.gz
chromium_src-5fc2ce0e05f8900f5a06ac23ba270203c3fcd3e8.tar.bz2
* Update comments from code review feedback.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4006 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/shell_integration.cc1
-rw-r--r--chrome/installer/util/shell_util.h3
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.