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

Issue 2658513004: [Offline Pages] Adding a network check in test scheduler. (Closed)

Created:
3 years, 11 months ago by romax
Modified:
3 years, 11 months ago
Reviewers:
Pete Williamson
CC:
chromium-reviews, romax+watch_chromium.org, fgorski+watch_chromium.org, dewittj+watch_chromium.org, petewil+watch_chromium.org, chili+watch_chromium.org, dimich+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Offline Pages] Adding a network check in test scheduler. The test scheduler wasn't behaving as GCMNetworkManager since it had no idea if the network is gone at the moment it was called back from request coodinator. Adding a check which would prevent the test scheduler from calling startImmediateProcessing when there's no network. BUG=682766 Review-Url: https://codereview.chromium.org/2658513004 Cr-Commit-Position: refs/heads/master@{#445922} Committed: https://chromium.googlesource.com/chromium/src/+/76d8b4dc116f6e4e2c59b4d0b79fb82dacd4f6a9

Patch Set 1 #

Total comments: 1

Patch Set 2 : comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -3 lines) Patch
M chrome/browser/android/offline_pages/evaluation/evaluation_test_scheduler.cc View 1 2 chunks +21 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (5 generated)
romax
PTAL, thanks!
3 years, 11 months ago (2017-01-25 01:51:41 UTC) #2
Pete Williamson
lgtm with nits https://codereview.chromium.org/2658513004/diff/1/chrome/browser/android/offline_pages/evaluation/evaluation_test_scheduler.cc File chrome/browser/android/offline_pages/evaluation/evaluation_test_scheduler.cc (right): https://codereview.chromium.org/2658513004/diff/1/chrome/browser/android/offline_pages/evaluation/evaluation_test_scheduler.cc#newcode82 chrome/browser/android/offline_pages/evaluation/evaluation_test_scheduler.cc:82: // This method is not expected ...
3 years, 11 months ago (2017-01-25 02:01:42 UTC) #3
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/2658513004/20001
3 years, 11 months ago (2017-01-25 02:19:54 UTC) #6
commit-bot: I haz the power
3 years, 11 months ago (2017-01-25 03:01:33 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/76d8b4dc116f6e4e2c59b4d0b79f...

Powered by Google App Engine
This is Rietveld 408576698