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

Issue 1406313002: Adding Default Handlers from SpawnedTestServer to EmbeddedTestServer (Closed)

Created:
5 years, 2 months ago by svaldez
Modified:
5 years, 1 month ago
Reviewers:
Bence, mmenke, davidben, tfarina
CC:
chromium-reviews, cbentzel+watch_chromium.org, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@ets
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding Default Handlers from SpawnedTestServer to EmbeddedTestServer. Implementing default handlers from SpawnedTestServer to allow us to migrate more tests to EmbeddedTestServer. BUG=492672 R=bnc@chromium.org,mmenke@chromium.org Committed: https://crrev.com/7d25c56175e1da831953c0a7eb500f33be051b0f Cr-Commit-Position: refs/heads/master@{#357162}

Patch Set 1 #

Patch Set 2 : Adding call to DefaultHandlers. #

Patch Set 3 : Rebase. #

Patch Set 4 : Rebase. #

Patch Set 5 : Rebase. #

Patch Set 6 : Rebase. #

Patch Set 7 : Rebase. #

Patch Set 8 : Rebase. #

Patch Set 9 : Removing handler used once. #

Patch Set 10 : Rebase. #

Patch Set 11 : Rebase. #

Patch Set 12 : Rebase. #

Patch Set 13 : Rebase. #

Patch Set 14 : Rebase. #

Total comments: 12

Patch Set 15 : Fixing comments. #

Patch Set 16 : Rebase. #

Total comments: 2

Patch Set 17 : Cleanup. #

Patch Set 18 : Typo. #

Total comments: 48

Patch Set 19 : Fixing up handlers. #

Patch Set 20 : Fixing auth parsing. #

Total comments: 20

