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

Unified Diff: chrome/renderer/extensions/tabs_custom_bindings.cc

Issue 1866103002: [Extensions] Expand bindings access checks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Latest master Created 4 years, 8 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/tabs_custom_bindings.cc
diff --git a/chrome/renderer/extensions/tabs_custom_bindings.cc b/chrome/renderer/extensions/tabs_custom_bindings.cc
index 2459f96d068d7faddd84665944a78fe1eac0f7a5..206a9ee033bea491eedba39b4d612815bafcf082 100644
--- a/chrome/renderer/extensions/tabs_custom_bindings.cc
+++ b/chrome/renderer/extensions/tabs_custom_bindings.cc
@@ -18,9 +18,9 @@ namespace extensions {
TabsCustomBindings::TabsCustomBindings(ScriptContext* context)
: ObjectBackedNativeHandler(context) {
- RouteFunction("OpenChannelToTab",
- base::Bind(&TabsCustomBindings::OpenChannelToTab,
- base::Unretained(this)));
+ RouteFunction("OpenChannelToTab", "tabs",
+ base::Bind(&TabsCustomBindings::OpenChannelToTab,
+ base::Unretained(this)));
}
void TabsCustomBindings::OpenChannelToTab(
« no previous file with comments | « chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.cc ('k') | chrome/renderer/extensions/webstore_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698