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

Unified Diff: extensions/browser/event_router.h

Issue 404883002: Allow extension APIs to be called from WebUI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ken 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/event_router.h
diff --git a/extensions/browser/event_router.h b/extensions/browser/event_router.h
index 79a0c944d4eb06ddb3e43aebab6cb913e2d7f10f..af0fdfd3a1f4a47d9067223ee8f9318f99985a56 100644
--- a/extensions/browser/event_router.h
+++ b/extensions/browser/event_router.h
@@ -322,6 +322,9 @@ struct Event {
// allowing the caller to provide different arguments depending on the
// extension and profile. This is guaranteed to be called synchronously with
// DispatchEvent, so callers don't need to worry about lifetime.
+ //
+ // NOTE: the Extension argument to this may be NULL if it's possible for this
Charlie Reis 2014/07/22 21:10:24 nit: if -> because
not at google - send to devlin 2014/07/22 23:42:32 Done.
+ // event to be dispatched to non-extension processes, like WebUI.
WillDispatchCallback will_dispatch_callback;
// If true, this event will always be dispatched to ephemeral apps, regardless

Powered by Google App Engine
This is Rietveld 408576698