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

Issue 1986173003: Fixes that host restriction was sometimes applied even when switched off. (Closed)

Created:
4 years, 7 months ago by jkrcal
Modified:
4 years, 7 months ago
Reviewers:
Marc Treib, dgn
CC:
chromium-reviews, mvanouwerkerk+watch_chromium.org, mcwilliams+watch_chromium.org, dgn+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixes that host restriction was sometimes applied even when switched off. Host restriction in ntp_snippets_service is used even if it is off in OnSuggestionsChanged. Now the observer is added only when host restriction is on. BUG=606320 Committed: https://crrev.com/6bdd3e5b737cb3d6e737ac10b8ec562c0fa0a22e Cr-Commit-Position: refs/heads/master@{#394377}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixing related API changes #

Total comments: 2

Patch Set 3 : Minor fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -5 lines) Patch
M components/ntp_snippets/ntp_snippets_fetcher.h View 1 2 2 chunks +11 lines, -4 lines 0 comments Download
M components/ntp_snippets/ntp_snippets_service.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 24 (11 generated)
jkrcal
PTAL.
4 years, 7 months ago (2016-05-17 15:10:19 UTC) #2
Marc Treib
Wow, that was fast! +dgn explicitly, since this will break the "clear snippets on signout" ...
4 years, 7 months ago (2016-05-17 15:23:58 UTC) #4
Marc Treib
Ah, also maybe update the descriptions: Host restriction WAS used even if ... As it ...
4 years, 7 months ago (2016-05-17 15:25:09 UTC) #5
dgn
lgtm, I'll directly listen to sync state changes instead of trying to guess it from ...
4 years, 7 months ago (2016-05-17 18:12:38 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1986173003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1986173003/20001
4 years, 7 months ago (2016-05-18 08:24:41 UTC) #9
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios-simulator-gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator-gn/builds/7541)
4 years, 7 months ago (2016-05-18 08:30:17 UTC) #11
jkrcal
Marc: I've forgotten to add related changes in the fetcher. Added for in the second ...
4 years, 7 months ago (2016-05-18 08:30:39 UTC) #12
Marc Treib
Still LGTM, with 2 more nits https://codereview.chromium.org/1986173003/diff/20001/components/ntp_snippets/ntp_snippets_fetcher.h File components/ntp_snippets/ntp_snippets_fetcher.h (right): https://codereview.chromium.org/1986173003/diff/20001/components/ntp_snippets/ntp_snippets_fetcher.h#newcode68 components/ntp_snippets/ntp_snippets_fetcher.h:68: // Enumaration listing ...
4 years, 7 months ago (2016-05-18 08:36:21 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1986173003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1986173003/40001
4 years, 7 months ago (2016-05-18 08:46:24 UTC) #15
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-18 10:07:13 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1986173003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1986173003/40001
4 years, 7 months ago (2016-05-18 10:24:25 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-18 10:28:08 UTC) #22
commit-bot: I haz the power
4 years, 7 months ago (2016-05-18 10:29:43 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6bdd3e5b737cb3d6e737ac10b8ec562c0fa0a22e
Cr-Commit-Position: refs/heads/master@{#394377}

Powered by Google App Engine
This is Rietveld 408576698