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

Side by Side Diff: content/common/test_url_fetcher_factory.cc

Issue 7006005: Move UrlFetcher to content. I originally thought that it's only used by chrome code, but turns o... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix linux Created 9 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « content/common/test_url_fetcher_factory.h ('k') | content/common/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) 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
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 }
OLDNEW
« no previous file with comments | « content/common/test_url_fetcher_factory.h ('k') | content/common/url_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698