Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 | |
|
no sievers
2016/06/10 19:40:06
nit: remove newline
Jinsuk Kim
2016/06/13 03:21:12
Done.
| |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 // 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 | 3 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 4 // found in the LICENSE file. |
| 4 | 5 |
| 5 #ifndef ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_DELEGATE_H _ | 6 #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 _ | 7 #define ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_DELEGATE_H _ |
| 7 | 8 |
| 8 #include <map> | 9 #include <map> |
| 9 | 10 |
| 10 #include "base/lazy_instance.h" | 11 #include "base/lazy_instance.h" |
| (...skipping 25 matching lines...) Expand all Loading... | |
| 36 net::URLRequest* request, | 37 net::URLRequest* request, |
| 37 content::ResourceContext* resource_context, | 38 content::ResourceContext* resource_context, |
| 38 content::AppCacheService* appcache_service, | 39 content::AppCacheService* appcache_service, |
| 39 content::ResourceType resource_type, | 40 content::ResourceType resource_type, |
| 40 ScopedVector<content::ResourceThrottle>* throttles) override; | 41 ScopedVector<content::ResourceThrottle>* throttles) override; |
| 41 void DownloadStarting( | 42 void DownloadStarting( |
| 42 net::URLRequest* request, | 43 net::URLRequest* request, |
| 43 content::ResourceContext* resource_context, | 44 content::ResourceContext* resource_context, |
| 44 int child_id, | 45 int child_id, |
| 45 int route_id, | 46 int route_id, |
| 46 int request_id, | |
| 47 bool is_content_initiated, | 47 bool is_content_initiated, |
| 48 bool must_download, | 48 bool must_download, |
| 49 ScopedVector<content::ResourceThrottle>* throttles) override; | 49 ScopedVector<content::ResourceThrottle>* throttles) override; |
| 50 content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( | 50 content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( |
| 51 net::AuthChallengeInfo* auth_info, | 51 net::AuthChallengeInfo* auth_info, |
| 52 net::URLRequest* request) override; | 52 net::URLRequest* request) override; |
| 53 bool HandleExternalProtocol( | 53 bool HandleExternalProtocol( |
| 54 const GURL& url, | 54 const GURL& url, |
| 55 int child_id, | 55 int child_id, |
| 56 const content::ResourceRequestInfo::WebContentsGetter& | 56 const content::ResourceRequestInfo::WebContentsGetter& |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 101 | 101 |
| 102 // Only accessed on the IO thread. | 102 // Only accessed on the IO thread. |
| 103 PendingThrottleMap pending_throttles_; | 103 PendingThrottleMap pending_throttles_; |
| 104 | 104 |
| 105 DISALLOW_COPY_AND_ASSIGN(AwResourceDispatcherHostDelegate); | 105 DISALLOW_COPY_AND_ASSIGN(AwResourceDispatcherHostDelegate); |
| 106 }; | 106 }; |
| 107 | 107 |
| 108 } // namespace android_webview | 108 } // namespace android_webview |
| 109 | 109 |
| 110 #endif // ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_H_ | 110 #endif // ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_H_ |
| OLD | NEW |