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

Issue 1550843002: Convert enable_bidirectional_stream into build flag local to net. (Closed)

Created:
4 years, 12 months ago by mef
Modified:
4 years, 11 months ago
Reviewers:
Nico, mmenke
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert enable_bidirectional_stream into build flag local to net. BUG=571696 Committed: https://crrev.com/ff34b82bb81e0f1be15226bb2a3c4a2b484b421c Cr-Commit-Position: refs/heads/master@{#368589}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Remove #include net_features.h from public headers. #

Total comments: 8

Patch Set 3 : Fix net_unittests, restore BUILDFLAG checks in headers. #

Total comments: 5

Patch Set 4 : Add bidirectional_stream sources to net_small gn target. #

Patch Set 5 : Sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -36 lines) Patch
M build/common.gypi View 1 2 3 4 2 chunks +0 lines, -4 lines 0 comments Download
M net/BUILD.gn View 1 2 3 4 6 chunks +14 lines, -3 lines 0 comments Download
M net/http/bidirectional_stream.h View 2 1 chunk +2 lines, -1 line 0 comments Download
M net/http/bidirectional_stream_job.h View 2 1 chunk +2 lines, -1 line 0 comments Download
M net/http/http_stream_factory_impl.cc View 1 2 3 4 3 chunks +4 lines, -3 lines 0 comments Download
M net/http/http_stream_factory_impl_job.h View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M net/http/http_stream_factory_impl_job.cc View 1 2 3 4 6 chunks +6 lines, -6 lines 0 comments Download
M net/http/http_stream_factory_impl_request.h View 2 chunks +2 lines, -1 line 0 comments Download
M net/http/http_stream_factory_impl_request.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M net/http/http_stream_factory_impl_unittest.cc View 6 chunks +6 lines, -5 lines 0 comments Download
M net/net.gyp View 1 2 3 4 5 chunks +16 lines, -5 lines 0 comments Download
M net/net_common.gypi View 1 2 2 chunks +1 line, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 25 (4 generated)
mef
PTAL, this is a followup to address Nico's comment here: https://codereview.chromium.org/1326503003/diff/1270001/build/common.gypi
4 years, 12 months ago (2015-12-28 21:22:15 UTC) #2
mef
https://codereview.chromium.org/1550843002/diff/1/net/http/bidirectional_stream.h File net/http/bidirectional_stream.h (right): https://codereview.chromium.org/1550843002/diff/1/net/http/bidirectional_stream.h#newcode16 net/http/bidirectional_stream.h:16: #include "net/net_features.h" This is causing compilation error when this ...
4 years, 11 months ago (2015-12-29 18:58:28 UTC) #3
Nico
https://codereview.chromium.org/1550843002/diff/1/net/http/bidirectional_stream.h File net/http/bidirectional_stream.h (right): https://codereview.chromium.org/1550843002/diff/1/net/http/bidirectional_stream.h#newcode16 net/http/bidirectional_stream.h:16: #include "net/net_features.h" On 2015/12/29 18:58:28, mef wrote: > This ...
4 years, 11 months ago (2015-12-30 22:36:22 UTC) #4
mef
https://codereview.chromium.org/1550843002/diff/1/net/http/bidirectional_stream.h File net/http/bidirectional_stream.h (right): https://codereview.chromium.org/1550843002/diff/1/net/http/bidirectional_stream.h#newcode16 net/http/bidirectional_stream.h:16: #include "net/net_features.h" On 2015/12/30 22:36:21, Nico wrote: > On ...
4 years, 11 months ago (2015-12-30 23:20:46 UTC) #5
Nico
https://codereview.chromium.org/1550843002/diff/20001/net/http/bidirectional_stream.h File net/http/bidirectional_stream.h (left): https://codereview.chromium.org/1550843002/diff/20001/net/http/bidirectional_stream.h#oldcode18 net/http/bidirectional_stream.h:18: #error Only include this if ENABLE_BIDIRECTIONAL_STREAM is defined On ...
4 years, 11 months ago (2015-12-30 23:25:33 UTC) #6
mef
https://codereview.chromium.org/1550843002/diff/20001/net/http/bidirectional_stream.h File net/http/bidirectional_stream.h (left): https://codereview.chromium.org/1550843002/diff/20001/net/http/bidirectional_stream.h#oldcode18 net/http/bidirectional_stream.h:18: #error Only include this if ENABLE_BIDIRECTIONAL_STREAM is defined On ...
4 years, 11 months ago (2015-12-30 23:42:05 UTC) #7
mmenke
https://codereview.chromium.org/1550843002/diff/20001/net/http/bidirectional_stream.h File net/http/bidirectional_stream.h (left): https://codereview.chromium.org/1550843002/diff/20001/net/http/bidirectional_stream.h#oldcode18 net/http/bidirectional_stream.h:18: #error Only include this if ENABLE_BIDIRECTIONAL_STREAM is defined On ...
4 years, 11 months ago (2016-01-04 18:43:13 UTC) #8
mef
https://codereview.chromium.org/1550843002/diff/20001/net/http/bidirectional_stream.h File net/http/bidirectional_stream.h (left): https://codereview.chromium.org/1550843002/diff/20001/net/http/bidirectional_stream.h#oldcode18 net/http/bidirectional_stream.h:18: #error Only include this if ENABLE_BIDIRECTIONAL_STREAM is defined On ...
4 years, 11 months ago (2016-01-04 20:19:54 UTC) #9
mmenke
On 2016/01/04 20:19:54, mef wrote: > https://codereview.chromium.org/1550843002/diff/20001/net/http/bidirectional_stream.h > File net/http/bidirectional_stream.h (left): > > https://codereview.chromium.org/1550843002/diff/20001/net/http/bidirectional_stream.h#oldcode18 > ...
4 years, 11 months ago (2016-01-04 21:02:36 UTC) #10
mef
On 2016/01/04 21:02:36, mmenke (OOO Dec 19 to Jan 3) wrote: > On 2016/01/04 20:19:54, ...
4 years, 11 months ago (2016-01-04 21:48:26 UTC) #11
mmenke
https://codereview.chromium.org/1550843002/diff/20001/net/http/http_stream_factory_impl.cc File net/http/http_stream_factory_impl.cc (right): https://codereview.chromium.org/1550843002/diff/20001/net/http/http_stream_factory_impl.cc#newcode17 net/http/http_stream_factory_impl.cc:17: #include "net/net_features.h" Why is this needed here, but not ...
4 years, 11 months ago (2016-01-04 21:50:36 UTC) #12
mef
https://codereview.chromium.org/1550843002/diff/20001/net/http/http_stream_factory_impl.cc File net/http/http_stream_factory_impl.cc (right): https://codereview.chromium.org/1550843002/diff/20001/net/http/http_stream_factory_impl.cc#newcode17 net/http/http_stream_factory_impl.cc:17: #include "net/net_features.h" On 2016/01/04 21:50:36, mmenke (OOO Dec 19 ...
4 years, 11 months ago (2016-01-04 21:55:33 UTC) #13
mef
PTAL. It turns out that build errors that I've seen were not caused by localizing ...
4 years, 11 months ago (2016-01-06 22:51:43 UTC) #14
mmenke
https://codereview.chromium.org/1550843002/diff/40001/net/http/bidirectional_stream.h File net/http/bidirectional_stream.h (right): https://codereview.chromium.org/1550843002/diff/40001/net/http/bidirectional_stream.h#newcode18 net/http/bidirectional_stream.h:18: #if !BUILDFLAG(ENABLE_BIDIRECTIONAL_STREAM) Should all these files include "build/buildflag.h"? https://codereview.chromium.org/1550843002/diff/40001/net/net.gyp ...
4 years, 11 months ago (2016-01-07 18:16:41 UTC) #15
mef
https://codereview.chromium.org/1550843002/diff/40001/net/http/bidirectional_stream.h File net/http/bidirectional_stream.h (right): https://codereview.chromium.org/1550843002/diff/40001/net/http/bidirectional_stream.h#newcode18 net/http/bidirectional_stream.h:18: #if !BUILDFLAG(ENABLE_BIDIRECTIONAL_STREAM) On 2016/01/07 18:16:41, mmenke wrote: > Should ...
4 years, 11 months ago (2016-01-07 19:41:31 UTC) #16
mmenke
LGTM
4 years, 11 months ago (2016-01-07 20:05:42 UTC) #17
mef
On 2016/01/07 20:05:42, mmenke wrote: > LGTM Matt, thanks! Nico, PTAL.
4 years, 11 months ago (2016-01-07 21:15:57 UTC) #18
Nico
lgtm Looks, great, thanks :-) In general, I think it's good if cronet stays "chrome's ...
4 years, 11 months ago (2016-01-10 00:56:35 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1550843002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1550843002/80001
4 years, 11 months ago (2016-01-11 14:15:22 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 11 months ago (2016-01-11 15:28:20 UTC) #23
commit-bot: I haz the power
4 years, 11 months ago (2016-01-11 15:29:25 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/ff34b82bb81e0f1be15226bb2a3c4a2b484b421c
Cr-Commit-Position: refs/heads/master@{#368589}

Powered by Google App Engine
This is Rietveld 408576698