| Index: chrome/browser/net/url_request_mock_link_doctor_job.h
|
| diff --git a/chrome/browser/net/url_request_mock_link_doctor_job.h b/chrome/browser/net/url_request_mock_link_doctor_job.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..74fd00ef75adea48e2fd3c4fcc4b43282bb8cf34
|
| --- /dev/null
|
| +++ b/chrome/browser/net/url_request_mock_link_doctor_job.h
|
| @@ -0,0 +1,23 @@
|
| +// Copyright (c) 2009 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +//
|
| +// A URLRequestJob class that substitutes LinkDoctor requests.
|
| +
|
| +#ifndef CHROME_BROWSER_NET_URL_REQUEST_MOCK_LINK_DOCTOR_JOB_H_
|
| +#define CHROME_BROWSER_NET_URL_REQUEST_MOCK_LINK_DOCTOR_JOB_H_
|
| +
|
| +#include "chrome/browser/net/url_request_mock_http_job.h"
|
| +
|
| +class URLRequestMockLinkDoctorJob : public URLRequestMockHTTPJob {
|
| + public:
|
| + URLRequestMockLinkDoctorJob(URLRequest* request);
|
| + virtual ~URLRequestMockLinkDoctorJob() { }
|
| +
|
| + static URLRequest::ProtocolFactory Factory;
|
| +
|
| + // Adds the testing URLs to the URLRequestFilter.
|
| + static void AddUrlHandler();
|
| +};
|
| +
|
| +# endif // CHROME_BROWSER_NET_URL_REQUEST_MOCK_LINK_DOCTOR_JOB_H_
|
|
|