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

Issue 2896803002: [LargeIconService] Make check_seen param optional for fetching (Closed)

Created:
3 years, 7 months ago by jkrcal
Modified:
3 years, 7 months ago
Reviewers:
mastiz, pkotwicz
CC:
chromium-reviews, noyau+watch_chromium.org, ntp-dev+reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[LargeIconService] Make check_seen param optional for fetching LargeIconService allows fetching favicons from a Google favicon server which has two privacy modes: - default - assumes that provided URLs are public and crawls the page if needed, - catious - checks first whether the provided URL has been previously seen by Google and drops the request if not. Previously, all requests by Chrome used the catious mode (enabled by the "check_seen" param). This CL allows choosing the privacy mode per request. It also enables the default mode for the "Articles for you" application. BUG=536988 Review-Url: https://codereview.chromium.org/2896803002 Cr-Commit-Position: refs/heads/master@{#474233} Committed: https://chromium.googlesource.com/chromium/src/+/5de6dffd5e148cbbad905eb6dc2b285cb7b46f2d

Patch Set 1 #

Patch Set 2 : Fix compilation #

Total comments: 5

Patch Set 3 : Comments on unit-test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -15 lines) Patch
M components/favicon/core/large_icon_service.h View 2 chunks +6 lines, -0 lines 0 comments Download
M components/favicon/core/large_icon_service.cc View 4 chunks +10 lines, -5 lines 0 comments Download
M components/favicon/core/large_icon_service_unittest.cc View 1 2 10 chunks +41 lines, -10 lines 0 comments Download
M components/ntp_snippets/content_suggestions_service.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M components/ntp_tiles/icon_cacher_impl.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 21 (14 generated)
jkrcal
Peter, could you PTAL?
3 years, 7 months ago (2017-05-22 09:03:20 UTC) #3
jkrcal
Friendly ping! (this is the CL I would like to get into M60)
3 years, 7 months ago (2017-05-23 15:29:17 UTC) #11
pkotwicz
LGTM https://codereview.chromium.org/2896803002/diff/20001/components/favicon/core/large_icon_service.cc File components/favicon/core/large_icon_service.cc (right): https://codereview.chromium.org/2896803002/diff/20001/components/favicon/core/large_icon_service.cc#newcode47 components/favicon/core/large_icon_service.cc:47: const char kCheckSeenParam[] = "check_seen=true&"; Random question: Does ...
3 years, 7 months ago (2017-05-24 05:02:25 UTC) #12
mastiz
LGTM. https://codereview.chromium.org/2896803002/diff/20001/components/favicon/core/large_icon_service_unittest.cc File components/favicon/core/large_icon_service_unittest.cc (right): https://codereview.chromium.org/2896803002/diff/20001/components/favicon/core/large_icon_service_unittest.cc#newcode261 components/favicon/core/large_icon_service_unittest.cc:261: TEST_F(LargeIconServiceTest, ShouldNotCheckOnPublicUrls) { On 2017/05/24 05:02:25, pkotwicz wrote: ...
3 years, 7 months ago (2017-05-24 05:55:16 UTC) #14
jkrcal
Thanks! Will look more into the tests in another CL. https://codereview.chromium.org/2896803002/diff/20001/components/favicon/core/large_icon_service.cc File components/favicon/core/large_icon_service.cc (right): https://codereview.chromium.org/2896803002/diff/20001/components/favicon/core/large_icon_service.cc#newcode47 ...
3 years, 7 months ago (2017-05-24 08:54:48 UTC) #15
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/2896803002/40001
3 years, 7 months ago (2017-05-24 08:55:27 UTC) #18
commit-bot: I haz the power
3 years, 7 months ago (2017-05-24 10:00:01 UTC) #21
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/5de6dffd5e148cbbad905eb6dc2b...

Powered by Google App Engine
This is Rietveld 408576698