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

Issue 2749283002: components/image_fetcher: Add a from_http_cache flag to RequestMetadata (Closed)

Created:
3 years, 9 months ago by Marc Treib
Modified:
3 years, 9 months ago
Reviewers:
gambard, sdefresne
CC:
chromium-reviews, Eugene But (OOO till 7-30), ios-reviews+web_chromium.org, ios-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

components/image_fetcher: Add a from_http_cache flag to RequestMetadata To be used by clients (components/doodle in particular) for metrics purposes. This also includes a bunch of semi-related cleanups to RequestMetadata: - Give it a ctor (because I dislike uninitialized values). - Move RESPONSE_CODE_INVALID in there (from ImageDataFetcher). - Rename response_code to http_response_code. BUG=690467 Review-Url: https://codereview.chromium.org/2749283002 Cr-Commit-Position: refs/heads/master@{#457080} Committed: https://chromium.googlesource.com/chromium/src/+/f235d928f6d89dd7decb34082353a0bde50c6597

Patch Set 1 #

Patch Set 2 : test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -25 lines) Patch
M components/favicon/ios/web_favicon_driver.mm View 2 chunks +3 lines, -3 lines 0 comments Download
M components/image_fetcher/image_data_fetcher.h View 2 chunks +0 lines, -6 lines 0 comments Download
M components/image_fetcher/image_data_fetcher.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M components/image_fetcher/image_data_fetcher_unittest.cc View 1 4 chunks +37 lines, -3 lines 0 comments Download
M components/image_fetcher/request_metadata.h View 1 chunk +12 lines, -2 lines 0 comments Download
M components/image_fetcher/request_metadata.cc View 1 chunk +5 lines, -1 line 0 comments Download
M components/image_fetcher/request_metadata_unittest.cc View 2 chunks +14 lines, -6 lines 0 comments Download

Messages

Total messages: 18 (10 generated)
Marc Treib
PTAL, since you worked on this before :)
3 years, 9 months ago (2017-03-15 14:18:09 UTC) #7
gambard
lgtm but I am not owner of favicon/ios
3 years, 9 months ago (2017-03-15 14:29:48 UTC) #8
Marc Treib
On 2017/03/15 14:29:48, gambard wrote: > lgtm but I am not owner of favicon/ios Thanks! ...
3 years, 9 months ago (2017-03-15 14:34:49 UTC) #9
Marc Treib
On 2017/03/15 14:34:49, Marc Treib wrote: > On 2017/03/15 14:29:48, gambard wrote: > > lgtm ...
3 years, 9 months ago (2017-03-15 14:39:54 UTC) #10
Marc Treib
+sdefresne: Please look at components/favicon/ios/web_favicon_driver.mm. Thanks!
3 years, 9 months ago (2017-03-15 14:40:29 UTC) #12
sdefresne
lgtm
3 years, 9 months ago (2017-03-15 14:54:48 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/2749283002/20001
3 years, 9 months ago (2017-03-15 14:58:09 UTC) #15
commit-bot: I haz the power
3 years, 9 months ago (2017-03-15 15:03:02 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/f235d928f6d89dd7decb34082353...

Powered by Google App Engine
This is Rietveld 408576698