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

Issue 405011: Use an explicit boolean has_new_first_party_for_cookies instead... (Closed)

Created:
11 years, 1 month ago by wtc
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, brettw+cc_chromium.org, fbarchard, Alpha Left Google, Paul Godavari, jam, pam+watch_chromium.org, awong, Paweł Hajdan Jr., ben+cc_chromium.org, scherkus (not reviewing)
Visibility:
Public.

Description

Use an explicit boolean has_new_first_party_for_cookies instead of an empty, invalid URL to indicate whether the first party for cookies URL needs changing when following a redirect. R=eroman BUG=25133 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=32260

Patch Set 1 #

Total comments: 6

Patch Set 2 : Upload before checkin #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -22 lines) Patch
M chrome/browser/renderer_host/resource_dispatcher_host.h View 1 2 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/renderer_host/resource_dispatcher_host.cc View 1 3 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/renderer_host/safe_browsing_resource_handler.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/common/render_messages_internal.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/common/resource_dispatcher.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/resource_dispatcher_unittest.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/common/security_filter_peer.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/security_filter_peer.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/plugin/chrome_plugin_host.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M webkit/glue/media/buffered_data_source.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M webkit/glue/media/buffered_data_source.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M webkit/glue/media/simple_data_source.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M webkit/glue/media/simple_data_source.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M webkit/glue/resource_loader_bridge.h View 1 3 chunks +8 lines, -8 lines 0 comments Download
M webkit/glue/weburlloader_impl.cc View 1 3 chunks +3 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/simple_resource_loader_bridge.cc View 1 2 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
wtc
11 years, 1 month ago (2009-11-18 01:34:19 UTC) #1
eroman
lgtm http://codereview.chromium.org/405011/diff/1/11 File chrome/browser/renderer_host/resource_dispatcher_host.h (right): http://codereview.chromium.org/405011/diff/1/11#newcode149 Line 149: // has_new_first_party_for_cookies. For the last sentence, can ...
11 years, 1 month ago (2009-11-18 01:58:37 UTC) #2
wtc
http://codereview.chromium.org/405011/diff/1/15 File chrome/common/resource_dispatcher_unittest.cc (right): http://codereview.chromium.org/405011/diff/1/15#newcode40 Line 40: // TODO(wtc): should we return a new first ...
11 years, 1 month ago (2009-11-18 02:25:50 UTC) #3
darin (slow to review)
11 years, 1 month ago (2009-11-18 04:42:56 UTC) #4
The CL description doesn't say why you are making this change.  I couldn't grok
it from the bug either.  Can you amend the CL description with the reason for
this change?  Does it fix a bug or does it just make the code more clear? 
Thanks!

Powered by Google App Engine
This is Rietveld 408576698