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

Unified Diff: extensions/common/extension_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 | « no previous file | extensions/common/extension_set.cc » ('j') | extensions/common/extension_set.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/extension_set.h
diff --git a/extensions/common/extension_set.h b/extensions/common/extension_set.h
index c46163faef6a9ffb53e19c07160bd98ec17c531f..36e0fa390a1420d54b9df6dbd2d14c0d4dc89b10 100644
--- a/extensions/common/extension_set.h
+++ b/extensions/common/extension_set.h
@@ -139,6 +139,8 @@ class ExtensionSet {
ExtensionMap extensions_;
+ mutable base::Lock runtime_lock_;
+
// If non-null, called with the extension ids in this set after a modification
// occurred. This is not called on Clear() which is typically used when
// discarding the set (e.g., on shutdown) and we do not want to track that as
« no previous file with comments | « no previous file | extensions/common/extension_set.cc » ('j') | extensions/common/extension_set.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698