| Index: chrome/browser/chromeos/file_request_interceptor.h
|
| diff --git a/chrome/browser/chromeos/file_request_interceptor.h b/chrome/browser/chromeos/file_request_interceptor.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..dd2fc16e6d478544646a3af3075c25137aa4b882
|
| --- /dev/null
|
| +++ b/chrome/browser/chromeos/file_request_interceptor.h
|
| @@ -0,0 +1,35 @@
|
| +// Copyright 2017 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.
|
| +
|
| +#ifndef CHROME_BROWSER_CHROMEOS_FILE_REQUEST_INTERCEPTOR_H_
|
| +#define CHROME_BROWSER_CHROMEOS_FILE_REQUEST_INTERCEPTOR_H_
|
| +
|
| +#include "base/macros.h"
|
| +#include "net/url_request/url_request_interceptor.h"
|
| +
|
| +namespace net {
|
| +class NetworkDelegate;
|
| +class URLRequest;
|
| +class URLRequestJob;
|
| +}
|
| +
|
| +namespace chromeos {
|
| +
|
| +// ...
|
| +class FileRequestInterceptor : public net::URLRequestInterceptor {
|
| + public:
|
| + FileRequestInterceptor();
|
| + ~FileRequestInterceptor() override;
|
| +
|
| + private:
|
| + net::URLRequestJob* MaybeInterceptRequest(
|
| + net::URLRequest* request,
|
| + net::NetworkDelegate* network_delegate) const override;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(FileRequestInterceptor);
|
| +};
|
| +
|
| +} // namespace chromeos
|
| +
|
| +#endif // CHROME_BROWSER_CHROMEOS_FILE_REQUEST_INTERCEPTOR_H_
|
|
|