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

Issue 731293003: Use Binding instead of InterfaceImpl for ExampleService. (Closed)

Created:
6 years, 1 month ago by msw
Modified:
6 years, 1 month ago
Reviewers:
jamesr
CC:
mojo-reviews_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Project:
mojo
Visibility:
Public.

Description

Use Binding instead of InterfaceImpl for ExampleService. BUG=392646 TEST=mojo_shell mojo:example_apptests still works. R=jamesr@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/cb82b1fafb3591fe5cdeb6b22c84398014d15727

Patch Set 1 #

Patch Set 2 : Simplify ExampleClientImpl. #

Total comments: 11

Patch Set 3 : Address comments. #

Total comments: 2

Patch Set 4 : Revise comment. #

Patch Set 5 : Sync and rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -21 lines) Patch
M examples/apptest/example_client_impl.h View 1 1 chunk +4 lines, -4 lines 0 comments Download
M examples/apptest/example_client_impl.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M examples/apptest/example_service_application.h View 1 chunk +8 lines, -5 lines 0 comments Download
M examples/apptest/example_service_application.cc View 1 2 3 1 chunk +8 lines, -1 line 0 comments Download
M examples/apptest/example_service_impl.h View 1 2 3 1 chunk +10 lines, -6 lines 0 comments Download
M examples/apptest/example_service_impl.cc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
msw
Hey James, please take a look; and lmk what you think about an InterfaceFactoryImpl for ...
6 years, 1 month ago (2014-11-17 21:42:36 UTC) #2
jamesr
I think this version leaks. https://codereview.chromium.org/731293003/diff/20001/examples/apptest/example_service_application.cc File examples/apptest/example_service_application.cc (right): https://codereview.chromium.org/731293003/diff/20001/examples/apptest/example_service_application.cc#newcode26 examples/apptest/example_service_application.cc:26: new ExampleServiceImpl(request.Pass()); what controls ...
6 years, 1 month ago (2014-11-17 22:33:04 UTC) #3
msw
Please take another look; thanks! https://codereview.chromium.org/731293003/diff/20001/examples/apptest/example_service_application.cc File examples/apptest/example_service_application.cc (right): https://codereview.chromium.org/731293003/diff/20001/examples/apptest/example_service_application.cc#newcode26 examples/apptest/example_service_application.cc:26: new ExampleServiceImpl(request.Pass()); On 2014/11/17 ...
6 years, 1 month ago (2014-11-17 23:05:32 UTC) #4
jamesr
lgtm https://codereview.chromium.org/731293003/diff/40001/examples/apptest/example_service_impl.h File examples/apptest/example_service_impl.h (right): https://codereview.chromium.org/731293003/diff/40001/examples/apptest/example_service_impl.h#newcode26 examples/apptest/example_service_impl.h:26: // ExampleServiceImpl deletes itself on detecting a pipe ...
6 years, 1 month ago (2014-11-17 23:16:14 UTC) #5
msw
Landing, thanks! https://codereview.chromium.org/731293003/diff/40001/examples/apptest/example_service_impl.h File examples/apptest/example_service_impl.h (right): https://codereview.chromium.org/731293003/diff/40001/examples/apptest/example_service_impl.h#newcode26 examples/apptest/example_service_impl.h:26: // ExampleServiceImpl deletes itself on detecting a ...
6 years, 1 month ago (2014-11-17 23:27:03 UTC) #6
msw
6 years, 1 month ago (2014-11-17 23:28:14 UTC) #7
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
cb82b1fafb3591fe5cdeb6b22c84398014d15727 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698