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

Unified Diff: net/url_request/test_url_fetcher_factory.h

Issue 1253353004: WIP: Teach "First-Party-Only" cookies about the requestor origin. Base URL: https://chromium.googlesource.com/chromium/src.git@cookie-options
Patch Set: Created 5 years, 5 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/cookies/cookie_options.h ('k') | net/url_request/test_url_fetcher_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/test_url_fetcher_factory.h
diff --git a/net/url_request/test_url_fetcher_factory.h b/net/url_request/test_url_fetcher_factory.h
index e871926574b0b7d47428b56a435d77d3be269761..34d54e152f53ffee03566c8762c5819fb7679b95 100644
--- a/net/url_request/test_url_fetcher_factory.h
+++ b/net/url_request/test_url_fetcher_factory.h
@@ -24,6 +24,7 @@
#include "net/url_request/url_fetcher_factory.h"
#include "net/url_request/url_request_status.h"
#include "url/gurl.h"
+#include "url/origin.h"
namespace net {
@@ -115,6 +116,7 @@ class TestURLFetcher : public URLFetcher {
void SetRequestContext(
URLRequestContextGetter* request_context_getter) override;
void SetFirstPartyForCookies(const GURL& first_party_for_cookies) override;
+ void SetRequestorOrigin(const url::Origin& requestor_origin) override;
void SetURLRequestUserData(
const void* key,
const CreateDataCallback& create_data_callback) override;
« no previous file with comments | « net/cookies/cookie_options.h ('k') | net/url_request/test_url_fetcher_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698