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

Unified Diff: webkit/glue/media/simple_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/simple_data_source.cc
===================================================================
--- webkit/glue/media/simple_data_source.cc (revision 31948)
+++ webkit/glue/media/simple_data_source.cc (working copy)
@@ -122,8 +122,10 @@
bool SimpleDataSource::OnReceivedRedirect(
const GURL& new_url,
- const webkit_glue::ResourceLoaderBridge::ResponseInfo& info) {
+ const webkit_glue::ResourceLoaderBridge::ResponseInfo& info,
+ GURL* new_first_party_for_cookies) {
SetURL(new_url);
+ *new_first_party_for_cookies = GURL();
return true;
}

Powered by Google App Engine
This is Rietveld 408576698