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

Unified Diff: extensions/renderer/dispatcher_delegate.h

Issue 442553002: Remove unneccessary arguments from extensions::DispatcherDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « extensions/renderer/dispatcher.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/dispatcher_delegate.h
diff --git a/extensions/renderer/dispatcher_delegate.h b/extensions/renderer/dispatcher_delegate.h
index 7e0e70d71760cb0929049d4866e2c51cd493c232..ba5ee60a7d875e12a08185b9cf929b4209b19527 100644
--- a/extensions/renderer/dispatcher_delegate.h
+++ b/extensions/renderer/dispatcher_delegate.h
@@ -42,7 +42,7 @@ class DispatcherDelegate {
virtual void InitOriginPermissions(const Extension* extension,
bool is_extension_active) {}
- // Includes additional native handlers in a given ModuleSystem.
+ // Includes additional native handlers in a ScriptContext's ModuleSystem.
virtual void RegisterNativeHandlers(Dispatcher* dispatcher,
ModuleSystem* module_system,
ScriptContext* context) {}
@@ -51,9 +51,7 @@ class DispatcherDelegate {
virtual void PopulateSourceMap(ResourceBundleSourceMap* source_map) {}
// Requires additional modules within an extension context's module system.
- virtual void RequireAdditionalModules(ModuleSystem* module_system,
- const Extension* extension,
- Feature::Context context_type,
+ virtual void RequireAdditionalModules(ScriptContext* context,
bool is_within_platform_app) {}
// Allows the delegate to respond to an updated set of active extensions in
« no previous file with comments | « extensions/renderer/dispatcher.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698