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

Issue 2750313002: Extend HistoryService with support for favicons from Google servers (Closed)

Created:
3 years, 9 months ago by mastiz
Modified:
3 years, 9 months ago
Reviewers:
brettw
CC:
chromium-reviews, sky
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Extend HistoryService with support for favicons from Google servers We plan to extend LargeIconService with a feature that will, in certain cases like server-side suggestions, fetch favicons from Google servers, that is, for pages that haven't been visited locally. Design Doc in go/favicon-pe-google-server. An API extension in HistoryService/backend is needed because we want to be very conservative and support an atomic verify-empty-and-write: the remotely fetched data should not overwrite data in the local database in any case (e.g. the local database could have changed during the request to Google servers). These icons should also be marked initially expired such that, if the user visits the page in the future, new favicons will be fetched and written to the database (overriding previously fetched icons, which could theoretically differ, e.g. if the site serves different favicons depending on agent info). BUG=644102 Review-Url: https://codereview.chromium.org/2750313002 Cr-Commit-Position: refs/heads/master@{#458359} Committed: https://chromium.googlesource.com/chromium/src/+/5d0381faf29ba02bec52363bb62c0237cfd4a314

Patch Set 1 #

Total comments: 1

Patch Set 2 : Rename function. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+205 lines, -28 lines) Patch
M components/history/core/browser/history_backend.h View 1 3 chunks +20 lines, -0 lines 0 comments Download
M components/history/core/browser/history_backend.cc View 1 2 chunks +61 lines, -28 lines 0 comments Download
M components/history/core/browser/history_backend_unittest.cc View 1 3 chunks +92 lines, -0 lines 0 comments Download
M components/history/core/browser/history_service.h View 1 1 chunk +14 lines, -0 lines 0 comments Download
M components/history/core/browser/history_service.cc View 1 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
mastiz
sky@: I believe you should have sufficient context information about what we're trying to do, ...
3 years, 9 months ago (2017-03-16 09:35:40 UTC) #3
sky
sky->brettw (I have too much going on and am handing most history reviews to Brett ...
3 years, 9 months ago (2017-03-16 16:14:04 UTC) #5
mastiz
On 2017/03/16 16:14:04, sky wrote: > sky->brettw (I have too much going on and am ...
3 years, 9 months ago (2017-03-17 14:10:07 UTC) #6
mastiz
On 2017/03/16 16:14:04, sky wrote: > sky->brettw (I have too much going on and am ...
3 years, 9 months ago (2017-03-17 14:10:16 UTC) #7
mastiz
On 2017/03/16 16:14:04, sky wrote: > sky->brettw (I have too much going on and am ...
3 years, 9 months ago (2017-03-17 14:10:21 UTC) #8
mastiz
On 2017/03/16 16:14:04, sky wrote: > sky->brettw (I have too much going on and am ...
3 years, 9 months ago (2017-03-17 14:10:27 UTC) #9
mastiz
brettw@: friendly ping, thanks! (btw, apologies for the accidental repeated messages earlier)
3 years, 9 months ago (2017-03-20 08:39:15 UTC) #10
brettw
Sorry, I'm super backed up and you're not even the person waiting the longest :( ...
3 years, 9 months ago (2017-03-20 17:30:04 UTC) #11
brettw
lgtm https://codereview.chromium.org/2750313002/diff/1/components/history/core/browser/history_service.cc File components/history/core/browser/history_service.cc (right): https://codereview.chromium.org/2750313002/diff/1/components/history/core/browser/history_service.cc#newcode628 components/history/core/browser/history_service.cc:628: void HistoryService::SetExpiredFaviconsIfNoneKnown( This name is hard to make ...
3 years, 9 months ago (2017-03-20 21:37:31 UTC) #12
mastiz
On 2017/03/20 21:37:31, brettw (plz ping after 24h) wrote: > lgtm > > https://codereview.chromium.org/2750313002/diff/1/components/history/core/browser/history_service.cc > ...
3 years, 9 months ago (2017-03-21 08:27:43 UTC) #13
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/2750313002/20001
3 years, 9 months ago (2017-03-21 08:28:50 UTC) #16
commit-bot: I haz the power
3 years, 9 months ago (2017-03-21 09:48:01 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/5d0381faf29ba02bec52363bb62c...

Powered by Google App Engine
This is Rietveld 408576698