OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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" | 12 #include "chrome/browser/tab_contents/security_style.h" |
13 #include "net/base/x509_certificate.h" | 13 #include "net/base/x509_certificate.h" |
14 #include "webkit/api/public/WebConsoleMessage.h" | 14 #include "third_party/WebKit/WebKit/chromium/public/WebConsoleMessage.h" |
15 | 15 |
16 class NavigationController; | 16 class NavigationController; |
17 class SSLHostState; | 17 class SSLHostState; |
18 class Task; | 18 class Task; |
19 | 19 |
20 class SSLPolicyBackend { | 20 class SSLPolicyBackend { |
21 public: | 21 public: |
22 explicit SSLPolicyBackend(NavigationController* controller); | 22 explicit SSLPolicyBackend(NavigationController* controller); |
23 | 23 |
24 // Ensure that the specified message is displayed to the user. This will | 24 // Ensure that the specified message is displayed to the user. This will |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 SSLHostState* ssl_host_state_; | 91 SSLHostState* ssl_host_state_; |
92 | 92 |
93 // The list of messages that should be displayed (in info bars) when the page | 93 // The list of messages that should be displayed (in info bars) when the page |
94 // currently loading had loaded. | 94 // currently loading had loaded. |
95 std::vector<SSLMessageInfo> pending_messages_; | 95 std::vector<SSLMessageInfo> pending_messages_; |
96 | 96 |
97 DISALLOW_COPY_AND_ASSIGN(SSLPolicyBackend); | 97 DISALLOW_COPY_AND_ASSIGN(SSLPolicyBackend); |
98 }; | 98 }; |
99 | 99 |
100 #endif // CHROME_BROWSER_SSL_SSL_POLICY_BACKEND_H_ | 100 #endif // CHROME_BROWSER_SSL_SSL_POLICY_BACKEND_H_ |
OLD | NEW |