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

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

Issue 11571014: Lazy load chrome.* APIs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android compilation Created 7 years, 9 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 0dd73c57ec7e99c22649f5c11d1abee743617484..60fbace9b1736a8a9bae06f0ef6a552163f4a6ae 100644
--- a/chrome/renderer/extensions/app_runtime_custom_bindings.cc
+++ b/chrome/renderer/extensions/app_runtime_custom_bindings.cc
@@ -55,8 +55,9 @@ v8::Handle<v8::Value> CreateBlob(const v8::Arguments &args) {
namespace extensions {
-AppRuntimeCustomBindings::AppRuntimeCustomBindings()
- : ChromeV8Extension(NULL) {
+AppRuntimeCustomBindings::AppRuntimeCustomBindings(
+ Dispatcher* dispatcher,
+ v8::Handle<v8::Context> context) : ChromeV8Extension(dispatcher, context) {
RouteStaticFunction("DeserializeString", &DeserializeString);
RouteStaticFunction("SerializeToString", &SerializeToString);
RouteStaticFunction("CreateBlob", &CreateBlob);
« no previous file with comments | « chrome/renderer/extensions/app_runtime_custom_bindings.h ('k') | chrome/renderer/extensions/app_window_custom_bindings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698