| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 int request_id, | 64 int request_id, |
| 65 bool is_content_initiated, | 65 bool is_content_initiated, |
| 66 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE; | 66 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE; |
| 67 virtual bool AcceptSSLClientCertificateRequest( | 67 virtual bool AcceptSSLClientCertificateRequest( |
| 68 net::URLRequest* request, | 68 net::URLRequest* request, |
| 69 net::SSLCertRequestInfo* cert_request_info) OVERRIDE; | 69 net::SSLCertRequestInfo* cert_request_info) OVERRIDE; |
| 70 virtual bool AcceptAuthRequest(net::URLRequest* request, | 70 virtual bool AcceptAuthRequest(net::URLRequest* request, |
| 71 net::AuthChallengeInfo* auth_info) OVERRIDE; | 71 net::AuthChallengeInfo* auth_info) OVERRIDE; |
| 72 virtual content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( | 72 virtual content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( |
| 73 net::AuthChallengeInfo* auth_info, net::URLRequest* request) OVERRIDE; | 73 net::AuthChallengeInfo* auth_info, net::URLRequest* request) OVERRIDE; |
| 74 virtual void HandleExternalProtocol(const GURL& url, | 74 virtual bool HandleExternalProtocol(const GURL& url, |
| 75 int child_id, | 75 int child_id, |
| 76 int route_id) OVERRIDE; | 76 int route_id) OVERRIDE; |
| 77 virtual bool ShouldForceDownloadResource( | 77 virtual bool ShouldForceDownloadResource( |
| 78 const GURL& url, const std::string& mime_type) OVERRIDE; | 78 const GURL& url, const std::string& mime_type) OVERRIDE; |
| 79 virtual void OnResponseStarted( | 79 virtual void OnResponseStarted( |
| 80 net::URLRequest* request, | 80 net::URLRequest* request, |
| 81 content::ResourceContext* resource_context, | 81 content::ResourceContext* resource_context, |
| 82 content::ResourceResponse* response, | 82 content::ResourceResponse* response, |
| 83 IPC::Sender* sender) OVERRIDE; | 83 IPC::Sender* sender) OVERRIDE; |
| 84 virtual void OnRequestRedirected( | 84 virtual void OnRequestRedirected( |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 // This consists of a list of valid IDs, and the actual transmitted header. | 132 // This consists of a list of valid IDs, and the actual transmitted header. |
| 133 // Note that since this cache is both initialized and accessed from the IO | 133 // Note that since this cache is both initialized and accessed from the IO |
| 134 // thread, we do not need to synchronize its uses. | 134 // thread, we do not need to synchronize its uses. |
| 135 std::set<chrome_variations::VariationID> variation_ids_set_; | 135 std::set<chrome_variations::VariationID> variation_ids_set_; |
| 136 std::string variation_ids_header_; | 136 std::string variation_ids_header_; |
| 137 | 137 |
| 138 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate); | 138 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate); |
| 139 }; | 139 }; |
| 140 | 140 |
| 141 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE
_H_ | 141 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE
_H_ |
| OLD | NEW |