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

Unified Diff: net/url_request/url_request_http_job.cc

Issue 1413623002: Convert 'CookieOptions::first_party_url' to a 'url::Origin'. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 2 months 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
« no previous file with comments | « net/url_request/url_request.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_http_job.cc
diff --git a/net/url_request/url_request_http_job.cc b/net/url_request/url_request_http_job.cc
index 263f5020ffce5ad22d89b83466efac8e736ade00..bbfee654d48b8018a0b5e4a65e6a688db3d8cd93 100644
--- a/net/url_request/url_request_http_job.cc
+++ b/net/url_request/url_request_http_job.cc
@@ -51,6 +51,7 @@
#include "net/url_request/url_request_redirect_job.h"
#include "net/url_request/url_request_throttler_manager.h"
#include "net/websockets/websocket_handshake_stream_base.h"
+#include "url/origin.h"
static const char kAvailDictionaryHeader[] = "Avail-Dictionary";
@@ -662,7 +663,7 @@ void URLRequestHttpJob::DoLoadCookies() {
// first-party cookies: https://crbug.com/459154
if (network_delegate() &&
network_delegate()->AreExperimentalCookieFeaturesEnabled())
- options.set_first_party_url(request_->first_party_for_cookies());
+ options.set_first_party(url::Origin(request_->first_party_for_cookies()));
else
options.set_include_first_party_only();
« no previous file with comments | « net/url_request/url_request.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698