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

Issue 1989363007: Move predictor dns unit tests to browser tests (Closed)

Created:
4 years, 7 months ago by Charlie Harrison
Modified:
4 years, 6 months ago
Reviewers:
Julia Tuttle, eroman
CC:
chromium-reviews, cbentzel+watch_chromium.org, Randy Smith (Not in Mondays)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move predictor dns unit tests to browser tests This patch moves some unit tests for the predictor to browser tests. This is in preparation for a move where the predictor will call out to //content for preresolve requests. The patch also refactors how DNS browser tests work, where we query off the predictor's observer. BUG=610750, 469120 Committed: https://crrev.com/0597b217f6e2400796536e70ab3413743f4abf80 Cr-Commit-Position: refs/heads/master@{#396444}

Patch Set 1 #

Patch Set 2 : Fix some races #

Patch Set 3 : Hopefully fixed 469120 #

Total comments: 4

Patch Set 4 : Responded to rdsmith@s comments #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 14

Patch Set 7 : eroman@ review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+262 lines, -361 lines) Patch
M chrome/browser/net/predictor.h View 1 2 3 4 5 4 chunks +3 lines, -24 lines 0 comments Download
M chrome/browser/net/predictor.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/net/predictor_browsertest.cc View 1 2 3 4 5 6 16 chunks +252 lines, -109 lines 0 comments Download
M chrome/browser/net/predictor_unittest.cc View 1 2 3 4 5 8 chunks +5 lines, -228 lines 0 comments Download

Messages

Total messages: 27 (13 generated)
Charlie Harrison
Randy, do you mind taking a look at this one?
4 years, 7 months ago (2016-05-20 16:15:36 UTC) #3
Randy Smith (Not in Mondays)
I'm out of date on overall philosophy of testing at the content level, but when ...
4 years, 7 months ago (2016-05-21 21:04:21 UTC) #4
Charlie Harrison
On 2016/05/21 21:04:21, Randy Smith - Not in Fridays wrote: > I'm out of date ...
4 years, 7 months ago (2016-05-22 04:46:26 UTC) #5
Randy Smith (Not in Mondays)
Charles: Sorry to keep bouncing this one at a high level, but I'm wondering if ...
4 years, 7 months ago (2016-05-23 19:55:18 UTC) #7
Charlie Harrison
On 2016/05/23 19:55:18, Randy Smith - Not in Fridays wrote: > Charles: Sorry to keep ...
4 years, 7 months ago (2016-05-23 19:59:26 UTC) #8
Randy Smith (Not in Mondays)
Removed myself from the review list in favor of Julia.
4 years, 7 months ago (2016-05-24 15:27:21 UTC) #11
Charlie Harrison
Julia, PTAL. Randy, I'll add you back when I'm ready for a stamp (don't think ...
4 years, 7 months ago (2016-05-24 16:57:06 UTC) #13
Charlie Harrison
+rdsmith because Julia is OOO. I've updated the CL to be a lot simpler. PTAL? ...
4 years, 7 months ago (2016-05-26 16:31:44 UTC) #16
Charlie Harrison
Actually, Randy is pretty swamped with reviews now too. Eric, would you mind taking a ...
4 years, 7 months ago (2016-05-26 16:42:04 UTC) #18
eroman
not very familiar with the code, but LGTM https://codereview.chromium.org/1989363007/diff/100001/chrome/browser/net/predictor_browsertest.cc File chrome/browser/net/predictor_browsertest.cc (right): https://codereview.chromium.org/1989363007/diff/100001/chrome/browser/net/predictor_browsertest.cc#newcode87 chrome/browser/net/predictor_browsertest.cc:87: const ...
4 years, 7 months ago (2016-05-27 00:56:39 UTC) #19
Charlie Harrison
Thanks! https://codereview.chromium.org/1989363007/diff/100001/chrome/browser/net/predictor_browsertest.cc File chrome/browser/net/predictor_browsertest.cc (right): https://codereview.chromium.org/1989363007/diff/100001/chrome/browser/net/predictor_browsertest.cc#newcode87 chrome/browser/net/predictor_browsertest.cc:87: const char kChromiumHost[] = "http://chromium.org"; On 2016/05/27 00:56:38, ...
4 years, 6 months ago (2016-05-27 11:55:53 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1989363007/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1989363007/120001
4 years, 6 months ago (2016-05-27 11:56:16 UTC) #23
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 6 months ago (2016-05-27 12:24:17 UTC) #25
commit-bot: I haz the power
4 years, 6 months ago (2016-05-27 12:25:51 UTC) #27
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/0597b217f6e2400796536e70ab3413743f4abf80
Cr-Commit-Position: refs/heads/master@{#396444}

Powered by Google App Engine
This is Rietveld 408576698