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

Unified Diff: remoting/host/plugin/policy_hack/nat_policy_win.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
« base/win/registry.h ('K') | « chrome_frame/utils.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/plugin/policy_hack/nat_policy_win.cc
diff --git a/remoting/host/plugin/policy_hack/nat_policy_win.cc b/remoting/host/plugin/policy_hack/nat_policy_win.cc
index bd0e0bccd5d7e503995ab46274caac1aa7fa5ad6..379afb4c7e19684266548792746e37296b04b061 100644
--- a/remoting/host/plugin/policy_hack/nat_policy_win.cc
+++ b/remoting/host/plugin/policy_hack/nat_policy_win.cc
@@ -115,14 +115,14 @@ class NatPolicyWin :
uint32* result) const {
DWORD value = 0;
RegKey policy_key(HKEY_LOCAL_MACHINE, kRegistrySubKey, KEY_READ);
- if (policy_key.ReadValueDW(value_name.c_str(), &value) == ERROR_SUCCESS) {
+ if (policy_key.ReadValue(value_name.c_str(), &value) == ERROR_SUCCESS) {
*result = value;
return true;
}
if (policy_key.Open(HKEY_CURRENT_USER, kRegistrySubKey, KEY_READ) ==
ERROR_SUCCESS) {
- if (policy_key.ReadValueDW(value_name.c_str(), &value) == ERROR_SUCCESS) {
+ if (policy_key.ReadValue(value_name.c_str(), &value) == ERROR_SUCCESS) {
*result = value;
return true;
}
« base/win/registry.h ('K') | « chrome_frame/utils.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698