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

Unified Diff: gin/modules/module_registry.h

Issue 373973003: Gin: Allow multiple callers to wait for the same module in ModuleRegistry. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | gin/modules/module_registry.cc » ('j') | gin/modules/module_registry.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gin/modules/module_registry.h
diff --git a/gin/modules/module_registry.h b/gin/modules/module_registry.h
index 5775a34a3db21ee563921fe55111bf721ec3f6bf..439207eaf3f51e6f6a590125567cc61c91904e46 100644
--- a/gin/modules/module_registry.h
+++ b/gin/modules/module_registry.h
@@ -77,7 +77,7 @@ class GIN_EXPORT ModuleRegistry {
private:
typedef ScopedVector<PendingModule> PendingModuleVector;
- typedef std::map<std::string, LoadModuleCallback> LoadModuleCallbackMap;
+ typedef std::multimap<std::string, LoadModuleCallback> LoadModuleCallbackMap;
explicit ModuleRegistry(v8::Isolate* isolate);
« no previous file with comments | « no previous file | gin/modules/module_registry.cc » ('j') | gin/modules/module_registry.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698