Patch Set 21 : Adding comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+668 lines, -1 line) Patch
M net/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +2 lines, -0 lines 0 comments Download
M net/net.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +2 lines, -0 lines 0 comments Download
A net/test/embedded_test_server/default_handlers.h View 1 chunk +23 lines, -0 lines 0 comments Download
A net/test/embedded_test_server/default_handlers.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +639 lines, -0 lines 0 comments Download
M net/test/embedded_test_server/embedded_test_server.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +2 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 40 (17 generated)
svaldez
The handlers split out from CL 1376593007.
5 years, 2 months ago (2015-10-16 19:40:56 UTC) #2
tfarina
You should fill the BUG= line with some relevant crbug.
5 years, 2 months ago (2015-10-19 16:41:07 UTC) #3
mmenke
[+bnc]: Do you have the cycles to tackle this? Chris suggested I hand this off ...
5 years, 1 month ago (2015-10-26 21:50:42 UTC) #6
Bence
https://codereview.chromium.org/1406313002/diff/260001/net/test/embedded_test_server/default_handlers.cc File net/test/embedded_test_server/default_handlers.cc (right): https://codereview.chromium.org/1406313002/diff/260001/net/test/embedded_test_server/default_handlers.cc#newcode34 net/test/embedded_test_server/default_handlers.cc:34: #define PREFIXED_HANDLER(prefix, handler) \ Move this down to around ...
5 years, 1 month ago (2015-10-27 14:47:36 UTC) #7
svaldez
https://codereview.chromium.org/1406313002/diff/260001/net/test/embedded_test_server/default_handlers.cc File net/test/embedded_test_server/default_handlers.cc (right): https://codereview.chromium.org/1406313002/diff/260001/net/test/embedded_test_server/default_handlers.cc#newcode34 net/test/embedded_test_server/default_handlers.cc:34: #define PREFIXED_HANDLER(prefix, handler) \ On 2015/10/27 14:47:36, Bence wrote: ...
5 years, 1 month ago (2015-10-27 15:00:50 UTC) #8
svaldez
5 years, 1 month ago (2015-10-27 15:00:50 UTC) #9
Bence
LGTM https://codereview.chromium.org/1406313002/diff/260001/net/test/embedded_test_server/default_handlers.cc File net/test/embedded_test_server/default_handlers.cc (right): https://codereview.chromium.org/1406313002/diff/260001/net/test/embedded_test_server/default_handlers.cc#newcode54 net/test/embedded_test_server/default_handlers.cc:54: return http_response.Pass(); On 2015/10/27 15:00:50, svaldez wrote: > ...
5 years, 1 month ago (2015-10-27 15:13:20 UTC) #10
svaldez
On 2015/10/27 15:13:20, Bence wrote: > LGTM > > https://codereview.chromium.org/1406313002/diff/260001/net/test/embedded_test_server/default_handlers.cc > File net/test/embedded_test_server/default_handlers.cc (right): > ...
5 years, 1 month ago (2015-10-27 15:18:57 UTC) #11
Bence
On 2015/10/27 15:18:57, svaldez wrote: > > We're currently 'forward-declaring' EmbeddedTestServer from the > net::test_server::EmbeddedTestServer ...
5 years, 1 month ago (2015-10-27 15:21:01 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1406313002/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1406313002/300001
5 years, 1 month ago (2015-10-27 16:48:20 UTC) #15
mmenke
And just so you can land this, LGTM, rubberstamp - deferring to bnc.
5 years, 1 month ago (2015-10-27 17:36:38 UTC) #17
tfarina
After this lands, I will be able to update my CL?
5 years, 1 month ago (2015-10-27 17:39:22 UTC) #18
mmenke
On 2015/10/27 17:39:22, tfarina wrote: > After this lands, I will be able to update ...
5 years, 1 month ago (2015-10-27 17:41:34 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1406313002/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1406313002/300001
5 years, 1 month ago (2015-10-27 17:46:38 UTC) #21
tfarina
I think a lot of comments Matt did on my CL still stand for this ...
5 years, 1 month ago (2015-10-27 17:53:06 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1406313002/340001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1406313002/340001
5 years, 1 month ago (2015-10-27 21:35:10 UTC) #30
mmenke
Didn't quite make it through the entire CL. https://codereview.chromium.org/1406313002/diff/340001/net/test/embedded_test_server/default_handlers.cc File net/test/embedded_test_server/default_handlers.cc (right): https://codereview.chromium.org/1406313002/diff/340001/net/test/embedded_test_server/default_handlers.cc#newcode64 net/test/embedded_test_server/default_handlers.cc:64: std::string ...
5 years, 1 month ago (2015-10-29 20:20:30 UTC) #32
svaldez
https://codereview.chromium.org/1406313002/diff/340001/net/test/embedded_test_server/default_handlers.cc File net/test/embedded_test_server/default_handlers.cc (right): https://codereview.chromium.org/1406313002/diff/340001/net/test/embedded_test_server/default_handlers.cc#newcode64 net/test/embedded_test_server/default_handlers.cc:64: std::string cache_control, On 2015/10/29 20:20:29, mmenke wrote: > const ...
5 years, 1 month ago (2015-10-29 21:27:38 UTC) #33
mmenke
LGTM https://codereview.chromium.org/1406313002/diff/380001/net/test/embedded_test_server/default_handlers.cc File net/test/embedded_test_server/default_handlers.cc (right): https://codereview.chromium.org/1406313002/diff/380001/net/test/embedded_test_server/default_handlers.cc#newcode233 net/test/embedded_test_server/default_handlers.cc:233: if (header.first.find(": ") == std::string::npos) Suggest just stuffing ...
5 years, 1 month ago (2015-10-30 15:26:35 UTC) #34
svaldez
https://codereview.chromium.org/1406313002/diff/380001/net/test/embedded_test_server/default_handlers.cc File net/test/embedded_test_server/default_handlers.cc (right): https://codereview.chromium.org/1406313002/diff/380001/net/test/embedded_test_server/default_handlers.cc#newcode233 net/test/embedded_test_server/default_handlers.cc:233: if (header.first.find(": ") == std::string::npos) On 2015/10/30 15:26:35, mmenke ...
5 years, 1 month ago (2015-10-30 15:57:40 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1406313002/400001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1406313002/400001
5 years, 1 month ago (2015-10-30 17:53:21 UTC) #38
commit-bot: I haz the power
Committed patchset #21 (id:400001)
5 years, 1 month ago (2015-10-30 19:09:51 UTC) #39
commit-bot: I haz the power
5 years, 1 month ago (2015-10-30 19:10:41 UTC) #40
Message was sent while issue was closed.
Patchset 21 (id:??) landed as
https://crrev.com/7d25c56175e1da831953c0a7eb500f33be051b0f
Cr-Commit-Position: refs/heads/master@{#357162}

Powered by Google App Engine
This is Rietveld 408576698