| 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_garbage_collector.h" | 5 #include "net/reporting/reporting_garbage_collector.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/time/tick_clock.h" | 11 #include "base/time/tick_clock.h" |
| 11 #include "base/time/time.h" | 12 #include "base/time/time.h" |
| 12 #include "base/timer/timer.h" | 13 #include "base/timer/timer.h" |
| 13 #include "net/reporting/reporting_cache.h" | 14 #include "net/reporting/reporting_cache.h" |
| 14 #include "net/reporting/reporting_context.h" | 15 #include "net/reporting/reporting_context.h" |
| 15 #include "net/reporting/reporting_observer.h" | 16 #include "net/reporting/reporting_observer.h" |
| 16 #include "net/reporting/reporting_policy.h" | 17 #include "net/reporting/reporting_policy.h" |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 | 79 |
| 79 // static | 80 // static |
| 80 std::unique_ptr<ReportingGarbageCollector> ReportingGarbageCollector::Create( | 81 std::unique_ptr<ReportingGarbageCollector> ReportingGarbageCollector::Create( |
| 81 ReportingContext* context) { | 82 ReportingContext* context) { |
| 82 return base::MakeUnique<ReportingGarbageCollectorImpl>(context); | 83 return base::MakeUnique<ReportingGarbageCollectorImpl>(context); |
| 83 } | 84 } |
| 84 | 85 |
| 85 ReportingGarbageCollector::~ReportingGarbageCollector() {} | 86 ReportingGarbageCollector::~ReportingGarbageCollector() {} |
| 86 | 87 |
| 87 } // namespace net | 88 } // namespace net |
| OLD | NEW |