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_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_DELEGATE_H
_ | 5 #ifndef ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_DELEGATE_H
_ |
6 #define ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_DELEGATE_H
_ | 6 #define ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_DELEGATE_H
_ |
7 | 7 |
8 #include "content/public/browser/resource_dispatcher_host_delegate.h" | 8 #include "content/public/browser/resource_dispatcher_host_delegate.h" |
9 | 9 |
10 #include "base/lazy_instance.h" | 10 #include "base/lazy_instance.h" |
(...skipping 25 matching lines...) Expand all Loading... |
36 | 36 |
37 virtual content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( | 37 virtual content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( |
38 net::AuthChallengeInfo* auth_info, | 38 net::AuthChallengeInfo* auth_info, |
39 net::URLRequest* request) OVERRIDE; | 39 net::URLRequest* request) OVERRIDE; |
40 | 40 |
41 private: | 41 private: |
42 friend struct base::DefaultLazyInstanceTraits< | 42 friend struct base::DefaultLazyInstanceTraits< |
43 AwResourceDispatcherHostDelegate>; | 43 AwResourceDispatcherHostDelegate>; |
44 AwResourceDispatcherHostDelegate(); | 44 AwResourceDispatcherHostDelegate(); |
45 virtual ~AwResourceDispatcherHostDelegate(); | 45 virtual ~AwResourceDispatcherHostDelegate(); |
| 46 void SetAllowOnlyLoadFromCache(net::URLRequest* request); |
46 | 47 |
47 DISALLOW_COPY_AND_ASSIGN(AwResourceDispatcherHostDelegate); | 48 DISALLOW_COPY_AND_ASSIGN(AwResourceDispatcherHostDelegate); |
48 }; | 49 }; |
49 | 50 |
50 } // namespace android_webview | 51 } // namespace android_webview |
51 | 52 |
52 #endif // ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_H_ | 53 #endif // ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_H_ |
OLD | NEW |