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

Issue 2064323004: Defines initial DeviceConditions and and plumbs down through StartProcessing() call. (Closed)

Created:
4 years, 6 months ago by dougarnett
Modified:
4 years, 6 months ago
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
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Defines initial DeviceConditions and and plumbs down through StartProcessing() call. BUG=619686 Committed: https://crrev.com/445fd2b04e36fc3df963b42a07636d48fe552aad Cr-Commit-Position: refs/heads/master@{#400455}

Patch Set 1 #

Patch Set 2 : consts #

Patch Set 3 : Merge #

Total comments: 10

Patch Set 4 : Junit verfiy DeviceConditions passed through startProcessing call #

Patch Set 5 : Merge #

Patch Set 6 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+153 lines, -39 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/offlinepages/BackgroundOfflinerTask.java View 1 2 3 4 5 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/offlinepages/BackgroundSchedulerBridge.java View 2 chunks +7 lines, -4 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/offlinepages/BackgroundSchedulerProcessorImpl.java View 1 chunk +2 lines, -3 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/offlinepages/DeviceConditions.java View 1 chunk +40 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/offlinepages/OfflinePageUtils.java View 1 chunk +18 lines, -9 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/offlinepages/interfaces/BackgroundSchedulerProcessor.java View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/android/java_sources.gni View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/android/junit/src/org/chromium/chrome/browser/offlinepages/BackgroundOfflinerTaskTest.java View 1 2 3 4 5 3 chunks +6 lines, -1 line 0 comments Download
M chrome/android/junit/src/org/chromium/chrome/browser/offlinepages/StubBackgroundSchedulerProcessor.java View 1 2 3 1 chunk +8 lines, -2 lines 0 comments Download
M chrome/browser/android/offline_pages/background_scheduler_bridge.cc View 3 chunks +13 lines, -12 lines 0 comments Download
M components/offline_pages.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M components/offline_pages/background/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
A components/offline_pages/background/device_conditions.h View 1 1 chunk +42 lines, -0 lines 0 comments Download
M components/offline_pages/background/request_coordinator.h View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M components/offline_pages/background/request_coordinator.cc View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download
M components/offline_pages/background/request_coordinator_unittest.cc View 1 2 3 3 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (11 generated)
dougarnett
Please give initial look (having trouble with trybots patching at the moment).
4 years, 6 months ago (2016-06-15 22:06:21 UTC) #4
Pete Williamson
https://codereview.chromium.org/2064323004/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/OfflinePageUtils.java File chrome/android/java/src/org/chromium/chrome/browser/offlinepages/OfflinePageUtils.java (right): https://codereview.chromium.org/2064323004/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/OfflinePageUtils.java#newcode213 chrome/android/java/src/org/chromium/chrome/browser/offlinepages/OfflinePageUtils.java:213: NetworkChangeNotifier.getInstance().getCurrentConnectionType()); So what Does the NetworkChangeNotifier return if we ...
4 years, 6 months ago (2016-06-16 17:46:26 UTC) #6
dougarnett
Adding fgorski to review.
4 years, 6 months ago (2016-06-16 18:47:25 UTC) #8
dougarnett
https://codereview.chromium.org/2064323004/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/OfflinePageUtils.java File chrome/android/java/src/org/chromium/chrome/browser/offlinepages/OfflinePageUtils.java (right): https://codereview.chromium.org/2064323004/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/OfflinePageUtils.java#newcode213 chrome/android/java/src/org/chromium/chrome/browser/offlinepages/OfflinePageUtils.java:213: NetworkChangeNotifier.getInstance().getCurrentConnectionType()); On 2016/06/16 17:46:26, Pete Williamson wrote: > So ...
4 years, 6 months ago (2016-06-16 21:03:07 UTC) #9
Pete Williamson
lgtm https://codereview.chromium.org/2064323004/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/OfflinePageUtils.java File chrome/android/java/src/org/chromium/chrome/browser/offlinepages/OfflinePageUtils.java (right): https://codereview.chromium.org/2064323004/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/OfflinePageUtils.java#newcode213 chrome/android/java/src/org/chromium/chrome/browser/offlinepages/OfflinePageUtils.java:213: NetworkChangeNotifier.getInstance().getCurrentConnectionType()); On 2016/06/16 21:03:07, dougarnett wrote: > On ...
4 years, 6 months ago (2016-06-16 22:43:57 UTC) #10
dougarnett
Going to try to land. Filip, happy to follow up on any feedback in another ...
4 years, 6 months ago (2016-06-17 16:55:46 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2064323004/80001
4 years, 6 months ago (2016-06-17 16:56:10 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/202627)
4 years, 6 months ago (2016-06-17 17:02:50 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2064323004/100001
4 years, 6 months ago (2016-06-17 17:22:44 UTC) #18
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 6 months ago (2016-06-17 18:05:14 UTC) #20
commit-bot: I haz the power
4 years, 6 months ago (2016-06-17 18:06:48 UTC) #22
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/445fd2b04e36fc3df963b42a07636d48fe552aad
Cr-Commit-Position: refs/heads/master@{#400455}

Powered by Google App Engine
This is Rietveld 408576698