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

Unified Diff: extensions/renderer/user_script_set.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
« no previous file with comments | « extensions/renderer/script_injection_manager.cc ('k') | extensions/renderer/user_script_set.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/user_script_set.h
diff --git a/extensions/renderer/user_script_set.h b/extensions/renderer/user_script_set.h
index a39a543bc3789fb30f54599f2129596055c50def..231722e8d1137920e11d5c5b96063af268a2e646 100644
--- a/extensions/renderer/user_script_set.h
+++ b/extensions/renderer/user_script_set.h
@@ -24,7 +24,6 @@ class RenderFrame;
}
namespace extensions {
-class ExtensionSet;
class ScriptInjection;
// The UserScriptSet is a collection of UserScripts which knows how to update
@@ -39,7 +38,7 @@ class UserScriptSet {
const std::vector<UserScript*>& scripts) = 0;
};
- explicit UserScriptSet(const ExtensionSet* extensions);
+ UserScriptSet();
~UserScriptSet();
// Adds or removes observers.
@@ -87,9 +86,6 @@ class UserScriptSet {
// Shared memory containing raw script data.
scoped_ptr<base::SharedMemory> shared_memory_;
- // The set of all known extensions. Owned by the Dispatcher.
- const ExtensionSet* extensions_;
-
// The UserScripts this injector manages.
ScopedVector<UserScript> scripts_;
« no previous file with comments | « extensions/renderer/script_injection_manager.cc ('k') | extensions/renderer/user_script_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698