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

Issue 289063015: Mojo: Remove SetClient from generated interfaces (Closed)

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

Description

Mojo: Remove SetClient from generated interfaces Instead, we have InterfacePtr::set_client(..) and InterfaceImpl getting a client set on it internally. This simplifies InterfaceImpl quite a bit. BUG=374436 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272441

Patch Set 1 #

Patch Set 2 : fix comments #

Patch Set 3 : fix content_browsertests #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -77 lines) Patch
M content/browser/webui/web_ui_mojo_browsertest.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M content/child/mojo/mojo_application.cc View 1 chunk +1 line, -1 line 0 comments Download
M mojo/apps/js/test/js_to_cpp_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M mojo/aura/window_tree_host_mojo.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M mojo/examples/compositor_app/compositor_app.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M mojo/examples/pepper_container_app/pepper_container_app.cc View 1 chunk +1 line, -1 line 0 comments Download
M mojo/examples/sample_app/sample_app.cc View 1 chunk +1 line, -1 line 0 comments Download
M mojo/gles2/command_buffer_client_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/cpp/bindings/interface_impl.h View 1 2 3 3 chunks +2 lines, -7 lines 0 comments Download
M mojo/public/cpp/bindings/interface_ptr.h View 1 2 chunks +7 lines, -2 lines 0 comments Download
M mojo/public/cpp/bindings/lib/interface_impl_internal.h View 1 2 3 3 chunks +1 line, -6 lines 0 comments Download
M mojo/public/cpp/bindings/lib/interface_ptr_internal.h View 1 2 3 4 chunks +14 lines, -11 lines 0 comments Download
M mojo/public/cpp/bindings/no_interface.h View 1 chunk +0 lines, -1 line 0 comments Download
M mojo/public/cpp/bindings/tests/handle_passing_unittest.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/cpp/bindings/tests/sample_service_unittest.cc View 1 2 3 3 chunks +0 lines, -14 lines 0 comments Download
M mojo/public/cpp/shell/lib/service_connector.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl View 1 chunk +0 lines, -6 lines 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/interface_proxy_declaration.tmpl View 1 chunk +0 lines, -6 lines 0 comments Download
M mojo/service_manager/service_manager_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/public/cpp/view_manager/lib/view_manager_synchronizer.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/view_manager/view_manager_connection_unittest.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/shell/app_child_process_host.cc View 1 chunk +1 line, -1 line 0 comments Download
M mojo/shell/shell_test_helper.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
darin (slow to review)
6 years, 7 months ago (2014-05-17 05:10:01 UTC) #1
DaveMoore
LGTM Nit: We should be clear that you can call set_client() before or after the ...
6 years, 7 months ago (2014-05-20 20:20:00 UTC) #2
darin (slow to review)
On 2014/05/20 20:20:00, DaveMoore wrote: > LGTM > > Nit: We should be clear that ...
6 years, 7 months ago (2014-05-22 21:01:47 UTC) #3
darin (slow to review)
The CQ bit was checked by darin@chromium.org
6 years, 7 months ago (2014-05-22 21:02:13 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/289063015/60001
6 years, 7 months ago (2014-05-22 21:04:03 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-23 00:05:47 UTC) #6
commit-bot: I haz the power
6 years, 7 months ago (2014-05-23 07:57:22 UTC) #7
Message was sent while issue was closed.
Change committed as 272441

Powered by Google App Engine
This is Rietveld 408576698