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

Issue 289873008: Mojo: Make overriding OnConnectionError optional (Closed)

Created:
6 years, 7 months ago by darin (slow to review)
Modified:
6 years, 7 months ago
Reviewers:
sky
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Visibility:
Public.

Description

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. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271287

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -23 lines) Patch
M mojo/examples/launcher/launcher.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M mojo/public/cpp/bindings/interface_impl.h View 2 chunks +14 lines, -9 lines 0 comments Download
M mojo/service_manager/service_manager_unittest.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M mojo/services/dbus_echo/dbus_echo_service.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M mojo/services/native_viewport/native_viewport_service.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M mojo/services/view_manager/view_manager_connection.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M mojo/services/view_manager/view_manager_connection.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
darin (slow to review)
This is something Dave and I agreed to earlier in the week.
6 years, 7 months ago (2014-05-16 22:28:11 UTC) #1
sky
LGTM https://codereview.chromium.org/289873008/diff/1/mojo/public/cpp/bindings/interface_impl.h File mojo/public/cpp/bindings/interface_impl.h (right): https://codereview.chromium.org/289873008/diff/1/mojo/public/cpp/bindings/interface_impl.h#newcode35 mojo/public/cpp/bindings/interface_impl.h:35: // will be silently ignored. I'm surprised you're ...
6 years, 7 months ago (2014-05-16 22:38:52 UTC) #2
darin (slow to review)
https://codereview.chromium.org/289873008/diff/1/mojo/public/cpp/bindings/interface_impl.h File mojo/public/cpp/bindings/interface_impl.h (right): https://codereview.chromium.org/289873008/diff/1/mojo/public/cpp/bindings/interface_impl.h#newcode35 mojo/public/cpp/bindings/interface_impl.h:35: // will be silently ignored. On 2014/05/16 22:38:52, sky ...
6 years, 7 months ago (2014-05-17 01:48:26 UTC) #3
darin (slow to review)
The CQ bit was checked by darin@chromium.org
6 years, 7 months ago (2014-05-17 01:48:31 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/darin@chromium.org/289873008/1
6 years, 7 months ago (2014-05-17 01:51:35 UTC) #5
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-17 07:55:01 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-17 07:58:42 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/68273) linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/28129) linux_chromium_clang_dbg ...
6 years, 7 months ago (2014-05-17 07:58:42 UTC) #8
darin (slow to review)
The CQ bit was checked by darin@chromium.org
6 years, 7 months ago (2014-05-17 20:50:02 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/darin@chromium.org/289873008/20001
6 years, 7 months ago (2014-05-17 20:50:09 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-17 22:39:09 UTC) #11
commit-bot: I haz the power
6 years, 7 months ago (2014-05-18 14:02:45 UTC) #12
Message was sent while issue was closed.
Change committed as 271287

Powered by Google App Engine
This is Rietveld 408576698