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

Unified Diff: extensions/renderer/script_context.h

Issue 1293673002: Create thread-safe RendererExtensionRegistry from ExtensionSet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/renderer/script_context.h
diff --git a/extensions/renderer/script_context.h b/extensions/renderer/script_context.h
index 4a9531a15f760c3b4b1585693fd341a3444cf46c..b843a3b1ce3693d6a51446609107088673186190 100644
--- a/extensions/renderer/script_context.h
+++ b/extensions/renderer/script_context.h
@@ -31,7 +31,6 @@ class RenderFrame;
namespace extensions {
class Extension;
-class ExtensionSet;
// Extensions wrapper for a v8 context.
class ScriptContext : public RequestSender::Source {
@@ -48,8 +47,7 @@ class ScriptContext : public RequestSender::Source {
// as declared in each Extension's manifest.
// TODO(kalman): Delete this when crbug.com/466373 is fixed.
// See comment in HasAccessOrThrowError.
- static bool IsSandboxedPage(const ExtensionSet& extension_set,
- const GURL& url);
+ static bool IsSandboxedPage(const GURL& url);
// Clears the WebFrame for this contexts and invalidates the associated
// ModuleSystem.

Powered by Google App Engine
This is Rietveld 408576698