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

Side by Side Diff: net/url_request/test_url_fetcher_factory.cc

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, 4 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 unified diff | Download patch
« no previous file with comments | « net/url_request/test_url_fetcher_factory.h ('k') | net/url_request/url_fetcher.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/url_request/test_url_fetcher_factory.h" 5 #include "net/url_request/test_url_fetcher_factory.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 } 119 }
120 120
121 void TestURLFetcher::SetRequestContext( 121 void TestURLFetcher::SetRequestContext(
122 URLRequestContextGetter* request_context_getter) { 122 URLRequestContextGetter* request_context_getter) {
123 } 123 }
124 124
125 void TestURLFetcher::SetFirstPartyForCookies( 125 void TestURLFetcher::SetFirstPartyForCookies(
126 const GURL& first_party_for_cookies) { 126 const GURL& first_party_for_cookies) {
127 } 127 }
128 128
129 void TestURLFetcher::SetRequestorOrigin(const url::Origin&) {
130 }
131
129 void TestURLFetcher::SetURLRequestUserData( 132 void TestURLFetcher::SetURLRequestUserData(
130 const void* key, 133 const void* key,
131 const CreateDataCallback& create_data_callback) { 134 const CreateDataCallback& create_data_callback) {
132 } 135 }
133 136
134 void TestURLFetcher::SetStopOnRedirect(bool stop_on_redirect) { 137 void TestURLFetcher::SetStopOnRedirect(bool stop_on_redirect) {
135 } 138 }
136 139
137 void TestURLFetcher::SetAutomaticallyRetryOn5xx(bool retry) { 140 void TestURLFetcher::SetAutomaticallyRetryOn5xx(bool retry) {
138 } 141 }
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 457
455 scoped_ptr<URLFetcher> URLFetcherImplFactory::CreateURLFetcher( 458 scoped_ptr<URLFetcher> URLFetcherImplFactory::CreateURLFetcher(
456 int id, 459 int id,
457 const GURL& url, 460 const GURL& url,
458 URLFetcher::RequestType request_type, 461 URLFetcher::RequestType request_type,
459 URLFetcherDelegate* d) { 462 URLFetcherDelegate* d) {
460 return scoped_ptr<URLFetcher>(new URLFetcherImpl(url, request_type, d)); 463 return scoped_ptr<URLFetcher>(new URLFetcherImpl(url, request_type, d));
461 } 464 }
462 465
463 } // namespace net 466 } // namespace net
OLDNEW
« no previous file with comments | « net/url_request/test_url_fetcher_factory.h ('k') | net/url_request/url_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698