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

Unified Diff: extensions/renderer/js_extension_bindings_system.h

Issue 2494653005: Support API aliases (Closed)
Patch Set: . Created 4 years, 1 month 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/common/features/feature.cc ('k') | extensions/renderer/js_extension_bindings_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/js_extension_bindings_system.h
diff --git a/extensions/renderer/js_extension_bindings_system.h b/extensions/renderer/js_extension_bindings_system.h
index 06fe8069aadc98246be4781ed12416db38617eaa..0278e74ed9f0fe21b404e58f0d011482b9f4dab9 100644
--- a/extensions/renderer/js_extension_bindings_system.h
+++ b/extensions/renderer/js_extension_bindings_system.h
@@ -37,7 +37,9 @@ class JsExtensionBindingsSystem : public ExtensionBindingsSystem {
RequestSender* GetRequestSender() override;
private:
- void RegisterBinding(const std::string& api_name, ScriptContext* context);
+ void RegisterBinding(const std::string& api_name,
+ const std::string& api_bind_name,
+ ScriptContext* context);
ResourceBundleSourceMap* source_map_ = nullptr;
« no previous file with comments | « extensions/common/features/feature.cc ('k') | extensions/renderer/js_extension_bindings_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698