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

Unified Diff: extensions/renderer/api_binding_hooks_delegate.cc

Issue 2831453002: [Extensions Bindings] Move custom handling to APIBindingHooksDelegate (Closed)
Patch Set: . Created 3 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/api_binding_hooks_delegate.cc
diff --git a/extensions/renderer/api_binding_hooks_delegate.cc b/extensions/renderer/api_binding_hooks_delegate.cc
index 6516785409b18c944cef472366d40d1ba83f079e..03b1413d2af884aa8cf86f1534915dd93c7c10ea 100644
--- a/extensions/renderer/api_binding_hooks_delegate.cc
+++ b/extensions/renderer/api_binding_hooks_delegate.cc
@@ -16,4 +16,14 @@ bool APIBindingHooksDelegate::CreateCustomEvent(
return false;
}
+APIBindingHooks::RequestResult APIBindingHooksDelegate::HandleRequest(
+ const std::string& method_name,
+ const APISignature* signature,
+ v8::Local<v8::Context> context,
+ std::vector<v8::Local<v8::Value>>* arguments,
+ const APITypeReferenceMap& refs) {
+ return APIBindingHooks::RequestResult(
+ APIBindingHooks::RequestResult::NOT_HANDLED);
+}
+
} // namespace extensions
« no previous file with comments | « extensions/renderer/api_binding_hooks_delegate.h ('k') | extensions/renderer/api_binding_hooks_test_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698