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

Unified Diff: extensions/browser/event_router.cc

Issue 427983003: Change the default implementation of ExtensionFunction::HasPermission to use (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix failures Created 6 years, 4 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.cc
diff --git a/extensions/browser/event_router.cc b/extensions/browser/event_router.cc
index fd39a7b64e0472f117e1663df1fefeb0d60ff3fd..7c00c6aef713770b9f465db67b772343784dad2d 100644
--- a/extensions/browser/event_router.cc
+++ b/extensions/browser/event_router.cc
@@ -540,6 +540,8 @@ void EventRouter::DispatchEventToProcess(const std::string& extension_id,
BrowserContext* listener_context = process->GetBrowserContext();
ProcessMap* process_map = ProcessMap::Get(listener_context);
+ // TODO(kalman): Convert this method to use ProcessMap::GuessContextType.
+
const Extension* extension =
ExtensionRegistry::Get(browser_context_)->enabled_extensions().GetByID(
extension_id);

Powered by Google App Engine
This is Rietveld 408576698