namespace base {
class CommandLine;
class FilePath;
+class ListValue;
}
namespace content {
const extensions::Extension* extension,
content::BrowserContext* context) const = 0;
- // Returns true if |request| corresponds to a resource request from a
- // <webview>.
- virtual bool IsWebViewRequest(net::URLRequest* request) const = 0;
-
// Returns an URLRequestJob to load an extension resource from the embedder's
// resource bundle (.pak) files. Returns NULL if the request is not for a
// resource bundle resource or if the embedder does not support this feature.
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 embedder's net::NetLog.
virtual net::NetLog* GetNetLog() = 0;