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

Unified Diff: extensions/renderer/dispatcher.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/dispatcher.h
diff --git a/extensions/renderer/dispatcher.h b/extensions/renderer/dispatcher.h
index 87a45359386c2a0a78fdb6960be3e0b3e8ef479b..f8d6e26dc349c5686b459f601156e4c2d3f735e6 100644
--- a/extensions/renderer/dispatcher.h
+++ b/extensions/renderer/dispatcher.h
@@ -74,7 +74,7 @@ class Dispatcher : public content::RenderProcessObserver,
return function_names_;
}
- const ExtensionSet* extensions() const { return &extensions_; }
+ const ExtensionSet* extensions() const;
const ScriptContextSet& script_context_set() const {
return *script_context_set_;
@@ -256,11 +256,6 @@ class Dispatcher : public content::RenderProcessObserver,
// True if the IdleNotification timer should be set.
bool set_idle_notifications_;
- // Contains all loaded extensions. This is essentially the renderer
- // counterpart to ExtensionService in the browser. It contains information
- // about all extensions currently loaded by the browser.
- ExtensionSet extensions_;
-
// The IDs of extensions that failed to load, mapped to the error message
// generated on failure.
std::map<std::string, std::string> extension_load_errors_;

Powered by Google App Engine
This is Rietveld 408576698