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

Issue 16622002: Generate constants for HTTP status codes and reason phrases using macro. (Closed)

Created:
7 years, 6 months ago by tyoshino (SeeGerritForStatus)
Modified:
7 years, 6 months ago
Reviewers:
wtc
CC:
chromium-reviews, cbentzel+watch_chromium.org
Visibility:
Public.

Description

Generate constants for HTTP status codes and reason phrases using macro. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=205202

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Rebase #

Patch Set 4 : Removed stale comment #

Total comments: 8

Patch Set 5 : wtc's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -68 lines) Patch
M net/http/http_status_code.h View 1 2 3 4 2 chunks +6 lines, -52 lines 0 comments Download
M net/http/http_status_code.cc View 1 2 1 chunk +5 lines, -16 lines 0 comments Download
A net/http/http_status_code_list.h View 1 2 3 4 1 chunk +66 lines, -0 lines 0 comments Download
A net/http/http_status_code_unittest.cc View 1 2 1 chunk +20 lines, -0 lines 0 comments Download
M net/net.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
tyoshino (SeeGerritForStatus)
7 years, 6 months ago (2013-06-07 14:21:14 UTC) #1
tyoshino (SeeGerritForStatus)
I forgot to update comments in http_status_code.h. Please review the patch set 4. Thanks.
7 years, 6 months ago (2013-06-07 17:10:02 UTC) #2
wtc
Patch set 4 LGTM. Thanks a lot! https://codereview.chromium.org/16622002/diff/7001/net/http/http_status_code.h File net/http/http_status_code.h (right): https://codereview.chromium.org/16622002/diff/7001/net/http/http_status_code.h#newcode26 net/http/http_status_code.h:26: // This ...
7 years, 6 months ago (2013-06-07 21:24:18 UTC) #3
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/16622002/diff/7001/net/http/http_status_code.h File net/http/http_status_code.h (right): https://codereview.chromium.org/16622002/diff/7001/net/http/http_status_code.h#newcode26 net/http/http_status_code.h:26: // This function doesn't cover all codes defined in ...
7 years, 6 months ago (2013-06-10 06:14:00 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoshino@chromium.org/16622002/13001
7 years, 6 months ago (2013-06-10 06:14:24 UTC) #5
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) app_list_unittests, ash_unittests, aura_unittests, base_unittests, browser_tests, cacheinvalidation_unittests, ...
7 years, 6 months ago (2013-06-10 07:13:07 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoshino@chromium.org/16622002/13001
7 years, 6 months ago (2013-06-10 08:21:37 UTC) #7
commit-bot: I haz the power
Change committed as 205202
7 years, 6 months ago (2013-06-10 13:18:50 UTC) #8
wtc
Patch set 5 LGTM. https://codereview.chromium.org/16622002/diff/7001/net/http/http_status_code_list.h File net/http/http_status_code_list.h (right): https://codereview.chromium.org/16622002/diff/7001/net/http/http_status_code_list.h#newcode4 net/http/http_status_code_list.h:4: // On 2013/06/10 06:14:00, tyoshino ...
7 years, 6 months ago (2013-06-10 17:12:46 UTC) #9
tyoshino (SeeGerritForStatus)
7 years, 6 months ago (2013-06-11 03:21:14 UTC) #10
Message was sent while issue was closed.
https://codereview.chromium.org/16622002/diff/7001/net/http/http_status_code_...
File net/http/http_status_code_list.h (right):

https://codereview.chromium.org/16622002/diff/7001/net/http/http_status_code_...
net/http/http_status_code_list.h:4: //
On 2013/06/10 17:12:47, wtc wrote:
> 
> On 2013/06/10 06:14:00, tyoshino wrote:
> >
> > So, like net_error_list.h, L7 should be also blank line? Or we just should
> > split copyright notice and file comment?
> 
> The latter. I mainly want us to split the copyright notice and file
> comment. As for L7, I would also use // as you do, but a blank line
> would also be fine.

All right. Thanks.

Powered by Google App Engine
This is Rietveld 408576698