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

Issue 2190753002: Add network setup code to BlimpClientContextImpl (Closed)

Created:
4 years, 4 months ago by nyquist
Modified:
4 years, 4 months ago
Reviewers:
Kevin M
CC:
chromium-reviews, cbentzel+watch_chromium.org, anandc+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, gcasto+watch-blimp_chromium.org, nyquist+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, jessicag+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, lethalantidote+watch-blimp_chromium.org, dtrainor+watch-blimp_chromium.org, shaktisahu+watch-blimp_chromium.org, khushalsagar+watch-blimp_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@split-blimp-client-session
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add network setup code to BlimpClientContextImpl The BlimpClientSession is only used for the shell, and it sets up network related code for that. This CL takes the network setup code and moves it to BlimpClientContextImpl. The CL also moves some exposed headers related to protocol buffers to the public_deps of those targets. This is because of the file blimp/net/browser_connection_handler.h which exposes the use of BlimpMessage::FeatureCase, which can not be forward declared. BUG=611097 Committed: https://crrev.com/d4f943953bbfaa0f4f5c0c448a2caa19df678321 Cr-Commit-Position: refs/heads/master@{#409370}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Changed to get a SingleThreadTaskRunner in constructor #

Total comments: 4

Patch Set 3 : addressed comments #

Patch Set 4 : addressed comments #

Total comments: 6

Patch Set 5 : Updated comments and changed test to use a testing::Test class #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -37 lines) Patch
M blimp/client/core/BUILD.gn View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M blimp/client/core/blimp_client_context_impl.h View 1 2 3 4 3 chunks +35 lines, -1 line 0 comments Download
M blimp/client/core/blimp_client_context_impl.cc View 1 2 3 4 3 chunks +37 lines, -5 lines 0 comments Download
M blimp/client/core/blimp_client_context_impl_unittest.cc View 1 2 3 4 1 chunk +41 lines, -4 lines 0 comments Download
M blimp/client/core/dummy_blimp_client_context.cc View 1 2 chunks +4 lines, -1 line 0 comments Download
M blimp/client/public/blimp_client_context.h View 1 2 chunks +6 lines, -1 line 0 comments Download
M blimp/client/test/BUILD.gn View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M blimp/client/test/test_blimp_client_context_delegate.h View 1 2 2 chunks +2 lines, -9 lines 0 comments Download
M blimp/client/test/test_blimp_client_context_delegate.cc View 1 2 1 chunk +2 lines, -13 lines 0 comments Download
M blimp/common/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M blimp/net/BUILD.gn View 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/android/blimp/blimp_client_context_factory.cc View 1 2 chunks +4 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 25 (14 generated)
nyquist
kmarshall: PTAL
4 years, 4 months ago (2016-07-27 21:57:38 UTC) #3
nyquist
https://codereview.chromium.org/2190753002/diff/1/blimp/client/core/blimp_client_context_impl.h File blimp/client/core/blimp_client_context_impl.h (right): https://codereview.chromium.org/2190753002/diff/1/blimp/client/core/blimp_client_context_impl.h#newcode63 blimp/client/core/blimp_client_context_impl.h:63: base::Thread io_thread_; Should the embedder provide a SequencedTaskRunner instead?
4 years, 4 months ago (2016-07-27 22:48:46 UTC) #4
Kevin M
One of the things that I think is missing from the current impl is that ...
4 years, 4 months ago (2016-07-28 19:18:56 UTC) #5
nyquist
PTAL https://codereview.chromium.org/2190753002/diff/1/blimp/client/core/blimp_client_context_impl.h File blimp/client/core/blimp_client_context_impl.h (right): https://codereview.chromium.org/2190753002/diff/1/blimp/client/core/blimp_client_context_impl.h#newcode63 blimp/client/core/blimp_client_context_impl.h:63: base::Thread io_thread_; On 2016/07/28 19:18:56, Kevin M wrote: ...
4 years, 4 months ago (2016-07-28 22:08:31 UTC) #6
Kevin M
General comment: for these refactoring CLs, let's keep a critical eye on the structure and ...
4 years, 4 months ago (2016-07-29 19:23:17 UTC) #7
nyquist
PTAL https://codereview.chromium.org/2190753002/diff/20001/blimp/client/core/blimp_client_context_impl.cc File blimp/client/core/blimp_client_context_impl.cc (right): https://codereview.chromium.org/2190753002/diff/20001/blimp/client/core/blimp_client_context_impl.cc#newcode52 blimp/client/core/blimp_client_context_impl.cc:52: RegisterFeatures(); On 2016/07/29 19:23:17, Kevin M wrote: > ...
4 years, 4 months ago (2016-07-29 22:26:57 UTC) #9
Kevin M
lgtm https://codereview.chromium.org/2190753002/diff/60001/blimp/client/core/blimp_client_context_impl.cc File blimp/client/core/blimp_client_context_impl.cc (right): https://codereview.chromium.org/2190753002/diff/60001/blimp/client/core/blimp_client_context_impl.cc#newcode57 blimp/client/core/blimp_client_context_impl.cc:57: // Initialize must only be posted after the ...
4 years, 4 months ago (2016-08-02 19:55:41 UTC) #14
nyquist
https://codereview.chromium.org/2190753002/diff/60001/blimp/client/core/blimp_client_context_impl.cc File blimp/client/core/blimp_client_context_impl.cc (right): https://codereview.chromium.org/2190753002/diff/60001/blimp/client/core/blimp_client_context_impl.cc#newcode57 blimp/client/core/blimp_client_context_impl.cc:57: // Initialize must only be posted after the RegisterFeature ...
4 years, 4 months ago (2016-08-02 21:47:04 UTC) #15
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/2190753002/80001
4 years, 4 months ago (2016-08-02 21:59:43 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-08-02 23:08:26 UTC) #23
commit-bot: I haz the power
4 years, 4 months ago (2016-08-02 23:10:22 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/d4f943953bbfaa0f4f5c0c448a2caa19df678321
Cr-Commit-Position: refs/heads/master@{#409370}

Powered by Google App Engine
This is Rietveld 408576698