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 NET_URL_REQUEST_TEST_URL_FETCHER_FACTORY_H_ | 5 #ifndef NET_URL_REQUEST_TEST_URL_FETCHER_FACTORY_H_ |
6 #define NET_URL_REQUEST_TEST_URL_FETCHER_FACTORY_H_ | 6 #define NET_URL_REQUEST_TEST_URL_FETCHER_FACTORY_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
450 public: | 450 public: |
451 URLFetcherImplFactory(); | 451 URLFetcherImplFactory(); |
452 virtual ~URLFetcherImplFactory(); | 452 virtual ~URLFetcherImplFactory(); |
453 | 453 |
454 // This method will create a real URLFetcher. | 454 // This method will create a real URLFetcher. |
455 virtual URLFetcher* CreateURLFetcher( | 455 virtual URLFetcher* CreateURLFetcher( |
456 int id, | 456 int id, |
457 const GURL& url, | 457 const GURL& url, |
458 URLFetcher::RequestType request_type, | 458 URLFetcher::RequestType request_type, |
459 URLFetcherDelegate* d) OVERRIDE; | 459 URLFetcherDelegate* d) OVERRIDE; |
460 | |
461 }; | 460 }; |
462 | 461 |
463 } // namespace net | 462 } // namespace net |
464 | 463 |
465 #endif // NET_URL_REQUEST_TEST_URL_FETCHER_FACTORY_H_ | 464 #endif // NET_URL_REQUEST_TEST_URL_FETCHER_FACTORY_H_ |
OLD | NEW |