| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_SSL_ERRORS_SSL_ERROR_INFO_H_ | 5 #ifndef COMPONENTS_SSL_ERRORS_SSL_ERROR_INFO_H_ |
| 6 #define COMPONENTS_SSL_ERRORS_SSL_ERROR_INFO_H_ | 6 #define COMPONENTS_SSL_ERRORS_SSL_ERROR_INFO_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/macros.h" |
| 11 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
| 12 #include "net/cert/cert_status_flags.h" | 13 #include "net/cert/cert_status_flags.h" |
| 13 #include "net/cert/x509_certificate.h" | 14 #include "net/cert/x509_certificate.h" |
| 14 | 15 |
| 15 class GURL; | 16 class GURL; |
| 16 | 17 |
| 17 namespace ssl_errors { | 18 namespace ssl_errors { |
| 18 | 19 |
| 19 // This class describes an error that happened while showing a page over SSL. | 20 // This class describes an error that happened while showing a page over SSL. |
| 20 // An ErrorInfo object only exists on the UI thread and only contains | 21 // An ErrorInfo object only exists on the UI thread and only contains |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 ErrorInfo(const base::string16& details, | 71 ErrorInfo(const base::string16& details, |
| 71 const base::string16& short_description); | 72 const base::string16& short_description); |
| 72 | 73 |
| 73 base::string16 details_; | 74 base::string16 details_; |
| 74 base::string16 short_description_; | 75 base::string16 short_description_; |
| 75 }; | 76 }; |
| 76 | 77 |
| 77 } // namespace ssl_errors | 78 } // namespace ssl_errors |
| 78 | 79 |
| 79 #endif // COMPONENTS_SSL_ERRORS_SSL_ERROR_INFO_H_ | 80 #endif // COMPONENTS_SSL_ERRORS_SSL_ERROR_INFO_H_ |
| OLD | NEW |