| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 // |
| 5 // A URLRequestJob class that substitutes LinkDoctor requests. |
| 6 |
| 7 #ifndef CHROME_BROWSER_NET_URL_REQUEST_MOCK_LINK_DOCTOR_JOB_H_ |
| 8 #define CHROME_BROWSER_NET_URL_REQUEST_MOCK_LINK_DOCTOR_JOB_H_ |
| 9 |
| 10 #include "chrome/browser/net/url_request_mock_http_job.h" |
| 11 |
| 12 class URLRequestMockLinkDoctorJob : public URLRequestMockHTTPJob { |
| 13 public: |
| 14 URLRequestMockLinkDoctorJob(URLRequest* request); |
| 15 virtual ~URLRequestMockLinkDoctorJob() { } |
| 16 |
| 17 static URLRequest::ProtocolFactory Factory; |
| 18 |
| 19 // Adds the testing URLs to the URLRequestFilter. |
| 20 static void AddUrlHandler(); |
| 21 }; |
| 22 |
| 23 # endif // CHROME_BROWSER_NET_URL_REQUEST_MOCK_LINK_DOCTOR_JOB_H_ |
| OLD | NEW |