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

Unified Diff: extensions/renderer/storage_area.h

Issue 2716883003: [Extensions Bindings] Store API type methods in the reference map (Closed)
Patch Set: . 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/renderer/api_type_reference_map.cc ('k') | extensions/renderer/storage_area.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/storage_area.h
diff --git a/extensions/renderer/storage_area.h b/extensions/renderer/storage_area.h
index 159fd9e5f77657eb34e9d63cdbcfda9e933e1608..fbe6df3a6f5d8f10d5f737901796c10c2975325f 100644
--- a/extensions/renderer/storage_area.h
+++ b/extensions/renderer/storage_area.h
@@ -5,7 +5,6 @@
#ifndef EXTENSIONS_RENDERER_STORAGE_AREA_H_
#define EXTENSIONS_RENDERER_STORAGE_AREA_H_
-#include <map>
#include <string>
#include "base/macros.h"
@@ -18,7 +17,6 @@ class Arguments;
namespace extensions {
class APIRequestHandler;
-class APISignature;
class APITypeReferenceMap;
// Implementation of the storage.StorageArea custom type used in the
@@ -41,22 +39,12 @@ class StorageArea {
gin::Arguments* arguments);
private:
- // Returns the schema associated with the specified function.
- // TODO(devlin): Other custom types will need this, too; move it out of here
- // when more exist.
- const APISignature& GetFunctionSchema(base::StringPiece api_name,
- base::StringPiece type_name,
- base::StringPiece function_name);
-
APIRequestHandler* request_handler_;
const APITypeReferenceMap* type_refs_;
std::string name_;
- // TODO(devlin): See GetFunctionSchema.
- std::map<std::string, std::unique_ptr<APISignature>> signatures_;
-
DISALLOW_COPY_AND_ASSIGN(StorageArea);
};
« no previous file with comments | « extensions/renderer/api_type_reference_map.cc ('k') | extensions/renderer/storage_area.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698