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

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

Issue 6549015: Extension half of the proxy error event (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/common/extensions/docs
Patch Set: Created 9 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
Index: chrome/browser/extensions/extension_io_event_router.h
diff --git a/chrome/browser/extensions/extension_io_event_router.h b/chrome/browser/extensions/extension_io_event_router.h
index eae207ba1357a9892bc8e1ed0b62def1a3ec197e..dc8abb3d0064443ba72d6ecd804556d456baacb3 100644
--- a/chrome/browser/extensions/extension_io_event_router.h
+++ b/chrome/browser/extensions/extension_io_event_router.h
@@ -10,6 +10,7 @@
#include "base/ref_counted.h"
+class GURL;
class Profile;
// For now, this just forwards events from the IO thread to the
@@ -29,11 +30,22 @@ class ExtensionIOEventRouter
const std::string& event_name,
const std::string& event_args) const;
+ // Same as above, except the event is send to all extensions that have
Bernhard Bauer 2011/02/22 13:13:53 Nit: "sent".
+ // sufficient permissions.
+ void DispatchEventToRenderers(const std::string& event_name,
+ const std::string& event_args,
+ const GURL& event_url) const;
+
private:
void DispatchEventOnUIThread(const std::string& extension_id,
const std::string& event_name,
const std::string& event_args) const;
+ void DispatchEventToRenderersOnUIThread(
+ const std::string& event_name,
+ const std::string& event_args,
+ const GURL& event_url) const;
+
Profile* profile_;
DISALLOW_COPY_AND_ASSIGN(ExtensionIOEventRouter);
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_io_event_router.cc » ('j') | chrome/browser/extensions/extension_proxy_api.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698