| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |