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

Unified Diff: chrome/renderer/extensions/dispatcher.h

Issue 234413005: Move most of ChromeV8Context to a base ScriptContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: factor feature_channel out of module_system Created 6 years, 8 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 | « chrome/renderer/extensions/css_native_handler.h ('k') | chrome/renderer/extensions/dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/extensions/dispatcher.h
diff --git a/chrome/renderer/extensions/dispatcher.h b/chrome/renderer/extensions/dispatcher.h
index 6ce0f62ecffca2d962044820ba9cc2a3de256e99..a68d8a241ebe98f018e8c6aacc4ec41b457c6414 100644
--- a/chrome/renderer/extensions/dispatcher.h
+++ b/chrome/renderer/extensions/dispatcher.h
@@ -53,6 +53,7 @@ class Extension;
class FilteredEventRouter;
class ManifestPermissionSet;
class RequestSender;
+class ScriptContext;
class UserScriptSlave;
struct Message;
@@ -127,8 +128,8 @@ class Dispatcher : public content::RenderProcessObserver {
// Checks that the current context contains an extension that has permission
// to execute the specified function. If it does not, a v8 exception is thrown
// and the method returns false. Otherwise returns true.
- bool CheckContextAccessToExtensionAPI(
- const std::string& function_name, ChromeV8Context* context) const;
+ bool CheckContextAccessToExtensionAPI(const std::string& function_name,
+ ScriptContext* context) const;
// Dispatches the event named |event_name| to all render views.
void DispatchEvent(const std::string& extension_id,
« no previous file with comments | « chrome/renderer/extensions/css_native_handler.h ('k') | chrome/renderer/extensions/dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698