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

Unified Diff: chrome/browser/extensions/extension_service.h

Issue 11368145: Lazy-creates BluetoothAdapter in ExtensionBluetoothEventRouter (EBEE). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/browser/extensions/extension_service.h
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h
index 2cac53556bb96cb05ce2aed8ddfb89b9d83c695b..277092748938e76cbe966855cae397f3a040e881 100644
--- a/chrome/browser/extensions/extension_service.h
+++ b/chrome/browser/extensions/extension_service.h
@@ -211,6 +211,16 @@ class ExtensionService
// initiative.
const ExtensionSet* GetWipedOutExtensions() const;
+ // Notifies the extension event routers that are interested in knowing when
+ // the event listeners are added.
+ void NotifyExtensionEventRoutersOnListenerAdded(
+ const std::string& event_name);
+
+ // Notifies the extension event routers that are interested in knowing when
+ // the event listeners are removed.
+ void NotifyExtensionEventRoutersOnListenerRemoved(
+ const std::string& event_name);
+
// Gets the object managing the set of pending extensions.
virtual extensions::PendingExtensionManager*
pending_extension_manager() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698