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

Issue 2051823003: [NTP Snippets] More reliable service initialization (Closed)

Created:
4 years, 6 months ago by dgn
Modified:
4 years, 6 months ago
CC:
chromium-reviews, zine-eng+reviews_google.com
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[NTP Snippets] More reliable service initialization The service was trying to guess if it should be enabled or not during its initialization if the sync state was not available. We now wait until the sync service is up to change states. BUG=618361, 618280 Committed: https://crrev.com/df9b2e3b028162b21b4b4a2ce6344bf0c873b9b9 Cr-Commit-Position: refs/heads/master@{#398914}

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Patch Set 4 : #

Total comments: 6

Patch Set 5 : address comments #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -70 lines) Patch
M components/ntp_snippets/ntp_snippets_service.h View 4 chunks +9 lines, -2 lines 0 comments Download
M components/ntp_snippets/ntp_snippets_service.cc View 1 2 3 4 5 13 chunks +69 lines, -68 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
dgn
PTAL https://codereview.chromium.org/2051823003/diff/20001/components/ntp_snippets/ntp_snippets_service.h File components/ntp_snippets/ntp_snippets_service.h (left): https://codereview.chromium.org/2051823003/diff/20001/components/ntp_snippets/ntp_snippets_service.h#oldcode180 components/ntp_snippets/ntp_snippets_service.h:180: // - READY: noop removed since now same-state ...
4 years, 6 months ago (2016-06-09 15:12:15 UTC) #2
Bernhard Bauer
https://codereview.chromium.org/2051823003/diff/60001/components/ntp_snippets/ntp_snippets_service.cc File components/ntp_snippets/ntp_snippets_service.cc (right): https://codereview.chromium.org/2051823003/diff/60001/components/ntp_snippets/ntp_snippets_service.cc#newcode581 components/ntp_snippets/ntp_snippets_service.cc:581: void NTPSnippetsService::LoadingSnippetsFinished() { This is now more FetchingSnippetsFinished(). You ...
4 years, 6 months ago (2016-06-09 15:21:34 UTC) #3
Marc Treib
LGTM, thanks! (with Bernhard's comments) https://codereview.chromium.org/2051823003/diff/60001/components/ntp_snippets/ntp_snippets_service.cc File components/ntp_snippets/ntp_snippets_service.cc (right): https://codereview.chromium.org/2051823003/diff/60001/components/ntp_snippets/ntp_snippets_service.cc#newcode587 components/ntp_snippets/ntp_snippets_service.cc:587: // over into |to_delete| ...
4 years, 6 months ago (2016-06-09 15:52:44 UTC) #4
dgn
https://codereview.chromium.org/2051823003/diff/60001/components/ntp_snippets/ntp_snippets_service.cc File components/ntp_snippets/ntp_snippets_service.cc (right): https://codereview.chromium.org/2051823003/diff/60001/components/ntp_snippets/ntp_snippets_service.cc#newcode581 components/ntp_snippets/ntp_snippets_service.cc:581: void NTPSnippetsService::LoadingSnippetsFinished() { On 2016/06/09 15:21:33, Bernhard Bauer wrote: ...
4 years, 6 months ago (2016-06-09 16:03:38 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2051823003/100001
4 years, 6 months ago (2016-06-09 16:04:16 UTC) #8
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 6 months ago (2016-06-09 16:41:37 UTC) #9
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-09 16:41:47 UTC) #10
commit-bot: I haz the power
4 years, 6 months ago (2016-06-09 16:47:26 UTC) #12
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/df9b2e3b028162b21b4b4a2ce6344bf0c873b9b9
Cr-Commit-Position: refs/heads/master@{#398914}

Powered by Google App Engine
This is Rietveld 408576698