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

Unified Diff: webkit/glue/media/buffered_data_source.cc

Issue 385024: Propagate the "first party for cookies" from WebKit through the resource... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Upload before checkin Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/glue/media/buffered_data_source.cc
===================================================================
--- webkit/glue/media/buffered_data_source.cc (revision 31948)
+++ webkit/glue/media/buffered_data_source.cc (working copy)
@@ -230,11 +230,13 @@
// webkit_glue::ResourceLoaderBridge::Peer implementations
bool BufferedResourceLoader::OnReceivedRedirect(
const GURL& new_url,
- const webkit_glue::ResourceLoaderBridge::ResponseInfo& info) {
+ const webkit_glue::ResourceLoaderBridge::ResponseInfo& info,
+ GURL* new_first_party_for_cookies) {
DCHECK(bridge_.get());
// Save the new URL.
url_ = new_url;
+ *new_first_party_for_cookies = GURL();
// The load may have been stopped and |start_callback| is destroyed.
// In this case we shouldn't do anything.

Powered by Google App Engine
This is Rietveld 408576698