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

Unified Diff: extensions/renderer/api_bindings_system.h

Issue 2722463006: [Extensions Bindings] Notify of event unregistration on invalidation (Closed)
Patch Set: . Created 3 years, 10 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 | « no previous file | extensions/renderer/api_bindings_system.cc » ('j') | extensions/renderer/api_event_handler.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/api_bindings_system.h
diff --git a/extensions/renderer/api_bindings_system.h b/extensions/renderer/api_bindings_system.h
index d8a4711946e001db2ad1e4a285aaf94039a391c3..619ab3d23e82e9e82fa1e7e7112108dd05f92e35 100644
--- a/extensions/renderer/api_bindings_system.h
+++ b/extensions/renderer/api_bindings_system.h
@@ -83,6 +83,9 @@ class APIBindingsSystem {
void RegisterCustomType(const std::string& type_name,
const CustomTypeHandler& function);
+ // Handles any cleanup necessary before releasing the given |context|.
+ void WillReleaseContext(v8::Local<v8::Context> context);
+
APIRequestHandler* request_handler() { return &request_handler_; }
APITypeReferenceMap* type_reference_map() { return &type_reference_map_; }
« no previous file with comments | « no previous file | extensions/renderer/api_bindings_system.cc » ('j') | extensions/renderer/api_event_handler.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698