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

Issue 2357163004: [NTP Snippets] Remove scheduled re-scheduling (Closed)

Created:
4 years, 2 months ago by Marc Treib
Modified:
4 years, 2 months ago
CC:
chromium-reviews, ntp-dev+reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[NTP Snippets] Remove scheduled re-scheduling We don't need this anymore. Keep SnippetsBridge.rescheduleFetching() though - we'll need this to re-schedule tasks from the Java side after an application upgrade (which clears them all). BUG=646842 Committed: https://crrev.com/f8d45bd01dea555d4b124caade5210841dab8f4a Cr-Commit-Position: refs/heads/master@{#421156}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Review: remove requiresCharging #

Total comments: 2

Patch Set 3 : super-nit, rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -121 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/ChromeBackgroundService.java View 2 chunks +0 lines, -16 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetsBridge.java View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetsLauncher.java View 1 6 chunks +10 lines, -37 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/ChromeBackgroundServiceTest.java View 4 chunks +11 lines, -34 lines 0 comments Download
M chrome/browser/android/ntp/ntp_snippets_bridge.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/android/ntp/ntp_snippets_launcher.h View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/android/ntp/ntp_snippets_launcher.cc View 1 chunk +4 lines, -5 lines 0 comments Download
M components/ntp_snippets/ntp_snippets_scheduler.h View 1 chunk +5 lines, -8 lines 0 comments Download
M components/ntp_snippets/ntp_snippets_service.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/ntp_snippets/ntp_snippets_service.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M components/ntp_snippets/ntp_snippets_service_unittest.cc View 1 2 7 chunks +11 lines, -12 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 25 (14 generated)
Marc Treib
One more intermediate cleanup. PTAL!
4 years, 2 months ago (2016-09-22 12:53:27 UTC) #2
jkrcal
lgtm with the comments / questions below. https://codereview.chromium.org/2357163004/diff/1/chrome/android/java/src/org/chromium/chrome/browser/ChromeBackgroundService.java File chrome/android/java/src/org/chromium/chrome/browser/ChromeBackgroundService.java (left): https://codereview.chromium.org/2357163004/diff/1/chrome/android/java/src/org/chromium/chrome/browser/ChromeBackgroundService.java#oldcode78 chrome/android/java/src/org/chromium/chrome/browser/ChromeBackgroundService.java:78: break; Is ...
4 years, 2 months ago (2016-09-22 13:48:51 UTC) #3
Marc Treib
https://codereview.chromium.org/2357163004/diff/1/chrome/android/java/src/org/chromium/chrome/browser/ChromeBackgroundService.java File chrome/android/java/src/org/chromium/chrome/browser/ChromeBackgroundService.java (left): https://codereview.chromium.org/2357163004/diff/1/chrome/android/java/src/org/chromium/chrome/browser/ChromeBackgroundService.java#oldcode78 chrome/android/java/src/org/chromium/chrome/browser/ChromeBackgroundService.java:78: break; On 2016/09/22 13:48:50, jkrcal wrote: > Is this ...
4 years, 2 months ago (2016-09-22 14:27:03 UTC) #4
Marc Treib
+nyquist for chrome/android/java[tests] - could you please take a look, since bauerb@ is out until ...
4 years, 2 months ago (2016-09-22 15:01:50 UTC) #8
Marc Treib
+bauerb, who's apparently semi-in after all :) Bernhard, could you take a look at the ...
4 years, 2 months ago (2016-09-23 09:25:40 UTC) #12
Bernhard Bauer
lgtm https://codereview.chromium.org/2357163004/diff/20001/components/ntp_snippets/ntp_snippets_service.h File components/ntp_snippets/ntp_snippets_service.h (right): https://codereview.chromium.org/2357163004/diff/20001/components/ntp_snippets/ntp_snippets_service.h#newcode103 components/ntp_snippets/ntp_snippets_service.h:103: // Ignored while |ready()| is false. Super-nit: The ...
4 years, 2 months ago (2016-09-26 14:04:56 UTC) #13
nyquist
I'll trust bauerb@ on this.
4 years, 2 months ago (2016-09-26 20:34:19 UTC) #14
Marc Treib
https://codereview.chromium.org/2357163004/diff/20001/components/ntp_snippets/ntp_snippets_service.h File components/ntp_snippets/ntp_snippets_service.h (right): https://codereview.chromium.org/2357163004/diff/20001/components/ntp_snippets/ntp_snippets_service.h#newcode103 components/ntp_snippets/ntp_snippets_service.h:103: // Ignored while |ready()| is false. On 2016/09/26 14:04:55, ...
4 years, 2 months ago (2016-09-27 08:23:53 UTC) #17
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/2357163004/40001
4 years, 2 months ago (2016-09-27 09:12:04 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-09-27 09:17:20 UTC) #23
commit-bot: I haz the power
4 years, 2 months ago (2016-09-27 09:19:14 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f8d45bd01dea555d4b124caade5210841dab8f4a
Cr-Commit-Position: refs/heads/master@{#421156}

Powered by Google App Engine
This is Rietveld 408576698