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

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

Issue 240603003: Remove ChromeV8Extension & most of ChromeV8Context (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 6 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/app_runtime_custom_bindings.cc
diff --git a/chrome/renderer/extensions/app_runtime_custom_bindings.cc b/chrome/renderer/extensions/app_runtime_custom_bindings.cc
index 1ff0de100bef9b4a42099464608ce2d9d118e61e..3d1016aaca56ddc241fd946ebfc3fc4dbc32652e 100644
--- a/chrome/renderer/extensions/app_runtime_custom_bindings.cc
+++ b/chrome/renderer/extensions/app_runtime_custom_bindings.cc
@@ -57,9 +57,8 @@ void CreateBlob(const v8::FunctionCallbackInfo<v8::Value> &args) {
namespace extensions {
-AppRuntimeCustomBindings::AppRuntimeCustomBindings(
- Dispatcher* dispatcher,
- ChromeV8Context* context) : ChromeV8Extension(dispatcher, context) {
+AppRuntimeCustomBindings::AppRuntimeCustomBindings(ScriptContext* context)
+ : ObjectBackedNativeHandler(context) {
RouteFunction("DeserializeString", base::Bind(&DeserializeString));
RouteFunction("SerializeToString", base::Bind(&SerializeToString));
RouteFunction("CreateBlob", base::Bind(&CreateBlob));

Powered by Google App Engine
This is Rietveld 408576698