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

Unified Diff: extensions/browser/extensions_browser_client.h

Issue 389633002: Move system.* family of APIs to extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed gn build Created 6 years, 5 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: extensions/browser/extensions_browser_client.h
diff --git a/extensions/browser/extensions_browser_client.h b/extensions/browser/extensions_browser_client.h
index 293b2af7039e152ae8fdc8eb6070cc9dac4035c1..ff554c84918b69e9eed14467035b3dcdb3a159ae 100644
--- a/extensions/browser/extensions_browser_client.h
+++ b/extensions/browser/extensions_browser_client.h
@@ -17,6 +17,7 @@ class PrefService;
namespace base {
class CommandLine;
class FilePath;
+class ListValue;
}
namespace content {
@@ -179,6 +180,11 @@ class ExtensionsBrowserClient {
virtual ComponentExtensionResourceManager*
GetComponentExtensionResourceManager() = 0;
+ // Propagate a event to all the renderers in every browser context. The
+ // implementation must be safe to call from any thread.
+ virtual void BroadcastEventToRenderers(const std::string& event_name,
+ scoped_ptr<base::ListValue> args) = 0;
+
// Returns the single instance of |this|.
static ExtensionsBrowserClient* Get();

Powered by Google App Engine
This is Rietveld 408576698