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

Issue 1915053004: mus/chrome: Always wait for the mojo shell. (Closed)

Created:
4 years, 8 months ago by sadrul
Modified:
4 years, 7 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-reviews, darin (slow to review), darin-cc_chromium.org, jam, kalyank, qsr+mojo_chromium.org, sadrul, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mus/chrome: Always wait for the mojo shell in the browser process. When chrome is launched in mus, it always needs to block on Initialize to complete, regardless of whether run as 'chrome --mash' or as 'mojo_runner mojo:mash_session'. BUG=594852 Committed: https://crrev.com/2d26a030a05d92fbb7489d62cfb7759b8f045335 Cr-Commit-Position: refs/heads/master@{#389816}

Patch Set 1 #

Total comments: 2

Patch Set 2 : . #

Total comments: 2

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -54 lines) Patch
M chrome/app/mash/mash_runner.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/test/base/mojo_test_connector.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/test/base/mojo_test_connector.cc View 2 chunks +0 lines, -21 lines 0 comments Download
M content/browser/browser_main_loop.cc View 1 2 2 chunks +14 lines, -1 line 0 comments Download
M content/common/mojo/mojo_shell_connection_impl.h View 1 1 chunk +3 lines, -2 lines 0 comments Download
M content/common/mojo/mojo_shell_connection_impl.cc View 1 4 chunks +0 lines, -19 lines 0 comments Download
M content/public/common/content_switches.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/public/common/content_switches.cc View 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
sadrul
When 'mojo_runner mojo:mash_session' is run, chrome never launches. It does launch if --wait-for-mojo-shell flag is ...
4 years, 8 months ago (2016-04-25 22:14:25 UTC) #2
Ken Rockot(use gerrit already)
https://codereview.chromium.org/1915053004/diff/1/content/common/mojo/mojo_shell_connection_impl.cc File content/common/mojo/mojo_shell_connection_impl.cc (right): https://codereview.chromium.org/1915053004/diff/1/content/common/mojo/mojo_shell_connection_impl.cc#newcode43 content/common/mojo/mojo_shell_connection_impl.cc:43: return mojo_shell_connection_factory || IsRunningInMojoShell(); Unfortunately IsRunningInMojoShell is a misnomer, ...
4 years, 8 months ago (2016-04-25 23:29:35 UTC) #3
sadrul
https://codereview.chromium.org/1915053004/diff/1/content/common/mojo/mojo_shell_connection_impl.cc File content/common/mojo/mojo_shell_connection_impl.cc (right): https://codereview.chromium.org/1915053004/diff/1/content/common/mojo/mojo_shell_connection_impl.cc#newcode43 content/common/mojo/mojo_shell_connection_impl.cc:43: return mojo_shell_connection_factory || IsRunningInMojoShell(); On 2016/04/25 23:29:35, Ken Rockot ...
4 years, 8 months ago (2016-04-26 03:22:04 UTC) #4
Ken Rockot(use gerrit already)
content changes lgtm as non-owner, i'll defer to sky on test & mash changes. thanks! ...
4 years, 8 months ago (2016-04-26 03:28:56 UTC) #5
sadrul
sky@ for chrome/ owner review. jam@ for content/ owner review. https://codereview.chromium.org/1915053004/diff/20001/content/browser/browser_main_loop.cc File content/browser/browser_main_loop.cc (right): https://codereview.chromium.org/1915053004/diff/20001/content/browser/browser_main_loop.cc#newcode1202 ...
4 years, 8 months ago (2016-04-26 03:43:35 UTC) #7
jam
lgtm
4 years, 7 months ago (2016-04-26 16:25:27 UTC) #9
sky
LGTM
4 years, 7 months ago (2016-04-26 16:44:10 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1915053004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1915053004/40001
4 years, 7 months ago (2016-04-26 17:33:20 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-04-26 17:37:36 UTC) #15
commit-bot: I haz the power
4 years, 7 months ago (2016-04-26 17:39:05 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/2d26a030a05d92fbb7489d62cfb7759b8f045335
Cr-Commit-Position: refs/heads/master@{#389816}

Powered by Google App Engine
This is Rietveld 408576698