summaryrefslogtreecommitdiffstats
path: root/mojo/service_manager
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-18 14:02:41 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-18 14:02:41 +0000
commit07ed1e38379d9ed184642180552fb89e6520c01e (patch)
treeb98466f2d6f10a18eb9fb0ad33b9a0334363133b /mojo/service_manager
parent2d6a14f3145dd14c604b0441a0c86b0cf1ddba6c (diff)
downloadchromium_src-07ed1e38379d9ed184642180552fb89e6520c01e.zip
chromium_src-07ed1e38379d9ed184642180552fb89e6520c01e.tar.gz
chromium_src-07ed1e38379d9ed184642180552fb89e6520c01e.tar.bz2
Mojo: Make overriding OnConnectionError optional
Using mojo::Application::AddService<ServiceImpl> results in the system taking care of error handling for you. There's no need to force ServiceImpl to override OnConnectionError in this case. Review URL: https://codereview.chromium.org/289873008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271287 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'mojo/service_manager')
-rw-r--r--mojo/service_manager/service_manager_unittest.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/mojo/service_manager/service_manager_unittest.cc b/mojo/service_manager/service_manager_unittest.cc
index 3d21dc8..cf87ffa 100644
--- a/mojo/service_manager/service_manager_unittest.cc
+++ b/mojo/service_manager/service_manager_unittest.cc
@@ -34,10 +34,6 @@ class TestServiceImpl : public InterfaceImpl<TestService> {
--context_->num_impls;
}
- // InterfaceImpl<TestService> implementation.
- virtual void OnConnectionError() OVERRIDE {
- }
-
// TestService implementation:
virtual void Test(const mojo::String& test_string) OVERRIDE {
context_->last_test_string = test_string.To<std::string>();