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(); |