| 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 #include "components/certificate_reporting/error_report.h" | 5 #include "components/certificate_reporting/error_report.h" |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| 11 #include "base/files/file_util.h" | 11 #include "base/files/file_util.h" |
| 12 #include "base/memory/ptr_util.h" |
| 12 #include "base/path_service.h" | 13 #include "base/path_service.h" |
| 13 #include "base/threading/thread.h" | 14 #include "base/threading/thread.h" |
| 14 #include "base/time/default_clock.h" | 15 #include "base/time/default_clock.h" |
| 15 #include "base/time/default_tick_clock.h" | 16 #include "base/time/default_tick_clock.h" |
| 16 #include "components/certificate_reporting/cert_logger.pb.h" | 17 #include "components/certificate_reporting/cert_logger.pb.h" |
| 17 #include "components/network_time/network_time_test_utils.h" | 18 #include "components/network_time/network_time_test_utils.h" |
| 18 #include "components/prefs/testing_pref_service.h" | 19 #include "components/prefs/testing_pref_service.h" |
| 19 #include "net/cert/cert_status_flags.h" | 20 #include "net/cert/cert_status_flags.h" |
| 20 #include "net/ssl/ssl_info.h" | 21 #include "net/ssl/ssl_info.h" |
| 21 #include "net/test/cert_test_util.h" | 22 #include "net/test/cert_test_util.h" |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 EXPECT_EQ(CertLoggerFeaturesInfo::NetworkTimeQueryingInfo:: | 230 EXPECT_EQ(CertLoggerFeaturesInfo::NetworkTimeQueryingInfo:: |
| 230 NETWORK_TIME_FETCHES_ON_DEMAND_ONLY, | 231 NETWORK_TIME_FETCHES_ON_DEMAND_ONLY, |
| 231 parsed.features_info() | 232 parsed.features_info() |
| 232 .network_time_querying_info() | 233 .network_time_querying_info() |
| 233 .network_time_query_behavior()); | 234 .network_time_query_behavior()); |
| 234 } | 235 } |
| 235 | 236 |
| 236 } // namespace | 237 } // namespace |
| 237 | 238 |
| 238 } // namespace certificate_reporting | 239 } // namespace certificate_reporting |
| OLD | NEW |