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

Unified Diff: extensions/renderer/api_binding.h

Issue 2438623002: [Extensions Bindings] Add APIBindingsSystem (Closed)
Patch Set: rebase Created 4 years, 2 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: extensions/renderer/api_binding.h
diff --git a/extensions/renderer/api_binding.h b/extensions/renderer/api_binding.h
index fd3501b71afabd1431eebeb82172c988b4e2df27..040613fffd31e2ba8f47a8fef3af94ddf572572b 100644
--- a/extensions/renderer/api_binding.h
+++ b/extensions/renderer/api_binding.h
@@ -80,6 +80,9 @@ class APIBinding {
const APISignature* signature,
gin::Arguments* args);
+ // The root name of the API, e.g. "tabs" for chrome.tabs.
+ std::string api_name_;
+
// A map from method name to expected signature.
std::map<std::string, std::unique_ptr<APISignature>> signatures_;

Powered by Google App Engine
This is Rietveld 408576698