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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 content::ResourceContext* resource_context) override; | 49 content::ResourceContext* resource_context) override; |
50 void RequestBeginning( | 50 void RequestBeginning( |
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, | |
60 int route_id, | |
61 bool is_content_initiated, | 59 bool is_content_initiated, |
62 bool must_download, | 60 bool must_download, |
63 ScopedVector<content::ResourceThrottle>* throttles) override; | 61 ScopedVector<content::ResourceThrottle>* throttles) override; |
64 content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( | 62 content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( |
65 net::AuthChallengeInfo* auth_info, | 63 net::AuthChallengeInfo* auth_info, |
66 net::URLRequest* request) override; | 64 net::URLRequest* request) override; |
67 bool HandleExternalProtocol( | 65 bool HandleExternalProtocol( |
68 const GURL& url, | 66 const GURL& url, |
69 int child_id, | 67 int child_id, |
70 const content::ResourceRequestInfo::WebContentsGetter& | 68 const content::ResourceRequestInfo::WebContentsGetter& |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 scoped_refptr<safe_browsing::SafeBrowsingService> safe_browsing_; | 121 scoped_refptr<safe_browsing::SafeBrowsingService> safe_browsing_; |
124 #if defined(ENABLE_EXTENSIONS) | 122 #if defined(ENABLE_EXTENSIONS) |
125 scoped_refptr<extensions::UserScriptListener> user_script_listener_; | 123 scoped_refptr<extensions::UserScriptListener> user_script_listener_; |
126 std::map<net::URLRequest*, StreamTargetInfo> stream_target_info_; | 124 std::map<net::URLRequest*, StreamTargetInfo> stream_target_info_; |
127 #endif | 125 #endif |
128 | 126 |
129 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate); | 127 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate); |
130 }; | 128 }; |
131 | 129 |
132 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE
_H_ | 130 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE
_H_ |
OLD | NEW |