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

Issue 1755973002: Move non-content specific parts of content::MachBroker into base::MachPortBroker. (Closed)

Created:
4 years, 9 months ago by Anand Mistry (off Chromium)
Modified:
4 years, 9 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, vmpstr+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move non-content specific parts of content::MachBroker into base::MachPortBroker. This change only moves mach port functions into a new class, base::MachPortBroker. There is no new functionality, or change to existing behaviour. BUG=582468 Committed: https://crrev.com/11ca9a5d48580d5eb98fc4d915ce308d3faf3314 Cr-Commit-Position: refs/heads/master@{#379178}

Patch Set 1 #

Patch Set 2 : Rebase and fix GN. #

Patch Set 3 : Fix GN #

Patch Set 4 : Fix component build. #

Total comments: 4

Patch Set 5 : Test changes. #

Total comments: 2

Patch Set 6 : Try to fix build #

Patch Set 7 : Fix test #

Patch Set 8 : Thats what you get for doing a release build without dchecks_always_on. #

Total comments: 3

Patch Set 9 : Remove libbsm from content build rules. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+337 lines, -386 lines) Patch
M base/BUILD.gn View 1 2 3 chunks +4 lines, -0 lines 0 comments Download
M base/base.gyp View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M base/base.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download
A base/mac/mach_port_broker.h View 1 2 3 4 1 chunk +108 lines, -0 lines 0 comments Download
A + base/mac/mach_port_broker.mm View 8 chunks +48 lines, -133 lines 0 comments Download
A base/mac/mach_port_broker_unittest.cc View 1 2 3 4 1 chunk +107 lines, -0 lines 0 comments Download
M content/browser/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +1 line, -4 lines 0 comments Download
M content/browser/mach_broker_mac.h View 6 chunks +9 lines, -49 lines 0 comments Download
M content/browser/mach_broker_mac.mm View 5 chunks +14 lines, -157 lines 0 comments Download
M content/browser/mach_broker_mac_unittest.cc View 1 2 3 4 5 6 7 2 chunks +42 lines, -38 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
Anand Mistry (off Chromium)
4 years, 9 months ago (2016-03-02 06:31:13 UTC) #2
erikchen
https://codereview.chromium.org/1755973002/diff/60001/base/mac/mach_port_broker.h File base/mac/mach_port_broker.h (right): https://codereview.chromium.org/1755973002/diff/60001/base/mac/mach_port_broker.h#newcode23 base/mac/mach_port_broker.h:23: class MachBrokerTest; A test in content/ needs access to ...
4 years, 9 months ago (2016-03-02 06:56:11 UTC) #3
Anand Mistry (off Chromium)
https://codereview.chromium.org/1755973002/diff/60001/base/mac/mach_port_broker.h File base/mac/mach_port_broker.h (right): https://codereview.chromium.org/1755973002/diff/60001/base/mac/mach_port_broker.h#newcode23 base/mac/mach_port_broker.h:23: class MachBrokerTest; On 2016/03/02 06:56:11, erikchen wrote: > A ...
4 years, 9 months ago (2016-03-03 01:57:40 UTC) #4
erikchen
thanks! lgtm https://codereview.chromium.org/1755973002/diff/80001/base/mac/mach_port_broker_unittest.cc File base/mac/mach_port_broker_unittest.cc (right): https://codereview.chromium.org/1755973002/diff/80001/base/mac/mach_port_broker_unittest.cc#newcode17 base/mac/mach_port_broker_unittest.cc:17: const char kBootstrapPortName[] = "thisisatest"; is it ...
4 years, 9 months ago (2016-03-03 02:26:23 UTC) #5
Anand Mistry (off Chromium)
https://codereview.chromium.org/1755973002/diff/80001/base/mac/mach_port_broker_unittest.cc File base/mac/mach_port_broker_unittest.cc (right): https://codereview.chromium.org/1755973002/diff/80001/base/mac/mach_port_broker_unittest.cc#newcode17 base/mac/mach_port_broker_unittest.cc:17: const char kBootstrapPortName[] = "thisisatest"; On 2016/03/03 02:26:22, erikchen ...
4 years, 9 months ago (2016-03-03 02:48:55 UTC) #6
Anand Mistry (off Chromium)
nasko@chromium.org: For content owners.
4 years, 9 months ago (2016-03-03 22:12:19 UTC) #8
nasko
Rubberstamp LGTM based on erikchen@'s review.
4 years, 9 months ago (2016-03-03 22:14:13 UTC) #9
Mark Mentovai
LGTM in base https://codereview.chromium.org/1755973002/diff/140001/base/base.gyp File base/base.gyp (right): https://codereview.chromium.org/1755973002/diff/140001/base/base.gyp#newcode205 base/base.gyp:205: '$(SDKROOT)/usr/lib/libbsm.dylib', Do you have to pull ...
4 years, 9 months ago (2016-03-03 23:01:59 UTC) #10
Anand Mistry (off Chromium)
https://codereview.chromium.org/1755973002/diff/140001/base/base.gyp File base/base.gyp (right): https://codereview.chromium.org/1755973002/diff/140001/base/base.gyp#newcode205 base/base.gyp:205: '$(SDKROOT)/usr/lib/libbsm.dylib', On 2016/03/03 23:01:59, Mark Mentovai wrote: > Do ...
4 years, 9 months ago (2016-03-04 00:00:50 UTC) #11
Mark Mentovai
LGTM
4 years, 9 months ago (2016-03-04 00:01:44 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1755973002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1755973002/160001
4 years, 9 months ago (2016-03-04 00:01:49 UTC) #15
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 9 months ago (2016-03-04 02:04:58 UTC) #16
commit-bot: I haz the power
4 years, 9 months ago (2016-03-04 02:07:09 UTC) #18
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/11ca9a5d48580d5eb98fc4d915ce308d3faf3314
Cr-Commit-Position: refs/heads/master@{#379178}

Powered by Google App Engine
This is Rietveld 408576698