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

Issue 109103003: Mojo: abstract interface implementation from generated Stub classes (Closed)

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

Description

Mojo: abstract interface implementation from generated Stub classes Remove RemotePtr<S>::SetPeer method in favor of an optionally NULL second constructor argument. (The reset method also gains an optionally NULL second argument.) R=davemoore@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243416

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add support for a null peer #

Patch Set 3 : Don't forget the compositor app #

Patch Set 4 : rebase #

Patch Set 5 : fix the build #

Patch Set 6 : fix build #

Patch Set 7 : rebase + fix build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -82 lines) Patch
M mojo/examples/aura_demo/aura_demo.cc View 1 2 3 4 5 6 1 chunk +2 lines, -4 lines 0 comments Download
M mojo/examples/aura_demo/root_window_host_mojo.h View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/examples/aura_demo/root_window_host_mojo.cc View 1 2 3 4 5 6 2 chunks +2 lines, -3 lines 0 comments Download
M mojo/examples/compositor_app/compositor_app.cc View 1 2 3 4 5 2 chunks +4 lines, -6 lines 0 comments Download
M mojo/examples/compositor_app/gles2_client_impl.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M mojo/examples/compositor_app/gles2_client_impl.cc View 1 2 3 4 5 6 1 chunk +1 line, -2 lines 0 comments Download
M mojo/examples/sample_app/gles2_client_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M mojo/examples/sample_app/gles2_client_impl.cc View 1 chunk +1 line, -2 lines 0 comments Download
M mojo/examples/sample_app/sample_app.cc View 2 chunks +4 lines, -6 lines 0 comments Download
M mojo/public/bindings/generators/cpp_templates/interface_definition.tmpl View 2 chunks +5 lines, -1 line 0 comments Download
M mojo/public/bindings/generators/cpp_templates/interface_stub_declaration.tmpl View 1 chunk +6 lines, -1 line 0 comments Download
M mojo/public/bindings/lib/remote_ptr.h View 1 5 chunks +14 lines, -15 lines 0 comments Download
M mojo/public/bindings/sample/sample_service_unittests.cc View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download
M mojo/public/tests/bindings_handle_passing_unittest.cc View 2 chunks +4 lines, -6 lines 0 comments Download
M mojo/public/tests/bindings_remote_ptr_unittest.cc View 4 chunks +6 lines, -8 lines 0 comments Download
M mojo/services/gles2/gles2_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/gles2/gles2_impl.cc View 1 chunk +1 line, -2 lines 0 comments Download
M mojo/services/native_viewport/native_viewport_service.h View 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/native_viewport/native_viewport_service.cc View 3 chunks +3 lines, -5 lines 0 comments Download
M mojo/shell/service_manager.cc View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M mojo/shell/service_manager_unittest.cc View 1 2 3 4 3 chunks +6 lines, -9 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
darin (slow to review)
This patch is a work in progress, but I wanted to get some input on ...
6 years, 12 months ago (2013-12-27 16:49:53 UTC) #1
DaveMoore
I like the simplification of creating remoteptrs https://codereview.chromium.org/109103003/diff/1/mojo/services/native_viewport/native_viewport_service.cc File mojo/services/native_viewport/native_viewport_service.cc (right): https://codereview.chromium.org/109103003/diff/1/mojo/services/native_viewport/native_viewport_service.cc#newcode28 mojo/services/native_viewport/native_viewport_service.cc:28: : public ...
6 years, 12 months ago (2013-12-27 17:58:55 UTC) #2
darin (slow to review)
On 2013/12/27 17:58:55, DaveMoore wrote: > I like the simplification of creating remoteptrs > > ...
6 years, 11 months ago (2014-01-07 05:32:25 UTC) #3
darin (slow to review)
PTAL
6 years, 11 months ago (2014-01-07 05:45:11 UTC) #4
DaveMoore
lgtm
6 years, 11 months ago (2014-01-07 22:01:41 UTC) #5
darin (slow to review)
6 years, 11 months ago (2014-01-07 22:42:00 UTC) #6
Message was sent while issue was closed.
Committed patchset #7 manually as r243416 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698