OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_BROWSER_SSL_SSL_POLICY_BACKEND_H_ | 5 #ifndef CONTENT_BROWSER_SSL_SSL_POLICY_BACKEND_H_ |
6 #define CONTENT_BROWSER_SSL_SSL_POLICY_BACKEND_H_ | 6 #define CONTENT_BROWSER_SSL_SSL_POLICY_BACKEND_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
(...skipping 21 matching lines...) Expand all Loading... |
33 void AllowCertForHost(net::X509Certificate* cert, const std::string& host); | 33 void AllowCertForHost(net::X509Certificate* cert, const std::string& host); |
34 | 34 |
35 // Queries whether |cert| is allowed or denied for |host|. | 35 // Queries whether |cert| is allowed or denied for |host|. |
36 net::CertPolicy::Judgment QueryPolicy( | 36 net::CertPolicy::Judgment QueryPolicy( |
37 net::X509Certificate* cert, const std::string& host); | 37 net::X509Certificate* cert, const std::string& host); |
38 | 38 |
39 private: | 39 private: |
40 // SSL state specific for each host. | 40 // SSL state specific for each host. |
41 SSLHostState* ssl_host_state_; | 41 SSLHostState* ssl_host_state_; |
42 | 42 |
43 NavigationController* controller_; | |
44 | |
45 DISALLOW_COPY_AND_ASSIGN(SSLPolicyBackend); | 43 DISALLOW_COPY_AND_ASSIGN(SSLPolicyBackend); |
46 }; | 44 }; |
47 | 45 |
48 #endif // CONTENT_BROWSER_SSL_SSL_POLICY_BACKEND_H_ | 46 #endif // CONTENT_BROWSER_SSL_SSL_POLICY_BACKEND_H_ |
OLD | NEW |