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 <map> | 8 #include <map> |
9 | 9 |
10 #include "base/lazy_instance.h" | 10 #include "base/lazy_instance.h" |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 int route_id, | 44 int route_id, |
45 int request_id, | 45 int request_id, |
46 bool is_content_initiated, | 46 bool is_content_initiated, |
47 bool must_download, | 47 bool must_download, |
48 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE; | 48 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE; |
49 virtual content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( | 49 virtual content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( |
50 net::AuthChallengeInfo* auth_info, | 50 net::AuthChallengeInfo* auth_info, |
51 net::URLRequest* request) OVERRIDE; | 51 net::URLRequest* request) OVERRIDE; |
52 virtual bool HandleExternalProtocol(const GURL& url, | 52 virtual bool HandleExternalProtocol(const GURL& url, |
53 int child_id, | 53 int child_id, |
54 int route_id) OVERRIDE; | 54 int route_id, |
| 55 bool initiated_by_user_gesture) OVERRIDE; |
55 virtual void OnResponseStarted( | 56 virtual void OnResponseStarted( |
56 net::URLRequest* request, | 57 net::URLRequest* request, |
57 content::ResourceContext* resource_context, | 58 content::ResourceContext* resource_context, |
58 content::ResourceResponse* response, | 59 content::ResourceResponse* response, |
59 IPC::Sender* sender) OVERRIDE; | 60 IPC::Sender* sender) OVERRIDE; |
60 | 61 |
61 virtual void OnRequestRedirected( | 62 virtual void OnRequestRedirected( |
62 const GURL& redirect_url, | 63 const GURL& redirect_url, |
63 net::URLRequest* request, | 64 net::URLRequest* request, |
64 content::ResourceContext* resource_context, | 65 content::ResourceContext* resource_context, |
(...skipping 29 matching lines...) Expand all Loading... |
94 | 95 |
95 // Only accessed on the IO thread. | 96 // Only accessed on the IO thread. |
96 PendingThrottleMap pending_throttles_; | 97 PendingThrottleMap pending_throttles_; |
97 | 98 |
98 DISALLOW_COPY_AND_ASSIGN(AwResourceDispatcherHostDelegate); | 99 DISALLOW_COPY_AND_ASSIGN(AwResourceDispatcherHostDelegate); |
99 }; | 100 }; |
100 | 101 |
101 } // namespace android_webview | 102 } // namespace android_webview |
102 | 103 |
103 #endif // ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_H_ | 104 #endif // ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_H_ |
OLD | NEW |