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

Issue 2756633003: [Image Fetcher] Add support to disable cookies (Closed)

Created:
3 years, 9 months ago by mastiz
Modified:
3 years, 9 months ago
CC:
chromium-reviews, noyau+watch_chromium.org, ntp-dev+reviews_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Image Fetcher] Fix cookies being enabled by default image_fetcher is used by components that fetch images outside the content area, hence cookies are undesirable. A quick look at existing clients suggests none are relying on cookies, hence we disable them by default and introduce no API for now to toggle them. BUG=644102, 702200 Review-Url: https://codereview.chromium.org/2756633003 Cr-Commit-Position: refs/heads/master@{#457811} Committed: https://chromium.googlesource.com/chromium/src/+/4409b00db808ea391f7ba279126d12f3587e933c

Patch Set 1 #

Total comments: 3

Patch Set 2 : Always disable cookies. #

Patch Set 3 : Always disable cookies. #

Patch Set 4 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -0 lines) Patch
M components/image_fetcher/image_data_fetcher.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M components/image_fetcher/image_data_fetcher_unittest.cc View 1 2 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (10 generated)
mastiz
3 years, 9 months ago (2017-03-16 09:46:56 UTC) #2
markusheintz_
On 2017/03/16 09:46:56, mastiz wrote: Is there any reason why we ever should include cookies? ...
3 years, 9 months ago (2017-03-16 09:56:00 UTC) #3
markusheintz_
https://codereview.chromium.org/2756633003/diff/1/components/image_fetcher/image_data_fetcher.cc File components/image_fetcher/image_data_fetcher.cc (right): https://codereview.chromium.org/2756633003/diff/1/components/image_fetcher/image_data_fetcher.cc#newcode42 components/image_fetcher/image_data_fetcher.cc:42: disable_cookies_(false) {} The default should be true. If we ...
3 years, 9 months ago (2017-03-16 09:59:06 UTC) #5
Marc Treib
I agree with Markus: Not sending cookies should be the default. I'm not convinced that ...
3 years, 9 months ago (2017-03-16 10:04:56 UTC) #6
mastiz
It's hard for me to claim that no clients of ImageFetcher relies on cookies. Unless ...
3 years, 9 months ago (2017-03-16 12:18:52 UTC) #7
Marc Treib
On 2017/03/16 12:18:52, mastiz wrote: > It's hard for me to claim that no clients ...
3 years, 9 months ago (2017-03-16 13:29:06 UTC) #8
mastiz
On 2017/03/16 13:29:06, Marc Treib wrote: > On 2017/03/16 12:18:52, mastiz wrote: > > It's ...
3 years, 9 months ago (2017-03-16 14:11:57 UTC) #10
Marc Treib
On 2017/03/16 14:11:57, mastiz wrote: > On 2017/03/16 13:29:06, Marc Treib wrote: > > On ...
3 years, 9 months ago (2017-03-16 14:19:54 UTC) #11
mastiz
Friendly ping, thx!
3 years, 9 months ago (2017-03-17 12:18:08 UTC) #12
Marc Treib
lgtm Sorry for the delay
3 years, 9 months ago (2017-03-17 12:20:40 UTC) #13
Marc Treib
On 2017/03/17 12:20:40, Marc Treib wrote: > lgtm > > Sorry for the delay nit: ...
3 years, 9 months ago (2017-03-17 12:21:16 UTC) #14
markusheintz_
On 2017/03/17 12:21:16, Marc Treib wrote: > On 2017/03/17 12:20:40, Marc Treib wrote: > > ...
3 years, 9 months ago (2017-03-17 12:56:26 UTC) #16
commit-bot: I haz the power
This CL has an open dependency (Issue 2750313002 Patch 1). Please resolve the dependency and ...
3 years, 9 months ago (2017-03-17 12:57:44 UTC) #19
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/2756633003/60001
3 years, 9 months ago (2017-03-17 16:59:34 UTC) #22
commit-bot: I haz the power
3 years, 9 months ago (2017-03-17 17:55:26 UTC) #25
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/4409b00db808ea391f7ba279126d...

Powered by Google App Engine
This is Rietveld 408576698