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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 | 73 |
74 void DidCommitProvisionalLoad(const LoadCommittedDetails& details); | 74 void DidCommitProvisionalLoad(const LoadCommittedDetails& details); |
75 void DidStartResourceResponse(const GURL& url, | 75 void DidStartResourceResponse(const GURL& url, |
76 bool has_certificate, | 76 bool has_certificate, |
77 net::CertStatus ssl_cert_status); | 77 net::CertStatus ssl_cert_status); |
78 | 78 |
79 // The following methods are called when a page includes insecure | 79 // The following methods are called when a page includes insecure |
80 // content. These methods update the SSLStatus on the NavigationEntry | 80 // content. These methods update the SSLStatus on the NavigationEntry |
81 // appropriately. If the result could change the visible SSL state, | 81 // appropriately. If the result could change the visible SSL state, |
82 // they notify the WebContents of the change via | 82 // they notify the WebContents of the change via |
83 // DidChangeVisibleSSLState(); | 83 // DidChangeVisibleSecurityState(); |
84 void DidDisplayMixedContent(); | 84 void DidDisplayMixedContent(); |
85 void DidDisplayContentWithCertErrors(); | 85 void DidDisplayContentWithCertErrors(); |
86 void DidShowPasswordInputOnHttp(); | 86 void DidShowPasswordInputOnHttp(); |
87 void DidShowCreditCardInputOnHttp(); | 87 void DidShowCreditCardInputOnHttp(); |
88 void DidRunMixedContent(const GURL& security_origin); | 88 void DidRunMixedContent(const GURL& security_origin); |
89 void DidRunContentWithCertErrors(const GURL& security_origin); | 89 void DidRunContentWithCertErrors(const GURL& security_origin); |
90 | 90 |
91 // An error occurred with the certificate in an SSL connection. | 91 // An error occurred with the certificate in an SSL connection. |
92 void OnCertError(std::unique_ptr<SSLErrorHandler> handler); | 92 void OnCertError(std::unique_ptr<SSLErrorHandler> handler); |
93 | 93 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 | 137 |
138 // Delegate that manages SSL state specific to each host. | 138 // Delegate that manages SSL state specific to each host. |
139 SSLHostStateDelegate* ssl_host_state_delegate_; | 139 SSLHostStateDelegate* ssl_host_state_delegate_; |
140 | 140 |
141 DISALLOW_COPY_AND_ASSIGN(SSLManager); | 141 DISALLOW_COPY_AND_ASSIGN(SSLManager); |
142 }; | 142 }; |
143 | 143 |
144 } // namespace content | 144 } // namespace content |
145 | 145 |
146 #endif // CONTENT_BROWSER_SSL_SSL_MANAGER_H_ | 146 #endif // CONTENT_BROWSER_SSL_SSL_MANAGER_H_ |
OLD | NEW |