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

Unified Diff: chrome/installer/mini_installer/regkey.h

Issue 2663003003: Fix -full fallback for diff updates (M56). (Closed)
Patch Set: Created 3 years, 11 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
Index: chrome/installer/mini_installer/regkey.h
diff --git a/chrome/installer/mini_installer/regkey.h b/chrome/installer/mini_installer/regkey.h
index f323b7c697fe69bb3c9f355c0098b4220ee99fba..86dbf8b17475e3a3c1fd368f20cb0e246f2c4eb4 100644
--- a/chrome/installer/mini_installer/regkey.h
+++ b/chrome/installer/mini_installer/regkey.h
@@ -55,11 +55,19 @@ class RegKey {
HKEY key_;
}; // class RegKey
-
-// Helper function to get the RegKey associated with the "client state" of
-// the given |app_guid|.
-bool OpenClientStateKey(HKEY root_key, const wchar_t* app_guid,
- REGSAM access, RegKey* key);
+// Initializes |key| with the desired |access| to |app_guid|'s Clients key.
huangs 2017/01/31 17:40:04 I see this function in code search already; need t
grt (UTC plus 2) 2017/02/02 08:17:16 Yeah, I don't really like this either. OpenClientS
+// Returns ERROR_SUCCESS on success, or a Windows error code on failure.
+LONG OpenClientsKey(HKEY root_key,
+ const wchar_t* app_guid,
+ REGSAM access,
+ RegKey* key);
+
+// Initializes |key| with the desired |access| to |app_guid|'s ClientState key.
+// Returns ERROR_SUCCESS on success, or a Windows error code on failure.
+LONG OpenClientStateKey(HKEY root_key,
+ const wchar_t* app_guid,
+ REGSAM access,
+ RegKey* key);
} // namespace mini_installer

Powered by Google App Engine
This is Rietveld 408576698