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

Unified Diff: base/registry.h

Issue 3211004: Revert 57572 - Remove the default argument from RegKey::Open.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
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 | chrome/browser/extensions/extension_rlz_apitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/registry.h
===================================================================
--- base/registry.h (revision 57574)
+++ base/registry.h (working copy)
@@ -29,7 +29,7 @@
bool CreateWithDisposition(HKEY rootkey, const wchar_t* subkey,
DWORD* disposition, REGSAM access);
- bool Open(HKEY rootkey, const wchar_t* subkey, REGSAM access);
+ bool Open(HKEY rootkey, const wchar_t* subkey, REGSAM access = KEY_READ);
// Creates a subkey or open it if it already exists.
bool CreateKey(const wchar_t* name, REGSAM access);
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_rlz_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698