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

Issue 1465183005: Rename mojo::TokenSerializer to mojo::Broker. (Closed)

Created:
5 years ago by jam
Modified:
5 years ago
Reviewers:
Tom Sepez, hans, Nico, yzshen1
CC:
chromium-reviews, creis+watch_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, nasko+codewatch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin-cc_chromium.org, 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

Rename mojo::TokenSerializer to mojo::Broker. This will be used for more than just serializing tokens going forward. This change just renames it (hopefully using established names) and compiles it on POSIX. BUG=556259 Committed: https://crrev.com/3c8c50cd432aaacefa681e707e3f60ccfa10855f Cr-Commit-Position: refs/heads/master@{#361709}

Patch Set 1 #

Patch Set 2 : merge #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 #

Patch Set 6 : #

Patch Set 7 : fix win component #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+367 lines, -1094 lines) Patch
M content/app/mojo/mojo_init.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M content/browser/browser_child_process_host_impl.cc View 1 2 3 4 5 1 chunk +12 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 1 chunk +13 lines, -4 lines 0 comments Download
M content/child/child_thread_impl.h View 1 2 3 4 5 1 chunk +1 line, -3 lines 0 comments Download
M content/child/child_thread_impl.cc View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M content/common/child_process_messages.h View 2 chunks +3 lines, -5 lines 0 comments Download
M mojo/edk/embedder/embedder.h View 3 chunks +6 lines, -7 lines 0 comments Download
M mojo/edk/embedder/embedder.cc View 1 2 3 4 3 chunks +23 lines, -29 lines 0 comments Download
M mojo/edk/embedder/embedder_internal.h View 1 chunk +3 lines, -5 lines 0 comments Download
M mojo/edk/embedder/test_embedder.cc View 2 chunks +4 lines, -9 lines 0 comments Download
M mojo/edk/system/BUILD.gn View 3 chunks +10 lines, -10 lines 0 comments Download
A + mojo/edk/system/broker.h View 3 chunks +13 lines, -8 lines 0 comments Download
A + mojo/edk/system/broker_messages.h View 1 2 3 3 chunks +10 lines, -10 lines 0 comments Download
A + mojo/edk/system/broker_state.h View 1 2 3 4 2 chunks +23 lines, -20 lines 0 comments Download
A + mojo/edk/system/broker_state.cc View 1 2 3 4 chunks +18 lines, -19 lines 0 comments Download
A + mojo/edk/system/child_broker.h View 1 2 3 4 3 chunks +21 lines, -19 lines 1 comment Download
A + mojo/edk/system/child_broker.cc View 1 2 3 4 5 chunks +33 lines, -32 lines 0 comments Download
A + mojo/edk/system/child_broker_host.h View 1 2 3 4 5 6 4 chunks +17 lines, -7 lines 5 comments Download
A + mojo/edk/system/child_broker_host.cc View 1 2 3 10 chunks +37 lines, -28 lines 0 comments Download
D mojo/edk/system/child_token_serializer_win.h View 1 1 chunk +0 lines, -60 lines 0 comments Download
D mojo/edk/system/child_token_serializer_win.cc View 1 1 chunk +0 lines, -124 lines 0 comments Download
M mojo/edk/system/core.cc View 4 chunks +3 lines, -8 lines 0 comments Download
M mojo/edk/system/message_pipe_dispatcher.cc View 3 chunks +3 lines, -7 lines 0 comments Download
D mojo/edk/system/parent_token_serializer_state_win.h View 1 chunk +0 lines, -65 lines 0 comments Download
D mojo/edk/system/parent_token_serializer_state_win.cc View 1 1 chunk +0 lines, -75 lines 0 comments Download
D mojo/edk/system/parent_token_serializer_win.h View 1 chunk +0 lines, -59 lines 0 comments Download
D mojo/edk/system/parent_token_serializer_win.cc View 1 1 chunk +0 lines, -176 lines 0 comments Download
M mojo/edk/system/raw_channel_win.cc View 3 chunks +3 lines, -4 lines 0 comments Download
A + mojo/edk/system/simple_broker.h View 2 chunks +12 lines, -11 lines 0 comments Download
A + mojo/edk/system/simple_broker.cc View 3 chunks +16 lines, -13 lines 0 comments Download
D mojo/edk/system/simple_token_serializer_win.h View 1 chunk +0 lines, -37 lines 0 comments Download
D mojo/edk/system/simple_token_serializer_win.cc View 1 chunk +0 lines, -78 lines 0 comments Download
D mojo/edk/system/token_serializer_messages_win.h View 1 chunk +0 lines, -46 lines 0 comments Download
D mojo/edk/system/token_serializer_win.h View 1 chunk +0 lines, -43 lines 0 comments Download
M mojo/mojo_edk.gyp View 3 chunks +10 lines, -10 lines 0 comments Download
M mojo/runner/context.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M mojo/runner/host/child_process.cc View 2 chunks +17 lines, -10 lines 2 comments Download
M mojo/runner/host/child_process_host.h View 1 chunk +1 line, -3 lines 0 comments Download
M mojo/runner/host/child_process_host.cc View 2 chunks +9 lines, -3 lines 0 comments Download
M third_party/mojo/src/mojo/edk/embedder/embedder.h View 2 chunks +6 lines, -9 lines 0 comments Download
M third_party/mojo/src/mojo/edk/embedder/embedder.cc View 3 chunks +36 lines, -28 lines 0 comments Download

