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

Issue 15731003: Make the browser->metro_viewer IPC channel name a constant instead of hardcoding it in a few places… (Closed)

Created:
7 years, 6 months ago by gab
Modified:
7 years, 6 months ago
Reviewers:
robertshield, sky
CC:
chromium-reviews, sadrul, ben+watch_chromium.org, robertshield
Visibility:
Public.

Description

Make the browser<-->metro_viewer IPC channel name a constant instead of hardcoding it in a few places and passing it via a flag. Supporting a more generic use case via flags was making things more complicated for no apparent reason (other than perhaps one day supporting a random-channel-id -- I removed that TODO in this CL). This simplification will make it easier to introduce some sort of --viewer-launch-via-appid-and-connect flag for https://codereview.chromium.org/16022003/ BUG=179830 TEST=Can still launch Ash in Metro. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207750

Patch Set 1 : #

Patch Set 2 : fix non-aura compile #

Patch Set 3 : merge up to r207243 #

Patch Set 4 : #

Patch Set 5 : Wrap command_execute_impl.cc::LaunchChromeBrowserProcess() in USE_AURA if defs to fix non-aura comp… #

Total comments: 4

Patch Set 6 : fix explicits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -67 lines) Patch
M ash/test/ash_test_base.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M ash/test/test_metro_viewer_process_host.h View 1 2 3 chunks +3 lines, -5 lines 0 comments Download
M ash/test/test_metro_viewer_process_host.cc View 1 2 2 chunks +5 lines, -17 lines 0 comments Download
M chrome/browser/browser_process_platform_part_aurawin.cc View 1 chunk +3 lines, -5 lines 0 comments Download
M chrome/browser/metro_viewer/chrome_metro_viewer_process_host_aurawin.h View 1 2 3 4 5 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/metro_viewer/chrome_metro_viewer_process_host_aurawin.cc View 1 2 1 chunk +4 lines, -6 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 2 chunks +5 lines, -4 lines 0 comments Download
M win8/delegate_execute/command_execute_impl.cc View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M win8/metro_driver/chrome_app_view_ash.cc View 1 2 2 chunks +3 lines, -9 lines 0 comments Download
M win8/metro_driver/metro_driver.gyp View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
A win8/viewer/metro_viewer_constants.h View 1 chunk +16 lines, -0 lines 0 comments Download
A win8/viewer/metro_viewer_constants.cc View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M win8/viewer/metro_viewer_process_host.h View 1 2 3 4 5 2 chunks +8 lines, -9 lines 0 comments Download
M win8/viewer/metro_viewer_process_host.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M win8/win8.gyp View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
gab
Greg, please take a look (and Robert when you have a chance). Cheers, Gab
7 years, 6 months ago (2013-05-29 20:35:49 UTC) #1
gab
Robert, throwing this your way since I intended you to be the reviewer, but originally ...
7 years, 6 months ago (2013-06-18 16:07:17 UTC) #2
robertshield
lgtm
7 years, 6 months ago (2013-06-20 19:19:58 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/15731003/16001
7 years, 6 months ago (2013-06-20 19:20:39 UTC) #4
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=10988
7 years, 6 months ago (2013-06-20 19:31:01 UTC) #5
gab
+sky for OWNER on ash/ and chrome/ Feel free to CQ. Thanks! Gab
7 years, 6 months ago (2013-06-20 21:17:31 UTC) #6
sky
LGTM with the following changes https://codereview.chromium.org/15731003/diff/29002/ash/test/test_metro_viewer_process_host.h File ash/test/test_metro_viewer_process_host.h (right): https://codereview.chromium.org/15731003/diff/29002/ash/test/test_metro_viewer_process_host.h#newcode18 ash/test/test_metro_viewer_process_host.h:18: TestMetroViewerProcessHost(base::SingleThreadTaskRunner* ipc_task_runner); explicit https://codereview.chromium.org/15731003/diff/29002/chrome/browser/metro_viewer/chrome_metro_viewer_process_host_aurawin.h ...
7 years, 6 months ago (2013-06-20 21:38:58 UTC) #7
gab
Ah, good catch, done! Thanks, Gab https://codereview.chromium.org/15731003/diff/29002/ash/test/test_metro_viewer_process_host.h File ash/test/test_metro_viewer_process_host.h (right): https://codereview.chromium.org/15731003/diff/29002/ash/test/test_metro_viewer_process_host.h#newcode18 ash/test/test_metro_viewer_process_host.h:18: TestMetroViewerProcessHost(base::SingleThreadTaskRunner* ipc_task_runner); On ...
7 years, 6 months ago (2013-06-20 21:52:39 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/15731003/39001
7 years, 6 months ago (2013-06-20 21:53:14 UTC) #9
commit-bot: I haz the power
7 years, 6 months ago (2013-06-21 07:50:00 UTC) #10
Message was sent while issue was closed.
Change committed as 207750

Powered by Google App Engine
This is Rietveld 408576698