| 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_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 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/string16.h" | 12 #include "base/string16.h" |
| 13 #include "net/base/x509_certificate.h" | 13 #include "net/cert/x509_certificate.h" |
| 14 | 14 |
| 15 namespace content { | 15 namespace content { |
| 16 class NavigationControllerImpl; | 16 class NavigationControllerImpl; |
| 17 class SSLHostState; | 17 class SSLHostState; |
| 18 | 18 |
| 19 class SSLPolicyBackend { | 19 class SSLPolicyBackend { |
| 20 public: | 20 public: |
| 21 explicit SSLPolicyBackend(NavigationControllerImpl* controller); | 21 explicit SSLPolicyBackend(NavigationControllerImpl* controller); |
| 22 | 22 |
| 23 // Records that a host has run insecure content. | 23 // Records that a host has run insecure content. |
| (...skipping 17 matching lines...) Expand all Loading... |
| 41 SSLHostState* ssl_host_state_; | 41 SSLHostState* ssl_host_state_; |
| 42 | 42 |
| 43 NavigationControllerImpl* controller_; | 43 NavigationControllerImpl* controller_; |
| 44 | 44 |
| 45 DISALLOW_COPY_AND_ASSIGN(SSLPolicyBackend); | 45 DISALLOW_COPY_AND_ASSIGN(SSLPolicyBackend); |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 } // namespace content | 48 } // namespace content |
| 49 | 49 |
| 50 #endif // CONTENT_BROWSER_SSL_SSL_POLICY_BACKEND_H_ | 50 #endif // CONTENT_BROWSER_SSL_SSL_POLICY_BACKEND_H_ |
| OLD | NEW |