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

Side by Side Diff: chrome/browser/chromeos/file_request_interceptor.h

Issue 2790073002: wip (Closed)
Patch Set: Created 3 years, 8 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
OLDNEW
(Empty)
1 // Copyright 2017 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 #ifndef CHROME_BROWSER_CHROMEOS_FILE_REQUEST_INTERCEPTOR_H_
6 #define CHROME_BROWSER_CHROMEOS_FILE_REQUEST_INTERCEPTOR_H_
7
8 #include "base/macros.h"
9 #include "net/url_request/url_request_interceptor.h"
10
11 namespace net {
12 class NetworkDelegate;
13 class URLRequest;
14 class URLRequestJob;
15 }
16
17 namespace chromeos {
18
19 // ...
20 class FileRequestInterceptor : public net::URLRequestInterceptor {
21 public:
22 FileRequestInterceptor();
23 ~FileRequestInterceptor() override;
24
25 private:
26 net::URLRequestJob* MaybeInterceptRequest(
27 net::URLRequest* request,
28 net::NetworkDelegate* network_delegate) const override;
29
30 DISALLOW_COPY_AND_ASSIGN(FileRequestInterceptor);
31 };
32
33 } // namespace chromeos
34
35 #endif // CHROME_BROWSER_CHROMEOS_FILE_REQUEST_INTERCEPTOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698