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

Issue 2418413003: predictors: Replace deprecated TestBrowserThread by TestBrowserThreadBundle (Closed)

Created:
4 years, 2 months ago by alexilin
Modified:
4 years, 2 months ago
Reviewers:
pasko, Benoit L
CC:
chromium-reviews, shishir+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

predictors: Replace deprecated TestBrowserThread by TestBrowserThreadBundle And also use more convenient operator<< instead of PrintTo for tests. BUG=631966, 272091 Committed: https://crrev.com/241eb5ff377402abdd0a322d9cebb7e958967dea Cr-Commit-Position: refs/heads/master@{#425698}

Patch Set 1 #

Total comments: 9

Patch Set 2 : '\n' -> std::endl #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -37 lines) Patch
M chrome/browser/predictors/resource_prefetch_predictor_test_util.h View 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/predictors/resource_prefetch_predictor_test_util.cc View 1 1 chunk +24 lines, -25 lines 0 comments Download
M chrome/browser/predictors/resource_prefetch_predictor_unittest.cc View 4 chunks +3 lines, -8 lines 0 comments Download

Messages

Total messages: 21 (13 generated)
alexilin
I've deleted deprecated class from unittest code + operator<< is more convenient that PrintTo function ...
4 years, 2 months ago (2016-10-17 12:31:21 UTC) #2
pasko
lgtm with minor suggestions and if bots pass Yeah, seems to be changing the way ...
4 years, 2 months ago (2016-10-17 14:46:32 UTC) #3
pasko
https://codereview.chromium.org/2418413003/diff/1/chrome/browser/predictors/resource_prefetch_predictor_test_util.cc File chrome/browser/predictors/resource_prefetch_predictor_test_util.cc (right): https://codereview.chromium.org/2418413003/diff/1/chrome/browser/predictors/resource_prefetch_predictor_test_util.cc#newcode63 chrome/browser/predictors/resource_prefetch_predictor_test_util.cc:63: os << "\t\t" << resource << "\n"; nit: std::endl ...
4 years, 2 months ago (2016-10-17 14:46:42 UTC) #4
alexilin
https://codereview.chromium.org/2418413003/diff/1/chrome/browser/predictors/resource_prefetch_predictor_test_util.cc File chrome/browser/predictors/resource_prefetch_predictor_test_util.cc (right): https://codereview.chromium.org/2418413003/diff/1/chrome/browser/predictors/resource_prefetch_predictor_test_util.cc#newcode63 chrome/browser/predictors/resource_prefetch_predictor_test_util.cc:63: os << "\t\t" << resource << "\n"; On 2016/10/17 ...
4 years, 2 months ago (2016-10-17 15:32:35 UTC) #11
pasko
still lgtm, thanks https://codereview.chromium.org/2418413003/diff/1/chrome/browser/predictors/resource_prefetch_predictor_test_util.cc File chrome/browser/predictors/resource_prefetch_predictor_test_util.cc (right): https://codereview.chromium.org/2418413003/diff/1/chrome/browser/predictors/resource_prefetch_predictor_test_util.cc#newcode63 chrome/browser/predictors/resource_prefetch_predictor_test_util.cc:63: os << "\t\t" << resource << ...
4 years, 2 months ago (2016-10-17 16:09:20 UTC) #13
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/2418413003/20001
4 years, 2 months ago (2016-10-17 16:29:17 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-17 16:36:12 UTC) #19
commit-bot: I haz the power
4 years, 2 months ago (2016-10-17 16:38:55 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/241eb5ff377402abdd0a322d9cebb7e958967dea
Cr-Commit-Position: refs/heads/master@{#425698}

Powered by Google App Engine
This is Rietveld 408576698