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

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
« no previous file with comments | « chrome_frame/chrome_frame_helper_main.cc ('k') | chrome_frame/chrome_frame_helper_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/chrome_frame_helper_util.h
===================================================================
--- chrome_frame/chrome_frame_helper_util.h (revision 86605)
+++ chrome_frame/chrome_frame_helper_util.h (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -68,4 +68,20 @@
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 our BHO is registered in the HKLM subkey that IE checks for
+// the list of BHOs to load.
+bool IsBHOLoadingPolicyRegistered();
+
+// Returns true if system-level Chrome Frame is installed.
+bool IsSystemLevelChromeFrameInstalled();
+
#endif // CHROME_FRAME_CHROME_FRAME_HELPER_UTIL_H_
« no previous file with comments | « chrome_frame/chrome_frame_helper_main.cc ('k') | chrome_frame/chrome_frame_helper_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698