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 #ifndef CONTENT_PUBLIC_TEST_TEST_URL_FETCHER_FACTORY_H_ | 5 #ifndef CONTENT_PUBLIC_TEST_TEST_URL_FETCHER_FACTORY_H_ |
6 #define CONTENT_PUBLIC_TEST_TEST_URL_FETCHER_FACTORY_H_ | 6 #define CONTENT_PUBLIC_TEST_TEST_URL_FETCHER_FACTORY_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
| 9 // TODO(akalin): Move this to net/. |
| 10 |
9 #include <list> | 11 #include <list> |
10 #include <map> | 12 #include <map> |
11 #include <string> | 13 #include <string> |
12 #include <utility> | 14 #include <utility> |
13 | 15 |
14 #include "base/threading/non_thread_safe.h" | 16 #include "base/threading/non_thread_safe.h" |
15 #include "googleurl/src/gurl.h" | 17 #include "googleurl/src/gurl.h" |
16 #include "net/http/http_request_headers.h" | 18 #include "net/http/http_request_headers.h" |
17 #include "net/url_request/url_fetcher_factory.h" | 19 #include "net/url_request/url_fetcher_factory.h" |
18 #include "net/url_request/url_request_status.h" | 20 #include "net/url_request/url_request_status.h" |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 // This method will create a real URLFetcher. | 287 // This method will create a real URLFetcher. |
286 virtual net::URLFetcher* CreateURLFetcher( | 288 virtual net::URLFetcher* CreateURLFetcher( |
287 int id, | 289 int id, |
288 const GURL& url, | 290 const GURL& url, |
289 net::URLFetcher::RequestType request_type, | 291 net::URLFetcher::RequestType request_type, |
290 net::URLFetcherDelegate* d) OVERRIDE; | 292 net::URLFetcherDelegate* d) OVERRIDE; |
291 | 293 |
292 }; | 294 }; |
293 | 295 |
294 #endif // CONTENT_PUBLIC_TEST_TEST_URL_FETCHER_FACTORY_H_ | 296 #endif // CONTENT_PUBLIC_TEST_TEST_URL_FETCHER_FACTORY_H_ |
OLD | NEW |