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

Unified Diff: base/registry.h

Issue 3100001: Cleanup Registry API part 2: (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: 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 | « no previous file | base/registry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/registry.h
diff --git a/base/registry.h b/base/registry.h
index a9a6997251176643620730a23bdbaca1dd9f221d..4702a786c9d2c8ecad067043e3e07f05b8a8b5ad 100644
--- a/base/registry.h
+++ b/base/registry.h
@@ -22,12 +22,12 @@ class RegKey {
public:
RegKey(HKEY rootkey = NULL, const wchar_t* subkey = NULL,
REGSAM access = KEY_READ);
- ~RegKey() { Close(); }
+ ~RegKey();
bool Create(HKEY rootkey, const wchar_t* subkey, REGSAM access = KEY_READ);
bool CreateWithDisposition(HKEY rootkey, const wchar_t* subkey,
- DWORD* disposition, REGSAM access = KEY_READ);
+ DWORD* disposition, REGSAM access);
bool Open(HKEY rootkey, const wchar_t* subkey, REGSAM access = KEY_READ);
« no previous file with comments | « no previous file | base/registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698