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

Unified Diff: extensions/browser/event_router.cc

Issue 2494653005: Support API aliases (Closed)
Patch Set: rebase Created 4 years, 1 month 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.cc
diff --git a/extensions/browser/event_router.cc b/extensions/browser/event_router.cc
index 24b6224fae1a032132060e18cc51ba6e54b8f427..b1241a862dd04c69d21879435d7ec8c1190edb79 100644
--- a/extensions/browser/event_router.cc
+++ b/extensions/browser/event_router.cc
@@ -600,7 +600,7 @@ void EventRouter::DispatchEventToProcess(
Feature::Availability availability =
ExtensionAPI::GetSharedInstance()->IsAvailable(
- event->event_name, extension, target_context, listener_url);
+ event->event_name, extension, target_context, listener_url, true);
if (!availability.is_available()) {
// It shouldn't be possible to reach here, because access is checked on
// registration. However, for paranoia, check on dispatch as well.

Powered by Google App Engine
This is Rietveld 408576698