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