| 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 CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 net::URLRequest* request, | 51 net::URLRequest* request, |
| 52 content::ResourceContext* resource_context, | 52 content::ResourceContext* resource_context, |
| 53 content::AppCacheService* appcache_service, | 53 content::AppCacheService* appcache_service, |
| 54 content::ResourceType resource_type, | 54 content::ResourceType resource_type, |
| 55 ScopedVector<content::ResourceThrottle>* throttles) override; | 55 ScopedVector<content::ResourceThrottle>* throttles) override; |
| 56 void DownloadStarting( | 56 void DownloadStarting( |
| 57 net::URLRequest* request, | 57 net::URLRequest* request, |
| 58 content::ResourceContext* resource_context, | 58 content::ResourceContext* resource_context, |
| 59 int child_id, | 59 int child_id, |
| 60 int route_id, | 60 int route_id, |
| 61 int request_id, | |
| 62 bool is_content_initiated, | 61 bool is_content_initiated, |
| 63 bool must_download, | 62 bool must_download, |
| 64 ScopedVector<content::ResourceThrottle>* throttles) override; | 63 ScopedVector<content::ResourceThrottle>* throttles) override; |
| 65 content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( | 64 content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( |
| 66 net::AuthChallengeInfo* auth_info, | 65 net::AuthChallengeInfo* auth_info, |
| 67 net::URLRequest* request) override; | 66 net::URLRequest* request) override; |
| 68 bool HandleExternalProtocol( | 67 bool HandleExternalProtocol( |
| 69 const GURL& url, | 68 const GURL& url, |
| 70 int child_id, | 69 int child_id, |
| 71 const content::ResourceRequestInfo::WebContentsGetter& | 70 const content::ResourceRequestInfo::WebContentsGetter& |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 scoped_refptr<safe_browsing::SafeBrowsingService> safe_browsing_; | 120 scoped_refptr<safe_browsing::SafeBrowsingService> safe_browsing_; |
| 122 #if defined(ENABLE_EXTENSIONS) | 121 #if defined(ENABLE_EXTENSIONS) |
| 123 scoped_refptr<extensions::UserScriptListener> user_script_listener_; | 122 scoped_refptr<extensions::UserScriptListener> user_script_listener_; |
| 124 std::map<net::URLRequest*, StreamTargetInfo> stream_target_info_; | 123 std::map<net::URLRequest*, StreamTargetInfo> stream_target_info_; |
| 125 #endif | 124 #endif |
| 126 | 125 |
| 127 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate); | 126 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate); |
| 128 }; | 127 }; |
| 129 | 128 |
| 130 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE
_H_ | 129 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE
_H_ |
| OLD | NEW |