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

Issue 2470923002: Revert "Revert of Moving gRPC support interfaces out of cronet and into a new component. (patchset … (Closed)

Created:
4 years, 1 month ago by Garrett Casto
Modified:
4 years, 1 month ago
Reviewers:
mef
CC:
chromium-reviews, blundell+watchlist_chromium.org, cbentzel+watch_chromium.org, sdefresne+watchlist_chromium.org, droger+watchlist_chromium.org, mac-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland refactor of gRPC. Previous CL was reverted because it used a fixed port for testing, which was sometimes occupied. The test now uses dynamically bound ports for Cronet as well as the grpc_support unittest. Revert "Revert of Moving gRPC support interfaces out of cronet and into a new component. (patchset #67 id:1300001 of https://codereview.chromium.org/2273403003/ )" This reverts commit 3b72ebe609598fa876ddd2af0b61636a225486c1. TBR=blundell@chromium.org BUG=650462 Committed: https://crrev.com/47cd6404f5dbcf436a4dd0e1685498da2ec3f4fe Cr-Commit-Position: refs/heads/master@{#430995}

Patch Set 1 : Similarity #

Patch Set 2 : Use dynamic ports for testing #

Patch Set 3 : Fix cronet tests #

Total comments: 7

Patch Set 4 : Fix Cronet test race condition #

Total comments: 6

Patch Set 5 : Address comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+921 lines, -2656 lines) Patch
M components/BUILD.gn View 2 1 chunk +1 line, -0 lines 0 comments Download
M components/cronet/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M components/cronet/ios/BUILD.gn View 4 chunks +11 lines, -8 lines 0 comments Download
M components/cronet/ios/Cronet.h View 1 3 chunks +6 lines, -4 lines 0 comments Download
M components/cronet/ios/Cronet.mm View 1 2 4 chunks +8 lines, -9 lines 0 comments Download
D components/cronet/ios/cronet_bidirectional_stream.h View 1 chunk +0 lines, -232 lines 0 comments Download
D components/cronet/ios/cronet_bidirectional_stream.cc View 1 chunk +0 lines, -390 lines 0 comments Download
D components/cronet/ios/cronet_c_for_grpc.h View 1 chunk +0 lines, -243 lines 0 comments Download
D components/cronet/ios/cronet_c_for_grpc.cc View 1 chunk +0 lines, -290 lines 0 comments Download
M components/cronet/ios/cronet_environment.h View 1 2 3 4 3 chunks +12 lines, -11 lines 1 comment Download
M components/cronet/ios/cronet_environment.cc View 1 2 3 4 3 chunks +18 lines, -5 lines 0 comments Download
M components/cronet/ios/test/BUILD.gn View 2 chunks +5 lines, -3 lines 0 comments Download
D components/cronet/ios/test/cronet_bidirectional_stream_test.mm View 1 chunk +0 lines, -709 lines 0 comments Download
M components/cronet/ios/test/cronet_http_test.mm View 1 2 4 chunks +13 lines, -12 lines 0 comments Download
M components/cronet/ios/test/cronet_test_runner.mm View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
A components/cronet/ios/test/get_stream_engine.mm View 1 1 chunk +18 lines, -0 lines 0 comments Download
D components/cronet/ios/test/quic_test_server.h View 1 chunk +0 lines, -32 lines 0 comments Download
D components/cronet/ios/test/quic_test_server.cc View 1 chunk +0 lines, -136 lines 0 comments Download
A + components/cronet/ios/test/start_cronet.h View 1 1 chunk +6 lines, -5 lines 0 comments Download
A components/cronet/ios/test/start_cronet.mm View 1 2 1 chunk +35 lines, -0 lines 0 comments Download
A components/grpc_support/BUILD.gn View 1 chunk +33 lines, -0 lines 0 comments Download
A + components/grpc_support/DEPS View 2 0 chunks +-1 lines, --1 lines 0 comments Download
A components/grpc_support/OWNERS View 1 chunk +3 lines, -0 lines 0 comments Download
A components/grpc_support/README.md View 1 chunk +14 lines, -0 lines 0 comments Download
A + components/grpc_support/bidirectional_stream.h View 8 chunks +23 lines, -19 lines 0 comments Download
A + components/grpc_support/bidirectional_stream.cc View 16 chunks +95 lines, -84 lines 0 comments Download
A + components/grpc_support/bidirectional_stream_c.cc View 8 chunks +92 lines, -97 lines 0 comments Download
A + components/grpc_support/bidirectional_stream_unittest.cc View 1 24 chunks +193 lines, -246 lines 0 comments Download
A components/grpc_support/include/DEPS View 1 chunk +8 lines, -0 lines 0 comments Download
A + components/grpc_support/include/bidirectional_stream_c.h View 6 chunks +93 lines, -90 lines 0 comments Download
A components/grpc_support/include/headers.gni View 1 chunk +2 lines, -0 lines 0 comments Download
A components/grpc_support/test/BUILD.gn View 1 chunk +42 lines, -0 lines 0 comments Download
A components/grpc_support/test/get_stream_engine.h View 1 1 chunk +19 lines, -0 lines 0 comments Download
A components/grpc_support/test/get_stream_engine.cc View 1 1 chunk +130 lines, -0 lines 0 comments Download
A + components/grpc_support/test/quic_test_server.h View 1 2 chunks +8 lines, -6 lines 0 comments Download
A + components/grpc_support/test/quic_test_server.cc View 1 9 chunks +29 lines, -26 lines 0 comments Download

Messages

