| 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_CERTIFICATE_REPORTING_CERTIFICATE_ERROR_REPORTER_H_ | 5 #ifndef COMPONENTS_CERTIFICATE_REPORTING_CERTIFICATE_ERROR_REPORTER_H_ |
| 6 #define COMPONENTS_CERTIFICATE_REPORTING_CERTIFICATE_ERROR_REPORTER_H_ | 6 #define COMPONENTS_CERTIFICATE_REPORTING_CERTIFICATE_ERROR_REPORTER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <set> | 11 #include <set> |
| 12 #include <string> | 12 #include <string> |
| 13 | 13 |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "net/url_request/report_sender.h" | 15 #include "net/url_request/report_sender.h" |
| 16 #include "url/gurl.h" | 16 #include "url/gurl.h" |
| 17 | 17 |
| 18 namespace net { | 18 namespace net { |
| 19 class URLRequestContext; | 19 class URLRequestContext; |
| 20 class SSLInfo; | |
| 21 } | 20 } |
| 22 | 21 |
| 23 namespace certificate_reporting { | 22 namespace certificate_reporting { |
| 24 | 23 |
| 25 class EncryptedCertLoggerRequest; | 24 class EncryptedCertLoggerRequest; |
| 26 | 25 |
| 27 // Provides functionality for sending reports about invalid SSL | 26 // Provides functionality for sending reports about invalid SSL |
| 28 // certificate chains to a report collection server. | 27 // certificate chains to a report collection server. |
| 29 class ErrorReporter { | 28 class ErrorReporter { |
| 30 public: | 29 public: |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 | 79 |
| 81 const uint8_t* server_public_key_; | 80 const uint8_t* server_public_key_; |
| 82 const uint32_t server_public_key_version_; | 81 const uint32_t server_public_key_version_; |
| 83 | 82 |
| 84 DISALLOW_COPY_AND_ASSIGN(ErrorReporter); | 83 DISALLOW_COPY_AND_ASSIGN(ErrorReporter); |
| 85 }; | 84 }; |
| 86 | 85 |
| 87 } // namespace certificate_reporting | 86 } // namespace certificate_reporting |
| 88 | 87 |
| 89 #endif // COMPONENTS_CERTIFICATE_REPORTING_CERTIFICATE_ERROR_REPORTER_H_ | 88 #endif // COMPONENTS_CERTIFICATE_REPORTING_CERTIFICATE_ERROR_REPORTER_H_ |
| OLD | NEW |