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

Issue 2759943002: [Remote suggestions] Do not fetch before EULA accepted (Closed)

Created:
3 years, 9 months ago by jkrcal
Modified:
3 years, 8 months ago
CC:
chromium-reviews, ios-reviews+chrome_chromium.org, ntp-dev+reviews_chromium.org, droger+watchlist_chromium.org, pkl (ping after 24h if needed), blundell+watchlist_chromium.org, sdefresne+watchlist_chromium.org, noyau+watch_chromium.org, ios-reviews_chromium.org, marq+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Remote suggestions] Do not fetch before EULA accepted This CL makes sure we never fetch snippets before EULA gets accepted by the user (if the platforms supports accepting EULA on FRE). BUG=676662 Review-Url: https://codereview.chromium.org/2759943002 Cr-Commit-Position: refs/heads/master@{#460348} Committed: https://chromium.googlesource.com/chromium/src/+/f7081f8bb1607bc160ff793fd02cf257d04c6ef8

Patch Set 1 #

Patch Set 2 : Fix unit-test #

Total comments: 4

Patch Set 3 : Tim's comments #

Total comments: 2

Patch Set 4 : Tim's comments #2 #

Total comments: 14

Patch Set 5 : Tim's comments #3 #

Patch Set 6 : Rebase and fix GN deps (adding the new dep into tests as well) #

Patch Set 7 : Fix android and ios unit-tests #

Patch Set 8 : Fix compilation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+289 lines, -154 lines) Patch
M chrome/browser/ntp_snippets/content_suggestions_service_factory.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M components/ntp_snippets/BUILD.gn View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M components/ntp_snippets/DEPS View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M components/ntp_snippets/remote/scheduling_remote_suggestions_provider.h View 1 2 3 4 5 4 chunks +8 lines, -2 lines 0 comments Download
M components/ntp_snippets/remote/scheduling_remote_suggestions_provider.cc View 1 2 8 chunks +67 lines, -20 lines 0 comments Download
M components/ntp_snippets/remote/scheduling_remote_suggestions_provider_unittest.cc View 1 2 3 4 5 6 7 29 chunks +208 lines, -131 lines 0 comments Download
M ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 40 (26 generated)
jkrcal
Tim, could you PTAL? (feel free to relay to someone else if you are too ...
3 years, 9 months ago (2017-03-20 14:12:11 UTC) #2
tschumann
sorry for the delay! https://codereview.chromium.org/2759943002/diff/20001/components/ntp_snippets/remote/scheduling_remote_suggestions_provider.h File components/ntp_snippets/remote/scheduling_remote_suggestions_provider.h (right): https://codereview.chromium.org/2759943002/diff/20001/components/ntp_snippets/remote/scheduling_remote_suggestions_provider.h#newcode62 components/ntp_snippets/remote/scheduling_remote_suggestions_provider.h:62: public web_resource::EulaAcceptedNotifier::Observer { as you ...
3 years, 9 months ago (2017-03-21 20:13:15 UTC) #11
jkrcal
PTAL again! https://codereview.chromium.org/2759943002/diff/20001/components/ntp_snippets/remote/scheduling_remote_suggestions_provider.h File components/ntp_snippets/remote/scheduling_remote_suggestions_provider.h (right): https://codereview.chromium.org/2759943002/diff/20001/components/ntp_snippets/remote/scheduling_remote_suggestions_provider.h#newcode62 components/ntp_snippets/remote/scheduling_remote_suggestions_provider.h:62: public web_resource::EulaAcceptedNotifier::Observer { On 2017/03/21 20:13:15, tschumann ...
3 years, 9 months ago (2017-03-22 09:36:05 UTC) #12
tschumann
https://codereview.chromium.org/2759943002/diff/20001/components/ntp_snippets/remote/scheduling_remote_suggestions_provider.h File components/ntp_snippets/remote/scheduling_remote_suggestions_provider.h (right): https://codereview.chromium.org/2759943002/diff/20001/components/ntp_snippets/remote/scheduling_remote_suggestions_provider.h#newcode62 components/ntp_snippets/remote/scheduling_remote_suggestions_provider.h:62: public web_resource::EulaAcceptedNotifier::Observer { On 2017/03/22 09:36:04, jkrcal wrote: > ...
3 years, 9 months ago (2017-03-22 09:47:02 UTC) #13
jkrcal
Added the unit-test. It is a bit messy because on some platforms the EulaNotifier is ...
3 years, 9 months ago (2017-03-22 16:48:01 UTC) #14
tschumann
lgtm some nits left. Thanks! https://codereview.chromium.org/2759943002/diff/60001/components/ntp_snippets/remote/scheduling_remote_suggestions_provider_unittest.cc File components/ntp_snippets/remote/scheduling_remote_suggestions_provider_unittest.cc (right): https://codereview.chromium.org/2759943002/diff/60001/components/ntp_snippets/remote/scheduling_remote_suggestions_provider_unittest.cc#newcode172 components/ntp_snippets/remote/scheduling_remote_suggestions_provider_unittest.cc:172: return web_resource::EulaAcceptedNotifier::Create(&local_state_); let's make ...
3 years, 9 months ago (2017-03-22 17:56:41 UTC) #15
jkrcal
Thanks, Tim! Achuith, could you PTAL at +components/web_resource? Éric, could you PTAL at ios factory? ...
3 years, 9 months ago (2017-03-23 09:29:44 UTC) #17
achuithb
On 2017/03/23 09:29:44, jkrcal wrote: > Thanks, Tim! > > Achuith, could you PTAL at ...
3 years, 9 months ago (2017-03-23 18:00:18 UTC) #18
jkrcal
On 2017/03/23 18:00:18, achuithb wrote: > On 2017/03/23 09:29:44, jkrcal wrote: > > Thanks, Tim! ...
3 years, 9 months ago (2017-03-23 18:10:11 UTC) #19
achuithb
On 2017/03/23 18:10:11, jkrcal wrote: > On 2017/03/23 18:00:18, achuithb wrote: > > On 2017/03/23 ...
3 years, 9 months ago (2017-03-23 18:16:54 UTC) #20
jkrcal
Thanks! Éric, friendly ping!
3 years, 9 months ago (2017-03-27 09:23:38 UTC) #21
noyau (Ping after 24h)
ios lgtm.
3 years, 8 months ago (2017-03-28 15:16:58 UTC) #22
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/2759943002/140001
3 years, 8 months ago (2017-03-29 11:04:41 UTC) #37
commit-bot: I haz the power
3 years, 8 months ago (2017-03-29 11:09:36 UTC) #40
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/f7081f8bb1607bc160ff793fd02c...

Powered by Google App Engine
This is Rietveld 408576698