OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/common/net/test_url_fetcher_factory.h" | 5 #include "content/common/test_url_fetcher_factory.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
11 #include "net/url_request/url_request_status.h" | 11 #include "net/url_request/url_request_status.h" |
12 | 12 |
13 TestURLFetcher::TestURLFetcher(int id, | 13 TestURLFetcher::TestURLFetcher(int id, |
14 const GURL& url, | 14 const GURL& url, |
15 URLFetcher::RequestType request_type, | 15 URLFetcher::RequestType request_type, |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 | 187 |
188 URLFetcherFactory::~URLFetcherFactory() {} | 188 URLFetcherFactory::~URLFetcherFactory() {} |
189 | 189 |
190 URLFetcher* URLFetcherFactory::CreateURLFetcher( | 190 URLFetcher* URLFetcherFactory::CreateURLFetcher( |
191 int id, | 191 int id, |
192 const GURL& url, | 192 const GURL& url, |
193 URLFetcher::RequestType request_type, | 193 URLFetcher::RequestType request_type, |
194 URLFetcher::Delegate* d) { | 194 URLFetcher::Delegate* d) { |
195 return new URLFetcher(url, request_type, d); | 195 return new URLFetcher(url, request_type, d); |
196 } | 196 } |
OLD | NEW |