Messages

Total messages: 27 (12 generated)
jam
Looks like we will need this after all on other platforms (for multiplexing).
5 years ago (2015-11-25 00:46:06 UTC) #5
yzshen1
https://codereview.chromium.org/1465183005/diff/160001/mojo/edk/system/child_broker.h File mojo/edk/system/child_broker.h (right): https://codereview.chromium.org/1465183005/diff/160001/mojo/edk/system/child_broker.h#newcode20 mojo/edk/system/child_broker.h:20: // ParentBroker) to convert handles to tokens and vice ...
5 years ago (2015-11-25 16:47:09 UTC) #6
jam
https://codereview.chromium.org/1465183005/diff/160001/mojo/edk/system/child_broker_host.h File mojo/edk/system/child_broker_host.h (right): https://codereview.chromium.org/1465183005/diff/160001/mojo/edk/system/child_broker_host.h#newcode23 mojo/edk/system/child_broker_host.h:23: #if defined(OS_WIN) On 2015/11/25 16:47:09, yzshen1 wrote: > I ...
5 years ago (2015-11-25 16:56:09 UTC) #7
yzshen1
On 2015/11/25 16:56:09, jam wrote: > https://codereview.chromium.org/1465183005/diff/160001/mojo/edk/system/child_broker_host.h > File mojo/edk/system/child_broker_host.h (right): > > https://codereview.chromium.org/1465183005/diff/160001/mojo/edk/system/child_broker_host.h#newcode23 > ...
5 years ago (2015-11-25 17:28:40 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1465183005/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1465183005/160001
5 years ago (2015-11-25 17:39:58 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/122283)
5 years ago (2015-11-25 17:51:55 UTC) #12
jam
+tsepez for child_process_messages.h Tom: the chrome IPC isn't sent on POSIX yet. The underlying mojo ...
5 years ago (2015-11-25 17:55:12 UTC) #14
Tom Sepez
lgtm
5 years ago (2015-11-25 18:25:40 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1465183005/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1465183005/160001
5 years ago (2015-11-25 18:38:39 UTC) #17
commit-bot: I haz the power
Committed patchset #7 (id:160001)
5 years ago (2015-11-25 18:48:46 UTC) #19
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/3c8c50cd432aaacefa681e707e3f60ccfa10855f Cr-Commit-Position: refs/heads/master@{#361709}
5 years ago (2015-11-25 18:50:33 UTC) #21
hans
https://codereview.chromium.org/1465183005/diff/160001/mojo/edk/system/child_broker_host.h File mojo/edk/system/child_broker_host.h (right): https://codereview.chromium.org/1465183005/diff/160001/mojo/edk/system/child_broker_host.h#newcode37 mojo/edk/system/child_broker_host.h:37: virtual ~ChildBrokerHost(); The Win-Clang style plugin complains about this ...
5 years ago (2015-11-25 20:35:41 UTC) #23
jam
https://codereview.chromium.org/1465183005/diff/160001/mojo/edk/system/child_broker_host.h File mojo/edk/system/child_broker_host.h (right): https://codereview.chromium.org/1465183005/diff/160001/mojo/edk/system/child_broker_host.h#newcode37 mojo/edk/system/child_broker_host.h:37: virtual ~ChildBrokerHost(); On 2015/11/25 20:35:41, hans wrote: > The ...
5 years ago (2015-11-25 21:28:57 UTC) #24
hans
On 2015/11/25 21:28:57, jam wrote: > https://codereview.chromium.org/1465183005/diff/160001/mojo/edk/system/child_broker_host.h#newcode37 > mojo/edk/system/child_broker_host.h:37: virtual ~ChildBrokerHost(); > On 2015/11/25 20:35:41, ...
5 years ago (2015-11-25 21:32:17 UTC) #25
Nico
5 years ago (2015-11-25 22:03:33 UTC) #27
Message was sent while issue was closed.
https://codereview.chromium.org/1465183005/diff/160001/mojo/edk/system/child_...
File mojo/edk/system/child_broker_host.h (right):

https://codereview.chromium.org/1465183005/diff/160001/mojo/edk/system/child_...
mojo/edk/system/child_broker_host.h:37: virtual ~ChildBrokerHost();
On 2015/11/25 21:28:57, jam wrote:
> On 2015/11/25 20:35:41, hans wrote:
> > The Win-Clang style plugin complains about this one. It needs to be marked
> > override when there's a base class, i.e. when OS_WIN is defined.
> > 
> >
>
http://build.chromium.org/p/chromium.fyi/builders/CrWinClang/builds/4485/step...
> 
> I'll fix it. Is there a trybot I can use to verify?

win_clang_dbg, but it's opt-in and backed by a measly 3 slaves.

(I had fixed this before you renamed this, as you can see it's correct on the
LHS -- how did this get reverted?)

Powered by Google App Engine
This is Rietveld 408576698