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_delivery_agent.h" | 5 #include "net/reporting/reporting_delivery_agent.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 #include <string> | 8 #include <string> |
| 9 #include <utility> |
9 #include <vector> | 10 #include <vector> |
10 | 11 |
11 #include "base/bind.h" | 12 #include "base/bind.h" |
12 #include "base/json/json_writer.h" | 13 #include "base/json/json_writer.h" |
13 #include "base/logging.h" | 14 #include "base/logging.h" |
14 #include "base/memory/ptr_util.h" | 15 #include "base/memory/ptr_util.h" |
15 #include "base/time/tick_clock.h" | 16 #include "base/time/tick_clock.h" |
16 #include "base/timer/timer.h" | 17 #include "base/timer/timer.h" |
17 #include "base/values.h" | 18 #include "base/values.h" |
18 #include "net/reporting/reporting_cache.h" | 19 #include "net/reporting/reporting_cache.h" |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 | 210 |
210 // static | 211 // static |
211 std::unique_ptr<ReportingDeliveryAgent> ReportingDeliveryAgent::Create( | 212 std::unique_ptr<ReportingDeliveryAgent> ReportingDeliveryAgent::Create( |
212 ReportingContext* context) { | 213 ReportingContext* context) { |
213 return base::MakeUnique<ReportingDeliveryAgentImpl>(context); | 214 return base::MakeUnique<ReportingDeliveryAgentImpl>(context); |
214 } | 215 } |
215 | 216 |
216 ReportingDeliveryAgent::~ReportingDeliveryAgent() {} | 217 ReportingDeliveryAgent::~ReportingDeliveryAgent() {} |
217 | 218 |
218 } // namespace net | 219 } // namespace net |
OLD | NEW |