| 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_MANAGER_H_ | 5 #ifndef CONTENT_BROWSER_SSL_SSL_MANAGER_H_ |
| 6 #define CONTENT_BROWSER_SSL_SSL_MANAGER_H_ | 6 #define CONTENT_BROWSER_SSL_SSL_MANAGER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 | 24 |
| 25 namespace content { | 25 namespace content { |
| 26 class BrowserContext; | 26 class BrowserContext; |
| 27 class NavigationEntryImpl; | 27 class NavigationEntryImpl; |
| 28 class NavigationControllerImpl; | 28 class NavigationControllerImpl; |
| 29 class SSLPolicy; | 29 class SSLPolicy; |
| 30 struct LoadCommittedDetails; | 30 struct LoadCommittedDetails; |
| 31 struct LoadFromMemoryCacheDetails; | 31 struct LoadFromMemoryCacheDetails; |
| 32 struct ResourceRedirectDetails; | 32 struct ResourceRedirectDetails; |
| 33 struct ResourceRequestDetails; | 33 struct ResourceRequestDetails; |
| 34 struct SSLStatus; | |
| 35 | 34 |
| 36 // The SSLManager SSLManager controls the SSL UI elements in a WebContents. It | 35 // The SSLManager SSLManager controls the SSL UI elements in a WebContents. It |
| 37 // listens for various events that influence when these elements should or | 36 // listens for various events that influence when these elements should or |
| 38 // should not be displayed and adjusts them accordingly. | 37 // should not be displayed and adjusts them accordingly. |
| 39 // | 38 // |
| 40 // There is one SSLManager per tab. | 39 // There is one SSLManager per tab. |
| 41 // The security state (secure/insecure) is stored in the navigation entry. | 40 // The security state (secure/insecure) is stored in the navigation entry. |
| 42 // Along with it are stored any SSL error code and the associated cert. | 41 // Along with it are stored any SSL error code and the associated cert. |
| 43 | 42 |
| 44 class CONTENT_EXPORT SSLManager { | 43 class CONTENT_EXPORT SSLManager { |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 // The NavigationController that owns this SSLManager. We are responsible | 108 // The NavigationController that owns this SSLManager. We are responsible |
| 110 // for the security UI of this tab. | 109 // for the security UI of this tab. |
| 111 NavigationControllerImpl* controller_; | 110 NavigationControllerImpl* controller_; |
| 112 | 111 |
| 113 DISALLOW_COPY_AND_ASSIGN(SSLManager); | 112 DISALLOW_COPY_AND_ASSIGN(SSLManager); |
| 114 }; | 113 }; |
| 115 | 114 |
| 116 } // namespace content | 115 } // namespace content |
| 117 | 116 |
| 118 #endif // CONTENT_BROWSER_SSL_SSL_MANAGER_H_ | 117 #endif // CONTENT_BROWSER_SSL_SSL_MANAGER_H_ |
| OLD | NEW |