Total messages: 30 (11 generated)
Garrett Casto
4 years, 1 month ago (2016-11-02 21:10:17 UTC) #6
Garrett Casto
Ping? I would like to re-land this soon.
4 years, 1 month ago (2016-11-07 14:43:36 UTC) #10
blundell
On 2016/11/07 14:43:36, Garrett Casto wrote: > Ping? I would like to re-land this soon. ...
4 years, 1 month ago (2016-11-07 14:47:58 UTC) #11
mef
Sorry for the delay, it took me a little bit to understand the difference. https://codereview.chromium.org/2470923002/diff/60001/components/cronet/ios/cronet_environment.cc ...
4 years, 1 month ago (2016-11-07 16:33:27 UTC) #12
Garrett Casto
Ah, yes sorry I didn't clarify that. The first patch set is the original CL, ...
4 years, 1 month ago (2016-11-07 17:06:43 UTC) #13
Garrett Casto
https://codereview.chromium.org/2470923002/diff/60001/components/cronet/ios/cronet_environment.cc File components/cronet/ios/cronet_environment.cc (right): https://codereview.chromium.org/2470923002/diff/60001/components/cronet/ios/cronet_environment.cc#newcode296 components/cronet/ios/cronet_environment.cc:296: mapped_host_resolver->SetRulesFromString(host_resolver_rules_); On 2016/11/07 16:33:26, mef wrote: > would those ...
4 years, 1 month ago (2016-11-07 17:23:11 UTC) #14
mef
https://codereview.chromium.org/2470923002/diff/60001/components/cronet/ios/cronet_environment.cc File components/cronet/ios/cronet_environment.cc (right): https://codereview.chromium.org/2470923002/diff/60001/components/cronet/ios/cronet_environment.cc#newcode401 components/cronet/ios/cronet_environment.cc:401: if (main_context_) { I think this is racy. :( ...
4 years, 1 month ago (2016-11-07 17:26:40 UTC) #15
mef
On 2016/11/07 17:26:40, mef wrote: > https://codereview.chromium.org/2470923002/diff/60001/components/cronet/ios/cronet_environment.cc > File components/cronet/ios/cronet_environment.cc (right): > > https://codereview.chromium.org/2470923002/diff/60001/components/cronet/ios/cronet_environment.cc#newcode401 > ...
4 years, 1 month ago (2016-11-07 17:49:54 UTC) #16
chromium-reviews
On Mon, Nov 7, 2016 at 9:49 AM, <mef@chromium.org> wrote: > On 2016/11/07 17:26:40, mef ...
4 years, 1 month ago (2016-11-07 18:09:10 UTC) #17
mef
Thanks for changes! https://codereview.chromium.org/2470923002/diff/80001/components/cronet/ios/cronet_environment.cc File components/cronet/ios/cronet_environment.cc (right): https://codereview.chromium.org/2470923002/diff/80001/components/cronet/ios/cronet_environment.cc#newcode404 components/cronet/ios/cronet_environment.cc:404: event_.Wait(); Can event be allocated on ...
4 years, 1 month ago (2016-11-07 18:15:21 UTC) #18
Garrett Casto
https://codereview.chromium.org/2470923002/diff/80001/components/cronet/ios/cronet_environment.cc File components/cronet/ios/cronet_environment.cc (right): https://codereview.chromium.org/2470923002/diff/80001/components/cronet/ios/cronet_environment.cc#newcode404 components/cronet/ios/cronet_environment.cc:404: event_.Wait(); On 2016/11/07 18:15:20, mef wrote: > Can event ...
4 years, 1 month ago (2016-11-07 18:37:26 UTC) #19
mef
lgtm https://codereview.chromium.org/2470923002/diff/100001/components/cronet/ios/cronet_environment.h File components/cronet/ios/cronet_environment.h (right): https://codereview.chromium.org/2470923002/diff/100001/components/cronet/ios/cronet_environment.h#newcode121 components/cronet/ios/cronet_environment.h:121: // Sets host resolver rules on the network_io_thread_. ...
4 years, 1 month ago (2016-11-07 18:44:51 UTC) #20
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/2470923002/100001
4 years, 1 month ago (2016-11-09 17:43:20 UTC) #22
commit-bot: I haz the power
Failed to apply patch for components/grpc_support/DEPS: While running git apply --index -3 -p1; error: repository ...
4 years, 1 month ago (2016-11-09 19:10:19 UTC) #24
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/47cd6404f5dbcf436a4dd0e1685498da2ec3f4fe Cr-Commit-Position: refs/heads/master@{#430995}
4 years, 1 month ago (2016-11-09 19:17:11 UTC) #26
Dirk Pranke
A revert of this CL (patchset #5 id:100001) has been created in https://codereview.chromium.org/2484263005/ by dpranke@chromium.org. ...
4 years, 1 month ago (2016-11-09 19:48:23 UTC) #27
Lei Zhang
On 2016/11/09 19:48:23, Dirk Pranke wrote: > A revert of this CL (patchset #5 id:100001) ...
4 years, 1 month ago (2016-11-09 21:37:37 UTC) #28
chromium-reviews
I can't get this to reproduce running locally either with --single-process-tests and/or --gtest_shuffle, and obviously ...
4 years, 1 month ago (2016-11-09 21:47:27 UTC) #29
mikecase (-- gone --)
4 years, 1 month ago (2016-11-09 23:45:08 UTC) #30
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:100001) has been created in
https://codereview.chromium.org/2487863003/ by mikecase@chromium.org.

The reason for reverting is: Causing components_unittests failure on 

https://uberchromegw.corp.google.com/i/chromium.linux/builders/Android%20Test....

Powered by Google App Engine
This is Rietveld 408576698