OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 "net/reporting/reporting_persister.h" | 5 #include "net/reporting/reporting_persister.h" |
6 | 6 |
| 7 #include <utility> |
7 #include <vector> | 8 #include <vector> |
8 | 9 |
9 #include "base/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
10 #include "base/strings/string_number_conversions.h" | 11 #include "base/strings/string_number_conversions.h" |
11 #include "base/time/clock.h" | 12 #include "base/time/clock.h" |
12 #include "base/time/tick_clock.h" | 13 #include "base/time/tick_clock.h" |
13 #include "base/time/time.h" | 14 #include "base/time/time.h" |
14 #include "base/timer/timer.h" | 15 #include "base/timer/timer.h" |
15 #include "base/values.h" | 16 #include "base/values.h" |
16 #include "net/reporting/reporting_cache.h" | 17 #include "net/reporting/reporting_cache.h" |
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 | 313 |
313 // static | 314 // static |
314 std::unique_ptr<ReportingPersister> ReportingPersister::Create( | 315 std::unique_ptr<ReportingPersister> ReportingPersister::Create( |
315 ReportingContext* context) { | 316 ReportingContext* context) { |
316 return base::MakeUnique<ReportingPersisterImpl>(context); | 317 return base::MakeUnique<ReportingPersisterImpl>(context); |
317 } | 318 } |
318 | 319 |
319 ReportingPersister::~ReportingPersister() {} | 320 ReportingPersister::~ReportingPersister() {} |
320 | 321 |
321 } // namespace net | 322 } // namespace net |
OLD | NEW |