| 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 25 matching lines...) Expand all Loading... |
| 36 net::URLRequest* request, | 36 net::URLRequest* request, |
| 37 content::ResourceContext* resource_context, | 37 content::ResourceContext* resource_context, |
| 38 content::AppCacheService* appcache_service, | 38 content::AppCacheService* appcache_service, |
| 39 content::ResourceType resource_type, | 39 content::ResourceType resource_type, |
| 40 ScopedVector<content::ResourceThrottle>* throttles) override; | 40 ScopedVector<content::ResourceThrottle>* throttles) override; |
| 41 void DownloadStarting( | 41 void DownloadStarting( |
| 42 net::URLRequest* request, | 42 net::URLRequest* request, |
| 43 content::ResourceContext* resource_context, | 43 content::ResourceContext* resource_context, |
| 44 int child_id, | 44 int child_id, |
| 45 int route_id, | 45 int route_id, |
| 46 int request_id, | |
| 47 bool is_content_initiated, | 46 bool is_content_initiated, |
| 48 bool must_download, | 47 bool must_download, |
| 49 ScopedVector<content::ResourceThrottle>* throttles) override; | 48 ScopedVector<content::ResourceThrottle>* throttles) override; |
| 50 content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( | 49 content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( |
| 51 net::AuthChallengeInfo* auth_info, | 50 net::AuthChallengeInfo* auth_info, |
| 52 net::URLRequest* request) override; | 51 net::URLRequest* request) override; |
| 53 bool HandleExternalProtocol( | 52 bool HandleExternalProtocol( |
| 54 const GURL& url, | 53 const GURL& url, |
| 55 int child_id, | 54 int child_id, |
| 56 const content::ResourceRequestInfo::WebContentsGetter& | 55 const content::ResourceRequestInfo::WebContentsGetter& |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 | 100 |
| 102 // Only accessed on the IO thread. | 101 // Only accessed on the IO thread. |
| 103 PendingThrottleMap pending_throttles_; | 102 PendingThrottleMap pending_throttles_; |
| 104 | 103 |
| 105 DISALLOW_COPY_AND_ASSIGN(AwResourceDispatcherHostDelegate); | 104 DISALLOW_COPY_AND_ASSIGN(AwResourceDispatcherHostDelegate); |
| 106 }; | 105 }; |
| 107 | 106 |
| 108 } // namespace android_webview | 107 } // namespace android_webview |
| 109 | 108 |
| 110 #endif // ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_H_ | 109 #endif // ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_H_ |
| OLD | NEW |