OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef ANDROID_WEBVIEW_BROWSER_NET_AW_REQUEST_INTERCEPTOR_H_ | 5 #ifndef ANDROID_WEBVIEW_BROWSER_NET_AW_REQUEST_INTERCEPTOR_H_ |
6 #define ANDROID_WEBVIEW_BROWSER_NET_AW_REQUEST_INTERCEPTOR_H_ | 6 #define ANDROID_WEBVIEW_BROWSER_NET_AW_REQUEST_INTERCEPTOR_H_ |
7 | 7 |
| 8 #include <memory> |
| 9 |
8 #include "base/macros.h" | 10 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | |
10 #include "net/url_request/url_request_interceptor.h" | 11 #include "net/url_request/url_request_interceptor.h" |
11 | 12 |
12 namespace net { | 13 namespace net { |
13 class URLRequest; | 14 class URLRequest; |
14 class URLRequestJob; | 15 class URLRequestJob; |
15 class NetworkDelegate; | 16 class NetworkDelegate; |
16 } | 17 } |
17 | 18 |
18 namespace android_webview { | 19 namespace android_webview { |
19 | 20 |
(...skipping 10 matching lines...) Expand all Loading... |
30 net::URLRequest* request, | 31 net::URLRequest* request, |
31 net::NetworkDelegate* network_delegate) const override; | 32 net::NetworkDelegate* network_delegate) const override; |
32 | 33 |
33 private: | 34 private: |
34 DISALLOW_COPY_AND_ASSIGN(AwRequestInterceptor); | 35 DISALLOW_COPY_AND_ASSIGN(AwRequestInterceptor); |
35 }; | 36 }; |
36 | 37 |
37 } // namespace android_webview | 38 } // namespace android_webview |
38 | 39 |
39 #endif // ANDROID_WEBVIEW_BROWSER_NET_AW_REQUEST_INTERCEPTOR_H_ | 40 #endif // ANDROID_WEBVIEW_BROWSER_NET_AW_REQUEST_INTERCEPTOR_H_ |
OLD | NEW |