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

Issue 926553006: Make DataPipe own an impl. (Closed)

Created:
5 years, 10 months ago by viettrungluu
Modified:
5 years, 10 months ago
Reviewers:
yzshen1
CC:
mojo-reviews_chromium.org, 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://github.com/domokit/mojo.git@local_data_pipe_impl_1
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Make DataPipe own an impl. * Add a DataPipeImpl class (basically consisting of the DataPipe::...ImplNoLock() methods). * Make LocalDataPipeImpl subclass that, instead of DataPipe. * Give DataPipe own such an impl (and call its methods, instead of the ...ImplNoLock() methods). This is so we'll be able to switch impls. R=yzshen@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/736e0cc30313290b17243d7a6513fcc8e12821a2

Patch Set 1 #

Patch Set 2 : rebased #

Total comments: 6

Patch Set 3 : rebased #

Patch Set 4 : DataPipe::CreateLocal() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+354 lines, -286 lines) Patch
M mojo/edk/system/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M mojo/edk/system/core.cc View 1 2 3 2 chunks +1 line, -2 lines 0 comments Download
M mojo/edk/system/data_pipe.h View 1 2 3 5 chunks +27 lines, -65 lines 0 comments Download
M mojo/edk/system/data_pipe.cc View 1 2 3 24 chunks +55 lines, -40 lines 0 comments Download
A mojo/edk/system/data_pipe_impl.h View 1 2 3 1 chunk +122 lines, -0 lines 0 comments Download
M mojo/edk/system/local_data_pipe_impl.h View 1 2 3 1 chunk +47 lines, -59 lines 0 comments Download
M mojo/edk/system/local_data_pipe_impl.cc View 1 2 3 15 chunks +77 lines, -84 lines 0 comments Download
M mojo/edk/system/local_data_pipe_impl_unittest.cc View 1 2 3 24 chunks +24 lines, -36 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
viettrungluu
(Dependent on https://codereview.chromium.org/936173002/, obviously.)
5 years, 10 months ago (2015-02-18 20:39:57 UTC) #1
yzshen1
lgtm https://codereview.chromium.org/926553006/diff/20001/mojo/edk/system/data_pipe_impl.h File mojo/edk/system/data_pipe_impl.h (right): https://codereview.chromium.org/926553006/diff/20001/mojo/edk/system/data_pipe_impl.h#newcode23 mojo/edk/system/data_pipe_impl.h:23: class MOJO_SYSTEM_IMPL_EXPORT DataPipeImpl { Does it make sense ...
5 years, 10 months ago (2015-02-19 18:27:11 UTC) #2
viettrungluu
On 2015/02/19 18:27:11, yzshen1 wrote: > lgtm > > https://codereview.chromium.org/926553006/diff/20001/mojo/edk/system/data_pipe_impl.h > File mojo/edk/system/data_pipe_impl.h (right): > ...
5 years, 10 months ago (2015-02-19 18:34:01 UTC) #3
yzshen1
On 2015/02/19 18:34:01, viettrungluu wrote: > On 2015/02/19 18:27:11, yzshen1 wrote: > > lgtm > ...
5 years, 10 months ago (2015-02-19 18:41:23 UTC) #4
viettrungluu
OK, I changed it to DataPipe::CreateLocal() (and added/updated comments). https://codereview.chromium.org/926553006/diff/20001/mojo/edk/system/data_pipe_impl.h File mojo/edk/system/data_pipe_impl.h (right): https://codereview.chromium.org/926553006/diff/20001/mojo/edk/system/data_pipe_impl.h#newcode23 mojo/edk/system/data_pipe_impl.h:23: ...
5 years, 10 months ago (2015-02-19 19:08:46 UTC) #6
yzshen1
still LGTM
5 years, 10 months ago (2015-02-19 19:13:42 UTC) #7
viettrungluu
5 years, 10 months ago (2015-02-19 19:17:07 UTC) #8
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
736e0cc30313290b17243d7a6513fcc8e12821a2 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698