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

Issue 1983263002: Replace ApplicationImpl::CreateApplicationConnector() with a standalone helper function. (Closed)

Created:
4 years, 7 months ago by viettrungluu
Modified:
4 years, 7 months ago
Reviewers:
vardhan
CC:
mojo-reviews_chromium.org, gregsimon, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org, yzshen+mojopublicwatch_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Replace ApplicationImpl::CreateApplicationConnector() with a standalone helper function. I want to hollow out ApplicationImpl. Admittedly, even the standalone helper function adds little value over just doing shell->CreateApplicationConnector(GetProxy(&foo)), though it's nice in certain places to have a return value. (On the other hand, you'll always get an InterfaceHandle, whereas you may have wanted an InterfacePtr or SynchronousInterfacePtr.) R=vardhan@google.com Committed: https://chromium.googlesource.com/external/mojo/+/1e926e4233a7e88039950e5b3212b19d5a63ff5a

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -35 lines) Patch
M examples/ui/noodles/noodles_view.cc View 2 chunks +6 lines, -4 lines 0 comments Download
M mojo/public/cpp/application/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M mojo/public/cpp/application/application_impl.h View 3 chunks +1 line, -8 lines 0 comments Download
M mojo/public/cpp/application/application_test_base.h View 1 chunk +2 lines, -0 lines 0 comments Download
M mojo/public/cpp/application/connect.h View 2 chunks +5 lines, -0 lines 0 comments Download
M mojo/public/cpp/application/lib/application_impl.cc View 2 chunks +3 lines, -12 lines 0 comments Download
M mojo/public/cpp/application/lib/application_test_base.cc View 3 chunks +8 lines, -6 lines 0 comments Download
A mojo/public/cpp/application/lib/connect.cc View 1 chunk +17 lines, -0 lines 0 comments Download
M mojo/ui/ganesh_view.cc View 2 chunks +2 lines, -1 line 0 comments Download
M mojo/ui/gl_renderer_apptest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M mojo/ui/gl_view.cc View 2 chunks +2 lines, -1 line 0 comments Download
M shell/shell_apptest.cc View 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
viettrungluu
4 years, 7 months ago (2016-05-17 20:14:29 UTC) #1
vardhan
lgtm
4 years, 7 months ago (2016-05-17 20:46:21 UTC) #2
viettrungluu
4 years, 7 months ago (2016-05-17 21:01:39 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
1e926e4233a7e88039950e5b3212b19d5a63ff5a (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698