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

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

Issue 11440004: Remove deprecated extension EventRouter APIs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: compile Created 8 years 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 | « chrome/browser/extensions/browser_event_router.cc ('k') | chrome/browser/extensions/event_router.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/event_router.h
diff --git a/chrome/browser/extensions/event_router.h b/chrome/browser/extensions/event_router.h
index a3c6061065657baed1955bfb7f5075b5ca301d74..eb30f780c2e64acea8374f8c0a2d062ba30e183b 100644
--- a/chrome/browser/extensions/event_router.h
+++ b/chrome/browser/extensions/event_router.h
@@ -131,52 +131,6 @@ class EventRouter : public content::NotificationObserver,
virtual void DispatchEventToExtension(const std::string& extension_id,
scoped_ptr<Event> event);
- // TODO(mpcomplete): DEPRECATED. Remove this. http://crbug.com/163246
- // Send an event to every registered extension renderer. If
- // |restrict_to_profile| is non-NULL, then the event will not be sent to other
- // profiles unless the extension has permission (e.g. incognito tab update ->
- // normal profile only works if extension is allowed incognito access). If
- // |event_url| is not empty, the event is only sent to extension with host
- // permissions for this url.
- void DispatchEventToRenderers(const std::string& event_name,
- scoped_ptr<base::ListValue> event_args,
- Profile* restrict_to_profile,
- const GURL& event_url,
- EventFilteringInfo info);
-
- // TODO(mpcomplete): DEPRECATED. Remove this. http://crbug.com/163246
- // As above, but defaults |info| to EventFilteringInfo().
- void DispatchEventToRenderers(const std::string& event_name,
- scoped_ptr<base::ListValue> event_args,
- Profile* restrict_to_profile,
- const GURL& event_url);
-
- // TODO(mpcomplete): DEPRECATED. Remove this. http://crbug.com/163246
- // As above, but enables sending an explicit user gesture indicator.
- void DispatchEventToRenderers(const std::string& event_name,
- scoped_ptr<ListValue> event_args,
- Profile* restrict_to_profile,
- const GURL& event_url,
- UserGestureState user_gesture);
-
- // TODO(mpcomplete): DEPRECATED. Remove this. http://crbug.com/163246
- // Same as above, except only send the event to the given extension.
- virtual void DispatchEventToExtension(const std::string& extension_id,
- const std::string& event_name,
- scoped_ptr<base::ListValue> event_args,
- Profile* restrict_to_profile,
- const GURL& event_url);
-
- // TODO(mpcomplete): DEPRECATED. Remove this. http://crbug.com/163246
- // Dispatch an event to particular extension. Also include an
- // explicit user gesture indicator.
- virtual void DispatchEventToExtension(const std::string& extension_id,
- const std::string& event_name,
- scoped_ptr<base::ListValue> event_args,
- Profile* restrict_to_profile,
- const GURL& event_url,
- UserGestureState user_gesture);
-
// Record the Event Ack from the renderer. (One less event in-flight.)
void OnEventAck(Profile* profile, const std::string& extension_id);
« no previous file with comments | « chrome/browser/extensions/browser_event_router.cc ('k') | chrome/browser/extensions/event_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698