summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-03 02:42:58 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-03 02:42:58 +0000
commit196a0b024400dcebb59d6651f25df9cc813d7e6b (patch)
treed9cda75b50bad205f918b714346f40514ac4952f /base
parent733531fd00483f6943d2032b19e546b38178c078 (diff)
downloadchromium_src-196a0b024400dcebb59d6651f25df9cc813d7e6b.zip
chromium_src-196a0b024400dcebb59d6651f25df9cc813d7e6b.tar.gz
chromium_src-196a0b024400dcebb59d6651f25df9cc813d7e6b.tar.bz2
Remove the default argument from RegKey::ReadValue.
BUG=44644 TEST=base_unittests --gtest_filter=RegistryTest.* Review URL: http://codereview.chromium.org/3259005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58456 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/registry.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/base/registry.h b/base/registry.h
index 22ec0be..7584de019 100644
--- a/base/registry.h
+++ b/base/registry.h
@@ -7,14 +7,10 @@
#pragma once
#include <windows.h>
-
#include <string>
#include "base/basictypes.h"
-// TODO(tfarina): Get rid of all the default arguments used in this file.
-// They are not allowed by our style guide.
-
// Utility class to read, write and manipulate the Windows Registry.
// Registry vocabulary primer: a "key" is like a folder, in which there
// are "values", which are <name, data> pairs, with an associated data type.
@@ -56,8 +52,7 @@ class RegKey {
bool ValueExists(const wchar_t* name);
- bool ReadValue(const wchar_t* name, void* data, DWORD* dsize,
- DWORD* dtype = NULL);
+ bool ReadValue(const wchar_t* name, void* data, DWORD* dsize, DWORD* dtype);
bool ReadValue(const wchar_t* name, std::wstring* value);
bool ReadValueDW(const wchar_t* name, DWORD* value);