Index: extensions/renderer/bindings/api_bindings_system_unittest.cc |
diff --git a/extensions/renderer/bindings/api_bindings_system_unittest.cc b/extensions/renderer/bindings/api_bindings_system_unittest.cc |
index 6c0eb0af779392e8618923df1e3dc91803373113..aea5e566cb29248c00f2dcb80a1a53fee834ba97 100644 |
--- a/extensions/renderer/bindings/api_bindings_system_unittest.cc |
+++ b/extensions/renderer/bindings/api_bindings_system_unittest.cc |
@@ -94,6 +94,11 @@ bool AllowAllAPIs(v8::Local<v8::Context> context, const std::string& name) { |
return true; |
} |
+void DoNothingWithSilentRequest( |
+ v8::Local<v8::Context> context, |
+ const std::string& call_name, |
+ const std::vector<v8::Local<v8::Value>>& arguments) {} |
+ |
} // namespace |
APIBindingsSystemTest::APIBindingsSystemTest() {} |
@@ -118,6 +123,7 @@ void APIBindingsSystemTest::SetUp() { |
base::Bind(&APIBindingsSystemTest::OnAPIRequest, base::Unretained(this)), |
base::Bind(&APIBindingsSystemTest::OnEventListenersChanged, |
base::Unretained(this)), |
+ base::Bind(&DoNothingWithSilentRequest), |
APILastError(base::Bind(&APIBindingsSystemTest::GetLastErrorParent, |
base::Unretained(this)), |
APILastError::AddConsoleError())); |