| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( | 48 content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( |
| 49 net::AuthChallengeInfo* auth_info, | 49 net::AuthChallengeInfo* auth_info, |
| 50 net::URLRequest* request) override; | 50 net::URLRequest* request) override; |
| 51 bool HandleExternalProtocol( | 51 bool HandleExternalProtocol( |
| 52 const GURL& url, | 52 const GURL& url, |
| 53 int child_id, | 53 int child_id, |
| 54 const content::ResourceRequestInfo::WebContentsGetter& | 54 const content::ResourceRequestInfo::WebContentsGetter& |
| 55 web_contents_getter, | 55 web_contents_getter, |
| 56 bool is_main_frame, | 56 bool is_main_frame, |
| 57 ui::PageTransition page_transition, | 57 ui::PageTransition page_transition, |
| 58 bool has_user_gesture) override; | 58 bool has_user_gesture, |
| 59 bool is_whitelisted) override; |
| 59 void OnResponseStarted(net::URLRequest* request, | 60 void OnResponseStarted(net::URLRequest* request, |
| 60 content::ResourceContext* resource_context, | 61 content::ResourceContext* resource_context, |
| 61 content::ResourceResponse* response, | 62 content::ResourceResponse* response, |
| 62 IPC::Sender* sender) override; | 63 IPC::Sender* sender) override; |
| 63 | 64 |
| 64 void OnRequestRedirected(const GURL& redirect_url, | 65 void OnRequestRedirected(const GURL& redirect_url, |
| 65 net::URLRequest* request, | 66 net::URLRequest* request, |
| 66 content::ResourceContext* resource_context, | 67 content::ResourceContext* resource_context, |
| 67 content::ResourceResponse* response) override; | 68 content::ResourceResponse* response) override; |
| 68 | 69 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 98 | 99 |
| 99 // Only accessed on the IO thread. | 100 // Only accessed on the IO thread. |
| 100 PendingThrottleMap pending_throttles_; | 101 PendingThrottleMap pending_throttles_; |
| 101 | 102 |
| 102 DISALLOW_COPY_AND_ASSIGN(AwResourceDispatcherHostDelegate); | 103 DISALLOW_COPY_AND_ASSIGN(AwResourceDispatcherHostDelegate); |
| 103 }; | 104 }; |
| 104 | 105 |
| 105 } // namespace android_webview | 106 } // namespace android_webview |
| 106 | 107 |
| 107 #endif // ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_H_ | 108 #endif // ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_H_ |
| OLD | NEW |