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

Issue 2620633004: Remove mojo::edk::test::ScopedIPCSupport (Closed)

Created:
3 years, 11 months ago by Ken Rockot(use gerrit already)
Modified:
3 years, 11 months ago
Reviewers:
jam
CC:
Aaron Boodman, abarth-chromium, blink-reviews, chromium-apps-reviews_chromium.org, chromium-reviews, chromoting-reviews_chromium.org, darin (slow to review), darin-cc_chromium.org, extensions-reviews_chromium.org, jam, kinuko+watch, mlamouri+watch-content_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove mojo::edk::test::ScopedIPCSupport ScopedIPCSupport has two separate and subtly different implementations: mojo::edk::test::ScopedIPCSupport for test-only use, and mojo::edk::ScopedIPCSupport for general-purpose use. This unifies them into a much simpler general-purpose ScopedIPCSupport implementation suitable for all practical environments. Also removes mojo::edk::ProcessDelegate, as it is abstraction overkill. Instead of InitIPCSupport taking a ProcessDelegate which goes unused until shutdown, ShutdownIPCSupport now simply takes a callback to be run upon completion. BUG=None R=jam@chromium.org TBR=haraken@chromium.org Review-Url: https://codereview.chromium.org/2620633004 Cr-Commit-Position: refs/heads/master@{#443539} Committed: https://chromium.googlesource.com/chromium/src/+/e5180e0e70f6511ec6f1398ad177e6d870232667

Patch Set 1 : . #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+247 lines, -390 lines) Patch
M base/threading/thread_restrictions.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/app_shim/chrome_main_app_mode_mac.mm View 1 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc View 1 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/service/service_process.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/test/base/mojo_test_connector.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/test/base/run_all_unittests.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M components/nacl/common/nacl_service.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M content/DEPS View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/browser_main_loop.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/child/child_thread_impl.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/public/test/render_view_test.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/public/test/render_view_test.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M content/renderer/render_thread_impl_browsertest.cc View 1 3 chunks +0 lines, -3 lines 0 comments Download
M content/test/BUILD.gn View 1 3 chunks +1 line, -3 lines 0 comments Download
M content/test/run_all_unittests.cc View 1 1 chunk +4 lines, -5 lines 0 comments Download
M extensions/BUILD.gn View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M extensions/test/DEPS View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M extensions/test/extensions_unittests_main.cc View 1 2 chunks +0 lines, -5 lines 0 comments Download
M ipc/ipc_mojo_bootstrap_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ipc/ipc_mojo_perftest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ipc/run_all_perftests.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
M ipc/run_all_unittests.cc View 1 2 chunks +4 lines, -5 lines 0 comments Download
M mojo/edk/embedder/BUILD.gn View 3 chunks +0 lines, -21 lines 0 comments Download
M mojo/edk/embedder/embedder.h View 2 chunks +9 lines, -13 lines 0 comments Download
M mojo/edk/embedder/embedder.cc View 5 chunks +8 lines, -15 lines 0 comments Download
M mojo/edk/embedder/embedder_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
D mojo/edk/embedder/process_delegate.h View 1 chunk +0 lines, -31 lines 0 comments Download
M mojo/edk/embedder/scoped_ipc_support.h View 1 2 3 4 5 1 chunk +93 lines, -9 lines 0 comments Download
M mojo/edk/embedder/scoped_ipc_support.cc View 1 2 1 chunk +20 lines, -42 lines 0 comments Download
M mojo/edk/system/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M mojo/edk/system/core.cc View 1 chunk +1 line, -9 lines 0 comments Download
M mojo/edk/test/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
M mojo/edk/test/run_all_perftests.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
M mojo/edk/test/run_all_unittests.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
D mojo/edk/test/scoped_ipc_support.h View 1 chunk +0 lines, -43 lines 0 comments Download
D mojo/edk/test/scoped_ipc_support.cc View 1 chunk +0 lines, -62 lines 0 comments Download
M mojo/public/cpp/bindings/tests/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M mojo/public/cpp/bindings/tests/e2e_perftest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M remoting/host/daemon_process_win.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M remoting/host/desktop_process_main.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M remoting/host/remoting_me2me_host.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M remoting/host/security_key/remote_security_key_main.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M remoting/host/security_key/security_key_auth_handler_win_unittest.cc View 1 3 chunks +4 lines, -3 lines 0 comments Download
M remoting/host/security_key/security_key_ipc_client_unittest.cc View 1 3 chunks +4 lines, -3 lines 0 comments Download
M remoting/host/security_key/security_key_ipc_server_unittest.cc View 1 3 chunks +4 lines, -3 lines 0 comments Download
M services/service_manager/public/cpp/standalone_service/standalone_service.cc View 1 3 chunks +12 lines, -37 lines 0 comments Download
M services/service_manager/runner/host/service_process_launcher_unittest.cc View 1 4 chunks +6 lines, -14 lines 0 comments Download
M services/service_manager/standalone/context.h View 4 chunks +3 lines, -5 lines 0 comments Download
M services/service_manager/standalone/context.cc View 2 chunks +6 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/BUILD.gn View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/testing/DEPS View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/testing/RunAllTests.cpp View 1 2 chunks +4 lines, -4 lines 0 comments Download
M tools/ipc_fuzzer/message_replay/replay_process.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M url/DEPS View 1 chunk +1 line, -2 lines 0 comments Download
M url/run_all_unittests.cc View 1 2 chunks +0 lines, -5 lines 0 comments Download

Messages

Total messages: 61 (53 generated)
Ken Rockot(use gerrit already)
PTAL as mojo and general toplevel OWNER. The main point of interest here is that ...
3 years, 11 months ago (2017-01-12 01:04:58 UTC) #25
Ken Rockot(use gerrit already)
Per our offline discussion, I've made clean shutdown optional. I chose to make the decision ...
3 years, 11 months ago (2017-01-12 21:29:06 UTC) #38
jam
lgtm with comment updates we discussed
3 years, 11 months ago (2017-01-12 22:11:50 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2620633004/210001
3 years, 11 months ago (2017-01-13 06:11:14 UTC) #52
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/341452)
3 years, 11 months ago (2017-01-13 06:19:03 UTC) #54
Ken Rockot(use gerrit already)
+TBR haraken for change to RunAllTests.cpp since the change does not modify behavior.
3 years, 11 months ago (2017-01-13 12:16:10 UTC) #56
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2620633004/210001
3 years, 11 months ago (2017-01-13 12:18:36 UTC) #58
commit-bot: I haz the power
3 years, 11 months ago (2017-01-13 12:25:21 UTC) #61
Message was sent while issue was closed.
Committed patchset #6 (id:210001) as
https://chromium.googlesource.com/chromium/src/+/e5180e0e70f6511ec6f1398ad177...

Powered by Google App Engine
This is Rietveld 408576698