| 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 <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 int new_request_id) OVERRIDE; | 60 int new_request_id) OVERRIDE; |
| 61 virtual void DownloadStarting( | 61 virtual void DownloadStarting( |
| 62 net::URLRequest* request, | 62 net::URLRequest* request, |
| 63 content::ResourceContext* resource_context, | 63 content::ResourceContext* resource_context, |
| 64 int child_id, | 64 int child_id, |
| 65 int route_id, | 65 int route_id, |
| 66 int request_id, | 66 int request_id, |
| 67 bool is_content_initiated, | 67 bool is_content_initiated, |
| 68 bool must_download, | 68 bool must_download, |
| 69 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE; | 69 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE; |
| 70 virtual bool AcceptSSLClientCertificateRequest( | |
| 71 net::URLRequest* request, | |
| 72 net::SSLCertRequestInfo* cert_request_info) OVERRIDE; | |
| 73 virtual bool AcceptAuthRequest(net::URLRequest* request, | |
| 74 net::AuthChallengeInfo* auth_info) OVERRIDE; | |
| 75 virtual content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( | 70 virtual content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( |
| 76 net::AuthChallengeInfo* auth_info, net::URLRequest* request) OVERRIDE; | 71 net::AuthChallengeInfo* auth_info, net::URLRequest* request) OVERRIDE; |
| 77 virtual bool HandleExternalProtocol(const GURL& url, | 72 virtual bool HandleExternalProtocol(const GURL& url, |
| 78 int child_id, | 73 int child_id, |
| 79 int route_id) OVERRIDE; | 74 int route_id) OVERRIDE; |
| 80 virtual bool ShouldForceDownloadResource( | 75 virtual bool ShouldForceDownloadResource( |
| 81 const GURL& url, const std::string& mime_type) OVERRIDE; | 76 const GURL& url, const std::string& mime_type) OVERRIDE; |
| 82 virtual bool ShouldInterceptResourceAsStream( | 77 virtual bool ShouldInterceptResourceAsStream( |
| 83 content::ResourceContext* resource_context, | 78 content::ResourceContext* resource_context, |
| 84 const GURL& url, | 79 const GURL& url, |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 | 123 |
| 129 scoped_refptr<DownloadRequestLimiter> download_request_limiter_; | 124 scoped_refptr<DownloadRequestLimiter> download_request_limiter_; |
| 130 scoped_refptr<SafeBrowsingService> safe_browsing_; | 125 scoped_refptr<SafeBrowsingService> safe_browsing_; |
| 131 scoped_refptr<extensions::UserScriptListener> user_script_listener_; | 126 scoped_refptr<extensions::UserScriptListener> user_script_listener_; |
| 132 prerender::PrerenderTracker* prerender_tracker_; | 127 prerender::PrerenderTracker* prerender_tracker_; |
| 133 | 128 |
| 134 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate); | 129 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate); |
| 135 }; | 130 }; |
| 136 | 131 |
| 137 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE
_H_ | 132 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE
_H_ |
| OLD | NEW |