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

Issue 2485203005: [NaCl SDK] Refactor FakeURLRequestInfoResource, FakeURLResponseInfoResource, and GetHeaderValue (Closed)

Created:
4 years, 1 month ago by chanpatorikku
Modified:
4 years, 1 month ago
Reviewers:
binji, Sam Clegg
CC:
chromium-reviews, binji+watch_chromium.org, Sam Clegg
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[NaCl SDK] Refactor FakeURLRequestInfoResource, FakeURLResponseInfoResource, and GetHeaderValue Move FakeURLRequestInfoResource, FakeURLResponseInfoResource, and GetHeaderValue from fake_pepper_interface_url_loader.cc to fake_util.{cc,h} to share the code with the future code. Modify slightly on the implementation of GetHeaderValue. depot_tools/clang-format was run so the formatting of code is accepted in the code review by policy. It was run in all the {.cc,.h} files. test_sdk.py was run. Unit tests passed on all platforms. Not any compiler errors were from fake_pepper_interface_url_loader* and fake_util*. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_nacl_sdk;master.tryserver.chromium.mac:mac_nacl_sdk;master.tryserver.chromium.win:win_nacl_sdk Committed: https://crrev.com/ca44a7a790a7f94f67742aee6b2e330f762d6cae Cr-Commit-Position: refs/heads/master@{#432085}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -53 lines) Patch
M native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_url_loader.cc View 3 chunks +0 lines, -53 lines 0 comments Download
M native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_util.h View 1 chunk +23 lines, -0 lines 0 comments Download
M native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_util.cc View 2 chunks +36 lines, -0 lines 2 comments Download

Messages

Total messages: 12 (6 generated)
chanpatorikku
ptal.
4 years, 1 month ago (2016-11-10 13:54:06 UTC) #4
chanpatorikku
Modifying 1 out of about 30 lines in GetHeaderValue and not commenting what had been ...
4 years, 1 month ago (2016-11-14 13:54:13 UTC) #5
binji
lgtm https://codereview.chromium.org/2485203005/diff/1/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_util.cc File native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_util.cc (right): https://codereview.chromium.org/2485203005/diff/1/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_util.cc#newcode48 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_util.cc:48: offset = newline + 1; On 2016/11/14 13:54:13, ...
4 years, 1 month ago (2016-11-14 22:52:31 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2485203005/1
4 years, 1 month ago (2016-11-15 02:40:09 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-15 03:52:09 UTC) #10
commit-bot: I haz the power
4 years, 1 month ago (2016-11-15 03:53:55 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/ca44a7a790a7f94f67742aee6b2e330f762d6cae
Cr-Commit-Position: refs/heads/master@{#432085}

Powered by Google App Engine
This is Rietveld 408576698