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

Unified Diff: gin/modules/module_registry.h

Issue 302463005: Add support for AMD to the extensions module system. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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/v8_schema_registry.cc ('k') | no next file » | no next file with comments »
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..6b1449151da796612f88f89836a175a48d2afdbf 100644
--- a/gin/modules/module_registry.h
+++ b/gin/modules/module_registry.h
@@ -75,6 +75,8 @@ class GIN_EXPORT ModuleRegistry {
return unsatisfied_dependencies_;
}
+ v8::Handle<v8::Value> GetModule(v8::Isolate* isolate, const std::string& id);
+
private:
typedef ScopedVector<PendingModule> PendingModuleVector;
typedef std::map<std::string, LoadModuleCallback> LoadModuleCallbackMap;
@@ -89,8 +91,6 @@ class GIN_EXPORT ModuleRegistry {
bool CheckDependencies(PendingModule* pending);
bool AttemptToLoad(v8::Isolate* isolate, scoped_ptr<PendingModule> pending);
- v8::Handle<v8::Value> GetModule(v8::Isolate* isolate, const std::string& id);
-
std::set<std::string> available_modules_;
std::set<std::string> unsatisfied_dependencies_;
« no previous file with comments | « extensions/renderer/v8_schema_registry.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698