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

Issue 4508002: COM replaced with RPC for firing events in broker. (Closed)

Created:
10 years, 1 month ago by Vitaly Buka corp
Modified:
9 years, 7 months ago
CC:
chromium-reviews, Paweł Hajdan Jr.
Visibility:
Public.

Description

COM replaced with RPC for firing events in broker. BUG=none TEST=none

Patch Set 1 : '' #

Total comments: 6

Patch Set 2 : '' #

Total comments: 33

Patch Set 3 : '' #

Total comments: 13

Patch Set 4 : '' #

Total comments: 6

Patch Set 5 : '' #

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+572 lines, -73 lines) Patch
M ceee/ie/broker/broker.h View 2 chunks +1 line, -7 lines 0 comments Download
M ceee/ie/broker/broker.cc View 1 2 3 1 chunk +0 lines, -13 lines 0 comments Download
M ceee/ie/broker/broker.gyp View 1 2 3 4 chunks +45 lines, -0 lines 0 comments Download
M ceee/ie/broker/broker_module.cc View 1 2 3 3 chunks +6 lines, -0 lines 0 comments Download
A ceee/ie/broker/broker_rpc_client.h View 1 2 1 chunk +47 lines, -0 lines 0 comments Download
A ceee/ie/broker/broker_rpc_client.cc View 1 2 3 4 1 chunk +116 lines, -0 lines 0 comments Download
A ceee/ie/broker/broker_rpc_lib.idl View 1 2 1 chunk +35 lines, -0 lines 0 comments Download
A ceee/ie/broker/broker_rpc_server.h View 1 2 1 chunk +36 lines, -0 lines 0 comments Download
A ceee/ie/broker/broker_rpc_server.cc View 1 2 3 4 1 chunk +130 lines, -0 lines 0 comments Download
A ceee/ie/broker/broker_rpc_unittest.cc View 1 2 3 4 1 chunk +81 lines, -0 lines 0 comments Download
A ceee/ie/broker/broker_rpc_utils.h View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
A ceee/ie/broker/broker_rpc_utils.cc View 1 2 1 chunk +37 lines, -0 lines 0 comments Download
M ceee/ie/broker/executors_manager.cc View 1 2 3 4 chunks +0 lines, -18 lines 0 comments Download
M ceee/ie/ie.gyp View 1 2 3 3 chunks +3 lines, -0 lines 0 comments Download
M ceee/ie/plugin/toolband/toolband.gyp View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M ceee/ie/plugin/toolband/toolband_module.cc View 1 2 3 5 chunks +14 lines, -35 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Sigurður Ásgeirsson
Hi Vitaly, I only skimmed it quickly, but it looks good to me so far. ...
10 years, 1 month ago (2010-11-05 16:05:59 UTC) #1
Vitaly Buka corp
http://codereview.chromium.org/4508002/diff/15001/ceee/ie/broker/broker.gyp File ceee/ie/broker/broker.gyp (right): http://codereview.chromium.org/4508002/diff/15001/ceee/ie/broker/broker.gyp#newcode38 ceee/ie/broker/broker.gyp:38: 'broker_rpc_server.c', I already tried. it is silently create projects ...
10 years, 1 month ago (2010-11-11 01:31:02 UTC) #2
Sigurður Ásgeirsson
very cool - I have some comments http://codereview.chromium.org/4508002/diff/37002/ceee/ie/broker/broker.cc File ceee/ie/broker/broker.cc (right): http://codereview.chromium.org/4508002/diff/37002/ceee/ie/broker/broker.cc#newcode24 ceee/ie/broker/broker.cc:24: void CeeeBroker::OnAddConnection(bool ...
10 years, 1 month ago (2010-11-11 19:30:35 UTC) #3
Vitaly Buka corp
http://codereview.chromium.org/4508002/diff/37002/ceee/ie/broker/broker.cc File ceee/ie/broker/broker.cc (right): http://codereview.chromium.org/4508002/diff/37002/ceee/ie/broker/broker.cc#newcode24 ceee/ie/broker/broker.cc:24: void CeeeBroker::OnAddConnection(bool first_lock) { On 2010/11/11 19:30:35, Ruðrugis wrote: ...
10 years, 1 month ago (2010-11-11 23:12:09 UTC) #4
Sigurður Ásgeirsson
Awesome, looks good to me aside from a couple of last nits. http://codereview.chromium.org/4508002/diff/90002/ceee/ie/broker/broker_module.cc File ceee/ie/broker/broker_module.cc ...
10 years, 1 month ago (2010-11-12 14:40:24 UTC) #5
Vitaly Buka corp
http://codereview.chromium.org/4508002/diff/90002/ceee/ie/broker/broker_module.cc File ceee/ie/broker/broker_module.cc (right): http://codereview.chromium.org/4508002/diff/90002/ceee/ie/broker/broker_module.cc#newcode164 ceee/ie/broker/broker_module.cc:164: rpc_server_.Start(); On 2010/11/12 14:40:24, Ruðrugis wrote: > Return error ...
10 years, 1 month ago (2010-11-12 20:58:48 UTC) #6
Sigurður Ásgeirsson
LGTM, please submit after addressing comments (provided you're a chrome committer). http://codereview.chromium.org/4508002/diff/90002/ceee/ie/broker/broker_rpc_server.cc File ceee/ie/broker/broker_rpc_server.cc (right): ...
10 years, 1 month ago (2010-11-12 21:10:14 UTC) #7
Vitaly Buka corp
http://codereview.chromium.org/4508002/diff/105001/ceee/ie/broker/broker_module.cc File ceee/ie/broker/broker_module.cc (right): http://codereview.chromium.org/4508002/diff/105001/ceee/ie/broker/broker_module.cc#newcode165 ceee/ie/broker/broker_module.cc:165: return RPC_E_FAULT; #define RPC_E_FAULT _HRESULT_TYPEDEF_(0x80010104L) On 2010/11/12 21:10:15, Ruðrugis ...
10 years, 1 month ago (2010-11-12 21:28:11 UTC) #8
Sigurður Ásgeirsson
10 years, 1 month ago (2010-11-15 16:08:16 UTC) #9
Submitted as http://src.chromium.org/viewvc/chrome?view=rev&revision=66121.
The build was broken, but not by this change, so it'll probably stick.

On Fri, Nov 12, 2010 at 4:28 PM, <vitalybuka@google.com> wrote:

>
>
>
http://codereview.chromium.org/4508002/diff/105001/ceee/ie/broker/broker_modu...
> File ceee/ie/broker/broker_module.cc (right):
>
>
>
http://codereview.chromium.org/4508002/diff/105001/ceee/ie/broker/broker_modu...
> ceee/ie/broker/broker_module.cc:165: return RPC_E_FAULT;
> #define RPC_E_FAULT                      _HRESULT_TYPEDEF_(0x80010104L)
>
>
> On 2010/11/12 21:10:15, Ruðrugis wrote:
>
>> you need to return an HRESULT error, this is a windows error message,
>>
> which is
>
>> an HRESULT success.
>> You can return e.g.
>> HRESULT_FROM_WIN32(RPC_E_FAULT)
>>
>
>
>
http://codereview.chromium.org/4508002/diff/105001/ceee/ie/broker/broker_rpc_...
> File ceee/ie/broker/broker_rpc_client.cc (right):
>
>
>
http://codereview.chromium.org/4508002/diff/105001/ceee/ie/broker/broker_rpc_...
> ceee/ie/broker/broker_rpc_client.cc:11: #include "broker_rpc_lib.h"
> On 2010/11/12 21:10:15, Ruðrugis wrote:
>
>> you can quench the lint error here by appending
>>
>
>    // NOLINT
>>
>
>  we like our files lint free if at all possible.
>>
>
> Done.
>
>
>
>
http://codereview.chromium.org/4508002/diff/105001/ceee/ie/broker/broker_rpc_...
> File ceee/ie/broker/broker_rpc_server.cc (right):
>
>
>
http://codereview.chromium.org/4508002/diff/105001/ceee/ie/broker/broker_rpc_...
> ceee/ie/broker/broker_rpc_server.cc:100: static long current_context =
> 0;
> On 2010/11/12 21:10:15, Ruðrugis wrote:
>
>> Use AtomicSequenceNumber, see
>>
>
>
>
http://codesearch.google.com/codesearch/p?hl=en#OAMlx_jo-ck/src/base/atomic_s...
>
>
>
>  It must either be a singleton or a static/global to avoid the
>>
> initialization
>
>> race for local statics.
>>
>
> Done.
>
>
> http://codereview.chromium.org/4508002/
>

Powered by Google App Engine
This is Rietveld 408576698