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

Unified Diff: chrome/browser/extensions/extension_function_dispatcher.cc

Issue 8827013: Move/replace/rename URL-based extension getters from ExtensionService to/in ExtensionSet. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: extent Created 9 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
Index: chrome/browser/extensions/extension_function_dispatcher.cc
diff --git a/chrome/browser/extensions/extension_function_dispatcher.cc b/chrome/browser/extensions/extension_function_dispatcher.cc
index c5891bee75754587e7bf3768d5e66b74ff4b4689..da5bbb457aa201fee2ad7d177b74c8c8f0fed0b6 100644
--- a/chrome/browser/extensions/extension_function_dispatcher.cc
+++ b/chrome/browser/extensions/extension_function_dispatcher.cc
@@ -610,7 +610,7 @@ void ExtensionFunctionDispatcher::Dispatch(
const Extension* extension = service->GetExtensionById(
params.extension_id, false);
if (!extension)
- extension = service->GetExtensionByWebExtent(params.source_url);
+ extension = service->extensions()->GetByWebExtent(params.source_url);
abarth-chromium 2011/12/07 23:51:44 Ideally we'd have the SecurityOrigin here as well
Yoyo Zhou 2011/12/09 00:18:55 Done.
scoped_refptr<ExtensionFunction> function(
CreateExtensionFunction(params, extension,

Powered by Google App Engine
This is Rietveld 408576698