diff options
author | ben <ben@chromium.org> | 2016-03-06 10:38:20 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-06 18:39:29 +0000 |
commit | 30c4d2845b7147994cb25e74528f4a70f356c194 (patch) | |
tree | ef88458fd143df10f5ab2bd89fb898370aa05614 /media/mojo | |
parent | 5e550b8e60166835de67988b18f23c95ca395f5f (diff) | |
download | chromium_src-30c4d2845b7147994cb25e74528f4a70f356c194.zip chromium_src-30c4d2845b7147994cb25e74528f4a70f356c194.tar.gz chromium_src-30c4d2845b7147994cb25e74528f4a70f356c194.tar.bz2 |
Add error codes to connect callbacks.
BUG=
Review URL: https://codereview.chromium.org/1767953002
Cr-Commit-Position: refs/heads/master@{#379494}
Diffstat (limited to 'media/mojo')
-rw-r--r-- | media/mojo/services/media_apptest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/mojo/services/media_apptest.cc b/media/mojo/services/media_apptest.cc index d61111d..27d68cc 100644 --- a/media/mojo/services/media_apptest.cc +++ b/media/mojo/services/media_apptest.cc @@ -60,7 +60,7 @@ class MediaAppTest : public mojo::test::ApplicationTestBase { ApplicationTestBase::SetUp(); connection_ = connector()->Connect("mojo:media"); - connection_->SetRemoteInterfaceProviderConnectionErrorHandler( + connection_->SetConnectionLostClosure( base::Bind(&MediaAppTest::ConnectionClosed, base::Unretained(this))); connection_->GetInterface(&service_factory_); |