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

Unified Diff: chrome_frame/policy_settings.cc

Issue 8344004: base/win: Add documentation to RegKey::Read/Write functions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix indentation Created 9 years, 2 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_frame/policy_settings.cc
diff --git a/chrome_frame/policy_settings.cc b/chrome_frame/policy_settings.cc
index 97c08107bf57eb4f56949d9fe5b9f3b49c2efdc9..baafb07674cc0f8f386d0315c41edd7827221493 100644
--- a/chrome_frame/policy_settings.cc
+++ b/chrome_frame/policy_settings.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -72,8 +72,8 @@ void PolicySettings::ReadUrlSettings(
for (int i = 0; i < arraysize(kRootKeys); ++i) {
if ((config_key.Open(kRootKeys[i], policy::kRegistrySubKey,
KEY_READ) == ERROR_SUCCESS) &&
- (config_key.ReadValueDW(settings_value.c_str(),
- &value) == ERROR_SUCCESS)) {
+ (config_key.ReadValue(settings_value.c_str(),
+ &value) == ERROR_SUCCESS)) {
break;
}
}

Powered by Google App Engine
This is Rietveld 408576698