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_CHROME_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 virtual net::URLRequestContext* OverrideRequestContextForURL( | 159 virtual net::URLRequestContext* OverrideRequestContextForURL( |
160 const GURL& url, content::ResourceContext* context) OVERRIDE; | 160 const GURL& url, content::ResourceContext* context) OVERRIDE; |
161 virtual content::QuotaPermissionContext* | 161 virtual content::QuotaPermissionContext* |
162 CreateQuotaPermissionContext() OVERRIDE; | 162 CreateQuotaPermissionContext() OVERRIDE; |
163 virtual void AllowCertificateError( | 163 virtual void AllowCertificateError( |
164 int render_process_id, | 164 int render_process_id, |
165 int render_frame_id, | 165 int render_frame_id, |
166 int cert_error, | 166 int cert_error, |
167 const net::SSLInfo& ssl_info, | 167 const net::SSLInfo& ssl_info, |
168 const GURL& request_url, | 168 const GURL& request_url, |
169 content::ResourceType::Type resource_type, | 169 content::ResourceType resource_type, |
170 bool overridable, | 170 bool overridable, |
171 bool strict_enforcement, | 171 bool strict_enforcement, |
172 const base::Callback<void(bool)>& callback, | 172 const base::Callback<void(bool)>& callback, |
173 content::CertificateRequestResultType* request) OVERRIDE; | 173 content::CertificateRequestResultType* request) OVERRIDE; |
174 virtual void SelectClientCertificate( | 174 virtual void SelectClientCertificate( |
175 int render_process_id, | 175 int render_process_id, |
176 int render_frame_id, | 176 int render_frame_id, |
177 const net::HttpNetworkSession* network_session, | 177 const net::HttpNetworkSession* network_session, |
178 net::SSLCertRequestInfo* cert_request_info, | 178 net::SSLCertRequestInfo* cert_request_info, |
179 const base::Callback<void(net::X509Certificate*)>& callback) OVERRIDE; | 179 const base::Callback<void(net::X509Certificate*)>& callback) OVERRIDE; |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
349 prerender::PrerenderTracker* prerender_tracker_; | 349 prerender::PrerenderTracker* prerender_tracker_; |
350 | 350 |
351 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 351 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
352 | 352 |
353 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 353 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
354 }; | 354 }; |
355 | 355 |
356 } // namespace chrome | 356 } // namespace chrome |
357 | 357 |
358 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 358 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |