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

Unified Diff: chrome_frame/utils.h

Issue 12521002: Start and stop crash reporting outside of the loader lock. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert r70898 Created 7 years, 9 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/utils.h
diff --git a/chrome_frame/utils.h b/chrome_frame/utils.h
index 29084db98d1e23c4689caded1e700a9e0ecc9a7d..d4fab56ad241cc9b2132d27817d642bc48d561e5 100644
--- a/chrome_frame/utils.h
+++ b/chrome_frame/utils.h
@@ -548,6 +548,11 @@ class NavigationConstraints;
bool CanNavigate(const GURL& url,
NavigationConstraints* navigation_constraints);
+typedef void (*PinModuleCallbackFn)(void);
robertshield 2013/03/13 17:22:27 i-feel-bad-for-asking-nit: it would be nice if thi
grt (UTC plus 2) 2013/03/14 14:40:32 Done.
+
+// Sets a callback function to be invoked when the module is pinned.
+void SetPinModuleCallback(PinModuleCallbackFn callback);
+
// Utility function that prevents the current module from ever being unloaded.
// Call if you make irreversible patches.
void PinModule();

Powered by Google App Engine
This is Rietveld 408576698