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

Side by Side Diff: content/browser/net/url_request_failed_dns_job.cc

Issue 7149013: Remove most of the remaining test dependencies (other than chrome/test). (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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
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/browser/net/url_request_failed_dns_job.h" 5 #include "content/browser/net/url_request_failed_dns_job.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "googleurl/src/gurl.h" 9 #include "googleurl/src/gurl.h"
10 #include "net/base/net_errors.h" 10 #include "net/base/net_errors.h"
11 #include "net/url_request/url_request.h" 11 #include "net/url_request/url_request.h"
12 #include "net/url_request/url_request_filter.h" 12 #include "net/url_request/url_request_filter.h"
13 13
14 const char URLRequestFailedDnsJob::kTestUrl[] = 14 const char URLRequestFailedDnsJob::kTestUrl[] =
15 "http://url.handled.by.fake.dns/"; 15 "http://url.handled.by.fake.dns/";
(...skipping 21 matching lines...) Expand all
37 /*static */ 37 /*static */
38 net::URLRequestJob* URLRequestFailedDnsJob::Factory(net::URLRequest* request, 38 net::URLRequestJob* URLRequestFailedDnsJob::Factory(net::URLRequest* request,
39 const std::string& scheme) { 39 const std::string& scheme) {
40 return new URLRequestFailedDnsJob(request); 40 return new URLRequestFailedDnsJob(request);
41 } 41 }
42 42
43 void URLRequestFailedDnsJob::StartAsync() { 43 void URLRequestFailedDnsJob::StartAsync() {
44 NotifyStartError(net::URLRequestStatus(net::URLRequestStatus::FAILED, 44 NotifyStartError(net::URLRequestStatus(net::URLRequestStatus::FAILED,
45 net::ERR_NAME_NOT_RESOLVED)); 45 net::ERR_NAME_NOT_RESOLVED));
46 } 46 }
OLDNEW
« no previous file with comments | « content/browser/net/url_request_failed_dns_job.h ('k') | content/browser/net/url_request_mock_http_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698