Chromium Code Reviews| 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 CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 45 } | 45 } |
| 46 namespace crypto { | 46 namespace crypto { |
| 47 class CryptoModuleBlockingPasswordDelegate; | 47 class CryptoModuleBlockingPasswordDelegate; |
| 48 } | 48 } |
| 49 | 49 |
| 50 namespace gfx { | 50 namespace gfx { |
| 51 class ImageSkia; | 51 class ImageSkia; |
| 52 } | 52 } |
| 53 | 53 |
| 54 namespace net { | 54 namespace net { |
| 55 class ClientCertStore; | |
| 55 class CookieOptions; | 56 class CookieOptions; |
| 56 class HttpNetworkSession; | 57 class HttpNetworkSession; |
| 57 class NetLog; | 58 class NetLog; |
| 58 class SSLCertRequestInfo; | 59 class SSLCertRequestInfo; |
| 59 class SSLInfo; | 60 class SSLInfo; |
| 60 class URLRequest; | 61 class URLRequest; |
| 61 class URLRequestContext; | 62 class URLRequestContext; |
| 62 class URLRequestContextGetter; | 63 class URLRequestContextGetter; |
| 63 class X509Certificate; | 64 class X509Certificate; |
| 64 } | 65 } |
| (...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 389 int render_view_id, | 390 int render_view_id, |
| 390 int cert_error, | 391 int cert_error, |
| 391 const net::SSLInfo& ssl_info, | 392 const net::SSLInfo& ssl_info, |
| 392 const GURL& request_url, | 393 const GURL& request_url, |
| 393 ResourceType::Type resource_type, | 394 ResourceType::Type resource_type, |
| 394 bool overridable, | 395 bool overridable, |
| 395 bool strict_enforcement, | 396 bool strict_enforcement, |
| 396 const base::Callback<void(bool)>& callback, | 397 const base::Callback<void(bool)>& callback, |
| 397 CertificateRequestResultType* result) {} | 398 CertificateRequestResultType* result) {} |
| 398 | 399 |
| 400 // Get platform ClientCertStore. May return NULL. | |
| 401 virtual scoped_ptr<net::ClientCertStore> GetClientCertStore( | |
| 402 ResourceContext* context); | |
|
jam
2013/10/25 01:43:10
since this is a property of ResourceContext, this
mattm
2013/10/25 02:53:46
Done.
| |
| 403 | |
| 399 // Selects a SSL client certificate and returns it to the |callback|. If no | 404 // Selects a SSL client certificate and returns it to the |callback|. If no |
| 400 // certificate was selected NULL is returned to the |callback|. | 405 // certificate was selected NULL is returned to the |callback|. |
| 401 virtual void SelectClientCertificate( | 406 virtual void SelectClientCertificate( |
| 402 int render_process_id, | 407 int render_process_id, |
| 403 int render_view_id, | 408 int render_view_id, |
| 404 const net::HttpNetworkSession* network_session, | 409 const net::HttpNetworkSession* network_session, |
| 405 net::SSLCertRequestInfo* cert_request_info, | 410 net::SSLCertRequestInfo* cert_request_info, |
| 406 const base::Callback<void(net::X509Certificate*)>& callback) {} | 411 const base::Callback<void(net::X509Certificate*)>& callback) {} |
| 407 | 412 |
| 408 // Adds a new installable certificate or private key. | 413 // Adds a new installable certificate or private key. |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 602 // Returns true if plugin referred to by the url can use | 607 // Returns true if plugin referred to by the url can use |
| 603 // pp::FileIO::RequestOSFileHandle. | 608 // pp::FileIO::RequestOSFileHandle. |
| 604 virtual bool IsPluginAllowedToCallRequestOSFileHandle( | 609 virtual bool IsPluginAllowedToCallRequestOSFileHandle( |
| 605 content::BrowserContext* browser_context, | 610 content::BrowserContext* browser_context, |
| 606 const GURL& url); | 611 const GURL& url); |
| 607 }; | 612 }; |
| 608 | 613 |
| 609 } // namespace content | 614 } // namespace content |
| 610 | 615 |
| 611 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 616 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |