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

Issue 1485573002: Remove SimpleBroker and instead use the production broker implementation in tests. (Closed)

Created:
5 years ago by jam
Modified:
5 years ago
Reviewers:
yzshen1
CC:
chromium-reviews, 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@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove SimpleBroker and instead use the production broker implementation in tests. Now that we'll be using the broker for non-sandbox communication, all processes need to share state. This is better anyways to exercise the production code in tests. BUG=561803 Committed: https://crrev.com/bfab778c21d4cb4656dc03205662cddf84ee4ac7 Cr-Commit-Position: refs/heads/master@{#362157}

Patch Set 1 #

Patch Set 2 : fix gyp #

Patch Set 3 : fixes #

Patch Set 4 : fix html_viewer_unittests #

Total comments: 2

Patch Set 5 : review comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -184 lines) Patch
M components/html_viewer/run_all_unittests.cc View 1 2 3 1 chunk +16 lines, -34 lines 0 comments Download
M ipc/mojo/run_all_unittests.cc View 1 2 3 1 chunk +5 lines, -21 lines 0 comments Download
M mojo/edk/embedder/embedder.cc View 1 2 3 chunks +6 lines, -4 lines 0 comments Download
M mojo/edk/system/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
M mojo/edk/system/run_all_unittests.cc View 2 chunks +9 lines, -1 line 0 comments Download
D mojo/edk/system/simple_broker.h View 1 chunk +0 lines, -38 lines 0 comments Download
D mojo/edk/system/simple_broker.cc View 1 chunk +0 lines, -81 lines 0 comments Download
M mojo/edk/test/multiprocess_test_helper.h View 2 chunks +6 lines, -0 lines 0 comments Download
M mojo/edk/test/multiprocess_test_helper.cc View 1 2 3 4 5 chunks +20 lines, -0 lines 0 comments Download
M mojo/mojo_edk.gyp View 1 1 chunk +0 lines, -2 lines 0 comments Download
M mojo/runner/host/child_process.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 10 (4 generated)
jam
5 years ago (2015-11-30 16:11:42 UTC) #2
yzshen1
LGTM with one nit https://codereview.chromium.org/1485573002/diff/60001/mojo/edk/test/multiprocess_test_helper.cc File mojo/edk/test/multiprocess_test_helper.cc (right): https://codereview.chromium.org/1485573002/diff/60001/mojo/edk/test/multiprocess_test_helper.cc#newcode23 mojo/edk/test/multiprocess_test_helper.cc:23: const char kBrokerHandleSwitch[] = "broker-switch"; ...
5 years ago (2015-11-30 16:45:32 UTC) #3
jam
https://codereview.chromium.org/1485573002/diff/60001/mojo/edk/test/multiprocess_test_helper.cc File mojo/edk/test/multiprocess_test_helper.cc (right): https://codereview.chromium.org/1485573002/diff/60001/mojo/edk/test/multiprocess_test_helper.cc#newcode23 mojo/edk/test/multiprocess_test_helper.cc:23: const char kBrokerHandleSwitch[] = "broker-switch"; On 2015/11/30 16:45:32, yzshen1 ...
5 years ago (2015-11-30 16:49:20 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1485573002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1485573002/80001
5 years ago (2015-11-30 16:50:07 UTC) #7
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years ago (2015-11-30 17:54:46 UTC) #8
commit-bot: I haz the power
5 years ago (2015-11-30 17:55:32 UTC) #10
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/bfab778c21d4cb4656dc03205662cddf84ee4ac7
Cr-Commit-Position: refs/heads/master@{#362157}

Powered by Google App Engine
This is Rietveld 408576698