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

Issue 1423063004: Allow Chrome to bind an Application request from mojo_runner. (Closed)

Created:
5 years, 1 month ago by Ben Goodger (Google)
Modified:
5 years, 1 month ago
Reviewers:
sky
CC:
chromium-reviews, rjkroege, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@callback
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow Chrome to bind an Application request from mojo_runner. When chrome.exe is run from mojo_runner, block on startup until the InterfaceRequest<Application> is bound, and a message loop is run until the runner's shell sends Initialize(). R=sky@chromium.org http://crbug.com/548694 Committed: https://crrev.com/2b4a62d4282df3fe69696925a6b84fdca1df2d0f Cr-Commit-Position: refs/heads/master@{#358145} Committed: https://crrev.com/0cc0be91569cbc1942803b01a5c8001f58e48328 Cr-Commit-Position: refs/heads/master@{#358668}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 2

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : . #

Total comments: 3

Patch Set 7 : . #

Patch Set 8 : . #

Patch Set 9 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -17 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/DEPS View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chrome_browser_main.h View 1 2 3 4 5 6 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/chrome_browser_main.cc View 1 2 3 4 5 6 7 8 3 chunks +12 lines, -0 lines 0 comments Download
A chrome/browser/mojo_runner_state.h View 1 2 3 4 5 6 1 chunk +41 lines, -0 lines 0 comments Download
A chrome/browser/mojo_runner_state.cc View 1 2 3 4 5 6 1 chunk +39 lines, -0 lines 0 comments Download
A chrome/browser/mojo_runner_util.h View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
A + chrome/browser/mojo_runner_util.cc View 1 2 3 4 1 chunk +3 lines, -8 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M components/mus/example/main/main_application_delegate.cc View 1 chunk +1 line, -0 lines 0 comments Download
M mojo/application/public/cpp/application_impl.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M mojo/application/public/cpp/lib/application_impl.cc View 1 2 3 4 2 chunks +10 lines, -5 lines 0 comments Download
M mojo/runner/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -4 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 23 (8 generated)
Ben Goodger (Google)
5 years, 1 month ago (2015-11-04 23:29:40 UTC) #2
sky
https://codereview.chromium.org/1423063004/diff/40001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/1423063004/diff/40001/chrome/browser/chrome_browser_main.cc#newcode590 chrome/browser/chrome_browser_main.cc:590: base::MessageLoop::current()->Run(); You sure you want to run a nested ...
5 years, 1 month ago (2015-11-05 00:29:34 UTC) #3
Ben Goodger (Google)
So to do this I'd have to bind the Application request on the other thread, ...
5 years, 1 month ago (2015-11-05 04:55:47 UTC) #4
sky
Good point. As ApplicationImpl hides the binding you don't have a good way to move ...
5 years, 1 month ago (2015-11-05 17:07:57 UTC) #5
Ben Goodger (Google)
PTAL
5 years, 1 month ago (2015-11-05 19:16:51 UTC) #6
sky
LGTM https://codereview.chromium.org/1423063004/diff/80001/chrome/browser/chrome_browser_main.h File chrome/browser/chrome_browser_main.h (right): https://codereview.chromium.org/1423063004/diff/80001/chrome/browser/chrome_browser_main.h#newcode23 chrome/browser/chrome_browser_main.h:23: class ChromeApplicationDelegate; remove this (it is only needed ...
5 years, 1 month ago (2015-11-05 19:21:29 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1423063004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1423063004/100001
5 years, 1 month ago (2015-11-05 19:28:10 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/136648)
5 years, 1 month ago (2015-11-05 20:13:37 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1423063004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1423063004/100001
5 years, 1 month ago (2015-11-05 21:34:50 UTC) #14
commit-bot: I haz the power
Committed patchset #7 (id:100001)
5 years, 1 month ago (2015-11-05 22:13:56 UTC) #15
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/2b4a62d4282df3fe69696925a6b84fdca1df2d0f Cr-Commit-Position: refs/heads/master@{#358145}
5 years, 1 month ago (2015-11-05 22:14:54 UTC) #16
nasko
A revert of this CL (patchset #7 id:100001) has been created in https://codereview.chromium.org/1427393002/ by nasko@chromium.org. ...
5 years, 1 month ago (2015-11-05 23:24:11 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1423063004/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1423063004/140001
5 years, 1 month ago (2015-11-09 20:16:56 UTC) #21
commit-bot: I haz the power
Committed patchset #9 (id:140001)
5 years, 1 month ago (2015-11-09 21:49:13 UTC) #22
commit-bot: I haz the power
5 years, 1 month ago (2015-11-09 21:50:03 UTC) #23
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/0cc0be91569cbc1942803b01a5c8001f58e48328
Cr-Commit-Position: refs/heads/master@{#358668}

Powered by Google App Engine
This is Rietveld 408576698