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

Unified Diff: extensions/renderer/bindings/api_bindings_system_unittest.cc

Issue 2961103002: [Extensions Bindings] Add an ExceptionHandler class (Closed)
Patch Set: rebase + nits Created 3 years, 5 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
« no previous file with comments | « extensions/renderer/bindings/api_bindings_system.cc ('k') | extensions/renderer/bindings/api_last_error.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 aea5e566cb29248c00f2dcb80a1a53fee834ba97..0b02f93785b95d68d443f016c3a7696a14054727 100644
--- a/extensions/renderer/bindings/api_bindings_system_unittest.cc
+++ b/extensions/renderer/bindings/api_bindings_system_unittest.cc
@@ -123,10 +123,10 @@ void APIBindingsSystemTest::SetUp() {
base::Bind(&APIBindingsSystemTest::OnAPIRequest, base::Unretained(this)),
base::Bind(&APIBindingsSystemTest::OnEventListenersChanged,
base::Unretained(this)),
- base::Bind(&DoNothingWithSilentRequest),
+ base::Bind(&DoNothingWithSilentRequest), binding::AddConsoleError(),
APILastError(base::Bind(&APIBindingsSystemTest::GetLastErrorParent,
base::Unretained(this)),
- APILastError::AddConsoleError()));
+ binding::AddConsoleError()));
}
void APIBindingsSystemTest::TearDown() {
« no previous file with comments | « extensions/renderer/bindings/api_bindings_system.cc ('k') | extensions/renderer/bindings/api_last_error.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698