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

Unified Diff: chrome/renderer/extensions/v8_schema_registry.h

Issue 15091002: Lazily load API schemas from resource files and convert all APIs to features (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: changes Created 7 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
Index: chrome/renderer/extensions/v8_schema_registry.h
diff --git a/chrome/renderer/extensions/v8_schema_registry.h b/chrome/renderer/extensions/v8_schema_registry.h
index c479372e18cc96379fc8c9367000ec5b06758f28..3b0066bb30581eb3bf733f98fb95d8c96c25ef88 100644
--- a/chrome/renderer/extensions/v8_schema_registry.h
+++ b/chrome/renderer/extensions/v8_schema_registry.h
@@ -6,8 +6,8 @@
#define CHROME_RENDERER_EXTENSIONS_V8_SCHEMA_REGISTRY_H_
#include <map>
-#include <set>
#include <string>
+#include <vector>
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
@@ -28,7 +28,7 @@ class V8SchemaRegistry {
scoped_ptr<NativeHandler> AsNativeHandler();
// Returns a v8::Array with all the schemas for the APIs in |apis|.
- v8::Handle<v8::Array> GetSchemas(const std::set<std::string>& apis);
+ v8::Handle<v8::Array> GetSchemas(const std::vector<std::string>& apis);
// Returns a v8::Object for the schema for |api|, possibly from the cache.
v8::Handle<v8::Object> GetSchema(const std::string& api);

Powered by Google App Engine
This is Rietveld 408576698