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

Unified Diff: extensions/renderer/v8_context_native_handler.cc

Issue 1866103002: [Extensions] Expand bindings access checks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: extensions/renderer/v8_context_native_handler.cc
diff --git a/extensions/renderer/v8_context_native_handler.cc b/extensions/renderer/v8_context_native_handler.cc
index 7dbc2b8d69f5874a7faad72168d8da5e9a7934a2..af898919d9e27298ad448483631fbcb47901e41d 100644
--- a/extensions/renderer/v8_context_native_handler.cc
+++ b/extensions/renderer/v8_context_native_handler.cc
@@ -23,10 +23,9 @@ V8ContextNativeHandler::V8ContextNativeHandler(ScriptContext* context,
RouteFunction("GetModuleSystem",
base::Bind(&V8ContextNativeHandler::GetModuleSystem,
base::Unretained(this)));
- RouteFunction(
- "RunWithNativesEnabled",
- base::Bind(&V8ContextNativeHandler::RunWithNativesEnabled,
- base::Unretained(this)));
+ RouteFunction("RunWithNativesEnabled", "test",
+ base::Bind(&V8ContextNativeHandler::RunWithNativesEnabled,
+ base::Unretained(this)));
}
void V8ContextNativeHandler::GetAvailability(
« extensions/renderer/print_native_handler.h ('K') | « extensions/renderer/test_native_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698