| OLD | NEW |
| 1 // Copyright (c) 2010 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 CHROME_BROWSER_SSL_SSL_POLICY_BACKEND_H_ | 5 #ifndef CHROME_BROWSER_SSL_SSL_POLICY_BACKEND_H_ |
| 6 #define CHROME_BROWSER_SSL_SSL_POLICY_BACKEND_H_ | 6 #define CHROME_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 "chrome/browser/tab_contents/security_style.h" | |
| 13 #include "net/base/x509_certificate.h" | 12 #include "net/base/x509_certificate.h" |
| 14 #include "third_party/WebKit/WebKit/chromium/public/WebConsoleMessage.h" | |
| 15 | 13 |
| 16 class NavigationController; | 14 class NavigationController; |
| 17 class SSLHostState; | 15 class SSLHostState; |
| 18 class Task; | 16 class Task; |
| 19 | 17 |
| 20 class SSLPolicyBackend { | 18 class SSLPolicyBackend { |
| 21 public: | 19 public: |
| 22 explicit SSLPolicyBackend(NavigationController* controller); | 20 explicit SSLPolicyBackend(NavigationController* controller); |
| 23 | 21 |
| 24 // Ensure that the specified message is displayed to the user. This will | 22 // Ensure that the specified message is displayed to the user. This will |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 SSLHostState* ssl_host_state_; | 84 SSLHostState* ssl_host_state_; |
| 87 | 85 |
| 88 // The list of messages that should be displayed (in info bars) when the page | 86 // The list of messages that should be displayed (in info bars) when the page |
| 89 // currently loading had loaded. | 87 // currently loading had loaded. |
| 90 std::vector<SSLMessageInfo> pending_messages_; | 88 std::vector<SSLMessageInfo> pending_messages_; |
| 91 | 89 |
| 92 DISALLOW_COPY_AND_ASSIGN(SSLPolicyBackend); | 90 DISALLOW_COPY_AND_ASSIGN(SSLPolicyBackend); |
| 93 }; | 91 }; |
| 94 | 92 |
| 95 #endif // CHROME_BROWSER_SSL_SSL_POLICY_BACKEND_H_ | 93 #endif // CHROME_BROWSER_SSL_SSL_POLICY_BACKEND_H_ |
| OLD | NEW |