OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 IOS_CHROME_BROWSER_SSL_IOS_SSL_BLOCKING_PAGE_H_ | 5 #ifndef IOS_CHROME_BROWSER_SSL_IOS_SSL_BLOCKING_PAGE_H_ |
6 #define IOS_CHROME_BROWSER_SSL_IOS_SSL_BLOCKING_PAGE_H_ | 6 #define IOS_CHROME_BROWSER_SSL_IOS_SSL_BLOCKING_PAGE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 static bool IsOverridable(int options_mask); | 64 static bool IsOverridable(int options_mask); |
65 | 65 |
66 base::Callback<void(bool)> callback_; | 66 base::Callback<void(bool)> callback_; |
67 const net::SSLInfo ssl_info_; | 67 const net::SSLInfo ssl_info_; |
68 const bool overridable_; // The UI allows the user to override the error. | 68 const bool overridable_; // The UI allows the user to override the error. |
69 | 69 |
70 // The user previously allowed a bad certificate, but the decision has now | 70 // The user previously allowed a bad certificate, but the decision has now |
71 // expired. | 71 // expired. |
72 const bool expired_but_previously_allowed_; | 72 const bool expired_but_previously_allowed_; |
73 | 73 |
74 scoped_ptr<IOSChromeControllerClient> controller_; | 74 std::unique_ptr<IOSChromeControllerClient> controller_; |
75 scoped_ptr<security_interstitials::SSLErrorUI> ssl_error_ui_; | 75 std::unique_ptr<security_interstitials::SSLErrorUI> ssl_error_ui_; |
76 | 76 |
77 DISALLOW_COPY_AND_ASSIGN(IOSSSLBlockingPage); | 77 DISALLOW_COPY_AND_ASSIGN(IOSSSLBlockingPage); |
78 }; | 78 }; |
79 | 79 |
80 #endif // IOS_CHROME_BROWSER_SSL_IOS_SSL_BLOCKING_PAGE_H_ | 80 #endif // IOS_CHROME_BROWSER_SSL_IOS_SSL_BLOCKING_PAGE_H_ |
OLD | NEW |