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

Unified Diff: extensions/browser/info_map.cc

Issue 2686463003: [Extensions] Fix a data race in ChromeExtensionMessageFilter. (Closed)
Patch Set: [Extensions] Fix a data race in ChromeExtensionMessageFilter. Created 3 years, 10 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/browser/info_map.h ('k') | extensions/common/file_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/info_map.cc
diff --git a/extensions/browser/info_map.cc b/extensions/browser/info_map.cc
index c97832ca4b29d8d86b1bff953726ab4a9c272c65..7efb736535590b61a421c9b6937ea5ff74269e70 100644
--- a/extensions/browser/info_map.cc
+++ b/extensions/browser/info_map.cc
@@ -49,6 +49,16 @@ InfoMap::ExtraData::~ExtraData() {}
InfoMap::InfoMap() {
}
+const ExtensionSet& InfoMap::extensions() const {
+ CheckOnValidThread();
+ return extensions_;
+}
+
+const ExtensionSet& InfoMap::disabled_extensions() const {
+ CheckOnValidThread();
+ return disabled_extensions_;
+}
+
void InfoMap::AddExtension(const Extension* extension,
base::Time install_time,
bool incognito_enabled,
« no previous file with comments | « extensions/browser/info_map.h ('k') | extensions/common/file_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698