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

Issue 779503003: Extract Awakable from Waiter (Closed)

Created:
6 years ago by Hajime Morrita
Modified:
6 years ago
Reviewers:
viettrungluu
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@master
Project:
mojo
Visibility:
Public.

Description

Extract Awakable from Waiter This CL extracts simple Awakable interface from Waiter and rename WaiterList to AwakableList. This is a preparation for introducing system-integrated AsyncWaiter. R=viettrungluu@chromium.org BUG=377980 Committed: https://chromium.googlesource.com/external/mojo/+/096decd183e3679cbf548495eee5ee8b8919c317

Patch Set 1 #

Total comments: 20

Patch Set 2 : Review Update #

Total comments: 13

Patch Set 3 : Review Update #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+768 lines, -1006 lines) Patch
M mojo/edk/mojo_edk_system_impl.gypi View 2 chunks +3 lines, -2 lines 0 comments Download
M mojo/edk/system/BUILD.gn View 2 chunks +4 lines, -3 lines 0 comments Download
A mojo/edk/system/awakable.h View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
A mojo/edk/system/awakable_list.h View 1 2 1 chunk +58 lines, -0 lines 0 comments Download
A mojo/edk/system/awakable_list.cc View 1 2 1 chunk +58 lines, -0 lines 0 comments Download
A + mojo/edk/system/awakable_list_unittest.cc View 2 6 chunks +73 lines, -73 lines 0 comments Download
M mojo/edk/system/channel_unittest.cc View 3 chunks +5 lines, -4 lines 0 comments Download
M mojo/edk/system/core.cc View 1 2 4 chunks +9 lines, -8 lines 0 comments Download
M mojo/edk/system/core_test_base.h View 3 chunks +9 lines, -9 lines 0 comments Download
M mojo/edk/system/core_test_base.cc View 4 chunks +25 lines, -25 lines 0 comments Download
M mojo/edk/system/core_unittest.cc View 4 chunks +14 lines, -14 lines 0 comments Download
M mojo/edk/system/data_pipe.h View 6 chunks +22 lines, -20 lines 0 comments Download
M mojo/edk/system/data_pipe.cc View 2 17 chunks +46 lines, -44 lines 0 comments Download
M mojo/edk/system/data_pipe_consumer_dispatcher.h View 2 chunks +7 lines, -7 lines 0 comments Download
M mojo/edk/system/data_pipe_consumer_dispatcher.cc View 2 chunks +9 lines, -8 lines 0 comments Download
M mojo/edk/system/data_pipe_producer_dispatcher.h View 2 chunks +7 lines, -7 lines 0 comments Download
M mojo/edk/system/data_pipe_producer_dispatcher.cc View 2 chunks +9 lines, -8 lines 0 comments Download
M mojo/edk/system/dispatcher.h View 1 5 chunks +21 lines, -20 lines 0 comments Download
M mojo/edk/system/dispatcher.cc View 7 chunks +19 lines, -17 lines 0 comments Download
M mojo/edk/system/dispatcher_unittest.cc View 5 chunks +9 lines, -9 lines 0 comments Download
M mojo/edk/system/local_data_pipe_unittest.cc View 39 chunks +93 lines, -93 lines 0 comments Download
M mojo/edk/system/local_message_pipe_endpoint.h View 3 chunks +9 lines, -8 lines 0 comments Download
M mojo/edk/system/local_message_pipe_endpoint.cc View 2 6 chunks +12 lines, -11 lines 0 comments Download
M mojo/edk/system/message_pipe.h View 3 chunks +10 lines, -10 lines 0 comments Download
M mojo/edk/system/message_pipe.cc View 2 chunks +13 lines, -12 lines 0 comments Download
M mojo/edk/system/message_pipe_dispatcher.h View 2 chunks +7 lines, -7 lines 0 comments Download
M mojo/edk/system/message_pipe_dispatcher.cc View 2 chunks +9 lines, -9 lines 0 comments Download
M mojo/edk/system/message_pipe_dispatcher_unittest.cc View 13 chunks +18 lines, -18 lines 0 comments Download
M mojo/edk/system/message_pipe_endpoint.h View 2 chunks +8 lines, -7 lines 0 comments Download
M mojo/edk/system/message_pipe_endpoint.cc View 2 chunks +7 lines, -7 lines 0 comments Download
M mojo/edk/system/message_pipe_test_utils.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M mojo/edk/system/message_pipe_unittest.cc View 1 2 13 chunks +41 lines, -38 lines 0 comments Download
M mojo/edk/system/remote_message_pipe_unittest.cc View 36 chunks +42 lines, -42 lines 0 comments Download
M mojo/edk/system/simple_dispatcher.h View 2 chunks +9 lines, -9 lines 0 comments Download
M mojo/edk/system/simple_dispatcher.cc View 2 2 chunks +9 lines, -9 lines 0 comments Download
M mojo/edk/system/simple_dispatcher_unittest.cc View 18 chunks +22 lines, -22 lines 0 comments Download
M mojo/edk/system/waiter.h View 1 2 5 chunks +6 lines, -8 lines 0 comments Download
M mojo/edk/system/waiter.cc View 2 chunks +3 lines, -3 lines 0 comments Download
D mojo/edk/system/waiter_list.h View 1 chunk +0 lines, -58 lines 0 comments Download
D mojo/edk/system/waiter_list.cc View 1 chunk +0 lines, -57 lines 0 comments Download
D mojo/edk/system/waiter_list_unittest.cc View 1 chunk +0 lines, -289 lines 0 comments Download
M mojo/edk/system/waiter_test_utils.h View 1 2 1 chunk +6 lines, -6 lines 1 comment Download
M mojo/edk/system/waiter_test_utils.cc View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Hajime Morrita
6 years ago (2014-12-03 21:00:18 UTC) #1
viettrungluu
Pass #1. Please update all comments and properly re-wrap them (80-columns, only 1 space after ...
6 years ago (2014-12-03 21:18:13 UTC) #2
Hajime Morrita
Thanks for the reivew Trung! PTAL? I hope git cl format re-wrap comments adequately :-/ ...
6 years ago (2014-12-03 21:44:09 UTC) #3
viettrungluu
https://codereview.chromium.org/779503003/diff/20001/mojo/edk/system/awakable.h File mojo/edk/system/awakable.h (right): https://codereview.chromium.org/779503003/diff/20001/mojo/edk/system/awakable.h#newcode15 mojo/edk/system/awakable.h:15: // |Awakable| is an interface that may be waited ...
6 years ago (2014-12-03 22:31:27 UTC) #4
Hajime Morrita
PTAL? https://codereview.chromium.org/779503003/diff/20001/mojo/edk/system/awakable.h File mojo/edk/system/awakable.h (right): https://codereview.chromium.org/779503003/diff/20001/mojo/edk/system/awakable.h#newcode15 mojo/edk/system/awakable.h:15: // |Awakable| is an interface that may be ...
6 years ago (2014-12-03 22:47:11 UTC) #5
viettrungluu
Thanks, LGTM w/one last nit. https://codereview.chromium.org/779503003/diff/40001/mojo/edk/system/waiter_test_utils.h File mojo/edk/system/waiter_test_utils.h (right): https://codereview.chromium.org/779503003/diff/40001/mojo/edk/system/waiter_test_utils.h#newcode44 mojo/edk/system/waiter_test_utils.h:44: // code). (We accept ...
6 years ago (2014-12-03 23:07:47 UTC) #6
Hajime Morrita
6 years ago (2014-12-04 00:17:56 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
096decd183e3679cbf548495eee5ee8b8919c317 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698