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

Unified Diff: chrome_frame/chrome_frame_helper_util.h

Issue 7065024: Add a self-destruct mechanism to user-level Chrome Frame when it detects that system-level Chrome... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 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_frame/chrome_frame_helper_util.h
===================================================================
--- chrome_frame/chrome_frame_helper_util.h (revision 85906)
+++ chrome_frame/chrome_frame_helper_util.h (working copy)
@@ -68,4 +68,16 @@
DWORD thread_id_to_match,
DWORD process_id_to_match);
+// Reads |value_size| characters from a value named |value_name| in |key| and
+// places them in the buffer pointed to by |value|. Returns ERROR_SUCCESS on
+// success.
+LONG ReadValue(HKEY key,
+ const wchar_t* value_name,
+ size_t value_size,
+ wchar_t* value);
+
+// Returns true if system-level Chrome Frame is installed and the BHO is
+// registered in HKLM.
+bool IsSystemLevelChromeFrameInstalled();
+
#endif // CHROME_FRAME_CHROME_FRAME_HELPER_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698