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

Unified Diff: base/registry.cc

Issue 3172009: Cleanup Registry API: part 3. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: chrome fixes Created 10 years, 4 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
« no previous file with comments | « base/registry.h ('k') | base/win_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/registry.cc
diff --git a/base/registry.cc b/base/registry.cc
index 0040e1a9e785dd93479c122ecddc3c922430be9d..f8e58b94e15633033d873bffd9e4c55325fcaa97 100644
--- a/base/registry.cc
+++ b/base/registry.cc
@@ -132,6 +132,11 @@ DWORD RegistryKeyIterator::SubkeyCount() const {
return count;
}
+RegKey::RegKey()
+ : key_(NULL),
+ watch_event_(0) {
+}
+
RegKey::RegKey(HKEY rootkey, const wchar_t* subkey, REGSAM access)
: key_(NULL),
watch_event_(0) {
« no previous file with comments | « base/registry.h ('k') | base/win_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698