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, | 54 int route_id) OVERRIDE; |
55 bool initiated_by_user_gesture) OVERRIDE; | |
56 virtual void OnResponseStarted( | 55 virtual void OnResponseStarted( |
57 net::URLRequest* request, | 56 net::URLRequest* request, |
58 content::ResourceContext* resource_context, | 57 content::ResourceContext* resource_context, |
59 content::ResourceResponse* response, | 58 content::ResourceResponse* response, |
60 IPC::Sender* sender) OVERRIDE; | 59 IPC::Sender* sender) OVERRIDE; |
61 | 60 |
62 virtual void OnRequestRedirected( | 61 virtual void OnRequestRedirected( |
63 const GURL& redirect_url, | 62 const GURL& redirect_url, |
64 net::URLRequest* request, | 63 net::URLRequest* request, |
65 content::ResourceContext* resource_context, | 64 content::ResourceContext* resource_context, |
(...skipping 29 matching lines...) Expand all Loading... |
95 | 94 |
96 // Only accessed on the IO thread. | 95 // Only accessed on the IO thread. |
97 PendingThrottleMap pending_throttles_; | 96 PendingThrottleMap pending_throttles_; |
98 | 97 |
99 DISALLOW_COPY_AND_ASSIGN(AwResourceDispatcherHostDelegate); | 98 DISALLOW_COPY_AND_ASSIGN(AwResourceDispatcherHostDelegate); |
100 }; | 99 }; |
101 | 100 |
102 } // namespace android_webview | 101 } // namespace android_webview |
103 | 102 |
104 #endif // ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_H_ | 103 #endif // ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_H_ |
OLD | NEW |