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

Issue 2569663004: [NTPSnippets] Switch from TickClock to Clock for storing the last background fetched time. (Closed)

Created:
4 years ago by markusheintz_
Modified:
4 years ago
Reviewers:
Bernhard Bauer, jkrcal
CC:
chromium-reviews, arv+watch_chromium.org, ntp-dev+reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[NTPSnippets] Switch from TickClock to Clock for storing the last background fetched time. Expose the last background fetch time on snippets internals and allow to trigger background fetches manually from snippets internal. BUG=665873 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/6f611ae761793787a9c970a10fee31f7b23d7bc5 Cr-Commit-Position: refs/heads/master@{#438262}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address comments bauerb #

Patch Set 3 : Add a DCHECK to check that the num or args passed to the new method is 0 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -51 lines) Patch
M chrome/browser/resources/snippets_internals.html View 1 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/resources/snippets_internals.js View 3 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/snippets_internals_message_handler.h View 1 3 chunks +13 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/snippets_internals_message_handler.cc View 1 2 10 chunks +60 lines, -34 lines 0 comments Download
M chrome/browser/ui/webui/snippets_internals_ui.cc View 1 2 chunks +4 lines, -1 line 0 comments Download
M components/ntp_snippets/remote/remote_suggestions_provider.h View 3 chunks +5 lines, -4 lines 0 comments Download
M components/ntp_snippets/remote/remote_suggestions_provider.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M components/ntp_snippets/remote/remote_suggestions_provider_unittest.cc View 3 chunks +7 lines, -8 lines 0 comments Download

Messages

Total messages: 30 (20 generated)
markusheintz_
Jan PTAL thanks
4 years ago (2016-12-13 12:10:52 UTC) #4
Bernhard Bauer
https://codereview.chromium.org/2569663004/diff/1/chrome/browser/resources/snippets_internals.html File chrome/browser/resources/snippets_internals.html (right): https://codereview.chromium.org/2569663004/diff/1/chrome/browser/resources/snippets_internals.html#newcode103 chrome/browser/resources/snippets_internals.html:103: Fetch Remote Suggestion in the Background Nit: "suggestions", and ...
4 years ago (2016-12-13 13:06:54 UTC) #8
markusheintz_
https://codereview.chromium.org/2569663004/diff/1/chrome/browser/resources/snippets_internals.html File chrome/browser/resources/snippets_internals.html (right): https://codereview.chromium.org/2569663004/diff/1/chrome/browser/resources/snippets_internals.html#newcode103 chrome/browser/resources/snippets_internals.html:103: Fetch Remote Suggestion in the Background On 2016/12/13 13:06:54, ...
4 years ago (2016-12-13 14:01:28 UTC) #13
markusheintz_
Address comments bauerb
4 years ago (2016-12-13 14:02:22 UTC) #14
markusheintz_
Add a DCHECK to check that the num or args passed to the new method ...
4 years ago (2016-12-13 14:14:27 UTC) #17
Bernhard Bauer
LGTM, thanks!
4 years ago (2016-12-13 15:06:11 UTC) #20
jkrcal
lgtm
4 years ago (2016-12-13 15:11:12 UTC) #21
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/2569663004/40001
4 years ago (2016-12-13 19:43:09 UTC) #25
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-13 19:51:44 UTC) #28
commit-bot: I haz the power
4 years ago (2016-12-13 19:55:25 UTC) #30
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6f611ae761793787a9c970a10fee31f7b23d7bc5
Cr-Commit-Position: refs/heads/master@{#438262}

Powered by Google App Engine
This is Rietveld 408576698