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

Unified Diff: extensions/browser/event_router.h

Issue 2898383002: [Extensions] Make Event::restrict_to_browser_context const. (Closed)
Patch Set: Created 3 years, 7 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 48bc266980cce4ce121f64a3402d8afbc5926e8a..ae4d31a60a2b52036261d35ebd8983a67ed2a03a 100644
--- a/extensions/browser/event_router.h
+++ b/extensions/browser/event_router.h
@@ -366,7 +366,7 @@ struct Event {
// If non-NULL, then the event will not be sent to other BrowserContexts
Devlin 2017/05/24 16:08:19 nit: s/NULL/null
lazyboy 2017/05/24 19:19:33 Done.
// unless the extension has permission (e.g. incognito tab update -> normal
// tab only works if extension is allowed incognito access).
- content::BrowserContext* restrict_to_browser_context;
+ content::BrowserContext* const restrict_to_browser_context;
// If not empty, the event is only sent to extensions with host permissions
// for this url.

Powered by Google App Engine
This is Rietveld 408576698