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

Issue 1960813002: Fix DCHECK failure and add unittest for BlimpSystemURLContextGetter. (Closed)

Created:
4 years, 7 months ago by Jess
Modified:
4 years, 7 months ago
Reviewers:
haibinlu, Kevin M
CC:
chromium-reviews, anandc+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, nyquist+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, jessicag+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, dtrainor+watch-blimp_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix DCHECK failure and add unittest for BlimpSystemURLContextGetter. The URLRequestContextBuilder::Build calll in this function requires at least a dummy ProxyService to be set on linux builds. The nullptr ProxyService field in the context builder triggers a DCHECK on linux and android builds. Also adding a minimal test to confirm fix and avoid regressions. BUG=609998 Committed: https://crrev.com/20f84f3e73b8f4330659fa53ed11b9b5bc642d80 Cr-Commit-Position: refs/heads/master@{#392384}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use TestBlimpBrowserThreadBundle instead of deprecated test class. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -0 lines) Patch
M blimp/engine/BUILD.gn View 1 2 chunks +3 lines, -0 lines 0 comments Download
M blimp/engine/app/blimp_system_url_request_context_getter.cc View 2 chunks +4 lines, -0 lines 0 comments Download
A blimp/engine/app/blimp_system_url_request_context_getter_unittest.cc View 1 1 chunk +36 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
Jess
kmarshall@chromium.org: Please review changes in haibinlu@chromium.org: Please review changes in
4 years, 7 months ago (2016-05-06 22:25:50 UTC) #4
haibinlu
https://codereview.chromium.org/1960813002/diff/1/blimp/engine/app/blimp_system_url_request_context_getter_unittest.cc File blimp/engine/app/blimp_system_url_request_context_getter_unittest.cc (right): https://codereview.chromium.org/1960813002/diff/1/blimp/engine/app/blimp_system_url_request_context_getter_unittest.cc#newcode28 blimp/engine/app/blimp_system_url_request_context_getter_unittest.cc:28: content::TestBrowserThread ui_thread_; content::TestBrowserThread is deprecated?
4 years, 7 months ago (2016-05-07 01:53:34 UTC) #5
Jess
PTAL https://codereview.chromium.org/1960813002/diff/1/blimp/engine/app/blimp_system_url_request_context_getter_unittest.cc File blimp/engine/app/blimp_system_url_request_context_getter_unittest.cc (right): https://codereview.chromium.org/1960813002/diff/1/blimp/engine/app/blimp_system_url_request_context_getter_unittest.cc#newcode28 blimp/engine/app/blimp_system_url_request_context_getter_unittest.cc:28: content::TestBrowserThread ui_thread_; On 2016/05/07 01:53:34, haibinlu wrote: > ...
4 years, 7 months ago (2016-05-09 17:31:42 UTC) #6
haibinlu
lgtm
4 years, 7 months ago (2016-05-09 17:36:48 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1960813002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1960813002/20001
4 years, 7 months ago (2016-05-09 18:31:13 UTC) #9
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
4 years, 7 months ago (2016-05-09 18:31:15 UTC) #11
Kevin M
lgtm
4 years, 7 months ago (2016-05-09 18:48:12 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1960813002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1960813002/20001
4 years, 7 months ago (2016-05-09 18:49:00 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-09 18:54:38 UTC) #16
commit-bot: I haz the power
4 years, 7 months ago (2016-05-09 18:55:50 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/20f84f3e73b8f4330659fa53ed11b9b5bc642d80
Cr-Commit-Position: refs/heads/master@{#392384}

Powered by Google App Engine
This is Rietveld 408576698