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

Issue 2518593002: [NaCl SDK] Refactor STATUSCODE_* (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 STATUSCODE_* Move "STATUSCODE_OK, STATUSCODE_PARTIAL_CONTENT, STATUSCODE_FORBIDDEN, STATUSCODE_NOT_FOUND, STATUSCODE_REQUESTED_RANGE_NOT_SATISFIABLE' from http_fs_node.cc to http_status_codes.h to share the codes with the future functionalities exposed to nacl_io. 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/1001cfaab4de5b1fdbc776908cc4113bc953a741 Cr-Commit-Position: refs/heads/master@{#433413}

Patch Set 1 #

Total comments: 4

Patch Set 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -5 lines) Patch
A native_client_sdk/src/libraries/nacl_io/http_status_codes.h View 1 1 chunk +18 lines, -0 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc View 1 2 chunks +1 line, -5 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/library.dsc View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
chanpatorikku
ptal
4 years, 1 month ago (2016-11-18 17:22:19 UTC) #3
Sam Clegg
lgtm % comments https://codereview.chromium.org/2518593002/diff/1/native_client_sdk/src/libraries/nacl_io/statuscode.h File native_client_sdk/src/libraries/nacl_io/statuscode.h (right): https://codereview.chromium.org/2518593002/diff/1/native_client_sdk/src/libraries/nacl_io/statuscode.h#newcode1 native_client_sdk/src/libraries/nacl_io/statuscode.h:1: // Copyright (c) 2016 The Chromium ...
4 years, 1 month ago (2016-11-18 17:32:30 UTC) #4
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/2518593002/40001
4 years, 1 month ago (2016-11-19 06:33:35 UTC) #9
commit-bot: I haz the power
Failed to apply patch for native_client_sdk/src/libraries/nacl_io/http_status_codes.h: While running git apply --index -p1; error: native_client_sdk/src/libraries/nacl_io/http_status_codes.h: already ...
4 years, 1 month ago (2016-11-19 08:32:22 UTC) #11
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/1001cfaab4de5b1fdbc776908cc4113bc953a741 Cr-Commit-Position: refs/heads/master@{#433413}
4 years, 1 month ago (2016-11-19 08:39:07 UTC) #13
chanpatorikku
4 years, 1 month ago (2016-11-21 13:52:27 UTC) #14
Message was sent while issue was closed.
Sending another message to inform that the (c) is going to be removed in another
CL.

https://codereview.chromium.org/2518593002/diff/1/native_client_sdk/src/libra...
File native_client_sdk/src/libraries/nacl_io/statuscode.h (right):

https://codereview.chromium.org/2518593002/diff/1/native_client_sdk/src/libra...
native_client_sdk/src/libraries/nacl_io/statuscode.h:1: // Copyright (c) 2016
The Chromium Authors. All rights reserved.
On 2016/11/18 17:32:30, Sam Clegg wrote:
> New files don't need the (c) here

Done.

(c) in other new files were added in other CL's. Going to remove the (c) in
another CL.

https://codereview.chromium.org/2518593002/diff/1/native_client_sdk/src/libra...
native_client_sdk/src/libraries/nacl_io/statuscode.h:14: const int32_t
STATUSCODE_REQUESTED_RANGE_NOT_SATISFIABLE = 416;
On 2016/11/18 17:32:30, Sam Clegg wrote:
> Perhaps call this file http_status_codes.h?

The file was renamed to http_status_codes.h.

Powered by Google App Engine
This is Rietveld 408576698