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

Issue 439713002: Refactoring: Split NaClListener into two delegated classes. (Closed)

Created:
6 years, 4 months ago by hidehiko
Modified:
6 years, 4 months ago
Reviewers:
Mark Seaborn, teravest
CC:
chromium-reviews, hamaji, mazda, dmichael (off chromium)
Project:
chromium
Visibility:
Public.

Description

Refactoring: Split NaClListener into two delegated classes. Currently, NaClListener has supports two modes, SFI and non-SFI. As a preparation of newlib switching of non-SFI mode, this CL splits into each delegate class, so that, we can easily build non-SFI related code only by PNaCl toolchain. BUG=358465 TEST=Ran trybots. CQ_EXTRA_TRYBOTS=tryserver.chromium.linux:linux_rel_precise32 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288271

Patch Set 1 : #

Total comments: 2

Patch Set 2 : #

Total comments: 4

Patch Set 3 : Rebase and redesign based on Mark's comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+234 lines, -144 lines) Patch
M components/nacl.gyp View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M components/nacl/loader/nacl_helper_linux.cc View 1 2 2 chunks +10 lines, -5 lines 0 comments Download
M components/nacl/loader/nacl_listener.h View 1 2 3 chunks +0 lines, -11 lines 0 comments Download
M components/nacl/loader/nacl_listener.cc View 1 2 5 chunks +7 lines, -116 lines 0 comments Download
M components/nacl/loader/nacl_trusted_listener.h View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M components/nacl/loader/nacl_trusted_listener.cc View 1 2 1 chunk +10 lines, -9 lines 0 comments Download
A components/nacl/loader/nonsfi/nonsfi_listener.h View 1 2 1 chunk +53 lines, -0 lines 0 comments Download
A components/nacl/loader/nonsfi/nonsfi_listener.cc View 1 2 1 chunk +150 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
hidehiko
Hi Mark, Justin, could you take a look at this CL? The goal of this ...
6 years, 4 months ago (2014-08-04 17:46:58 UTC) #1
teravest
lgtm This seems reasonable to me. https://codereview.chromium.org/439713002/diff/20001/components/nacl/loader/listener_delegate.h File components/nacl/loader/listener_delegate.h (right): https://codereview.chromium.org/439713002/diff/20001/components/nacl/loader/listener_delegate.h#newcode27 components/nacl/loader/listener_delegate.h:27: // Called when ...
6 years, 4 months ago (2014-08-04 21:15:28 UTC) #2
hidehiko
Thank you for review, Justin. Mark, could you take a look, too? https://codereview.chromium.org/439713002/diff/20001/components/nacl/loader/listener_delegate.h File components/nacl/loader/listener_delegate.h ...
6 years, 4 months ago (2014-08-05 04:07:26 UTC) #3
hidehiko
Mark, friendly ping? - hidehiko On 2014/08/05 04:07:26, hidehiko wrote: > Thank you for review, ...
6 years, 4 months ago (2014-08-06 16:56:53 UTC) #4
Mark Seaborn
LGTM with some naming convention nits, but: It seems like this leaves nacl_listener.cc doing very ...
6 years, 4 months ago (2014-08-07 00:50:20 UTC) #5
hidehiko
So, I redesigned the CL. Justin, Mark, sorry, but could you take another look at ...
6 years, 4 months ago (2014-08-07 13:32:46 UTC) #6
Mark Seaborn
LGTM, thanks. Much simpler!
6 years, 4 months ago (2014-08-07 16:37:52 UTC) #7
teravest
lgtm
6 years, 4 months ago (2014-08-07 16:42:12 UTC) #8
hidehiko
The CQ bit was checked by hidehiko@chromium.org
6 years, 4 months ago (2014-08-07 22:08:27 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hidehiko@chromium.org/439713002/60001
6 years, 4 months ago (2014-08-07 23:00:23 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-08 00:27:11 UTC) #11
commit-bot: I haz the power
6 years, 4 months ago (2014-08-08 08:54:53 UTC) #12
Message was sent while issue was closed.
Change committed as 288271

Powered by Google App Engine
This is Rietveld 408576698