OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "net/reporting/reporting_report.h" |
| 6 |
| 7 #include <memory> |
| 8 #include <string> |
| 9 |
| 10 #include "base/time/time.h" |
| 11 #include "base/values.h" |
| 12 #include "url/gurl.h" |
| 13 |
| 14 namespace net { |
| 15 |
| 16 ReportingReport::ReportingReport(const GURL& url, |
| 17 const std::string& group, |
| 18 const std::string& type, |
| 19 std::unique_ptr<const base::Value> body, |
| 20 base::TimeTicks queued, |
| 21 int attempts) |
| 22 : url(url), |
| 23 group(group), |
| 24 type(type), |
| 25 body(std::move(body)), |
| 26 queued(queued), |
| 27 attempts(attempts) {} |
| 28 |
| 29 ReportingReport::~ReportingReport() {} |
| 30 |
| 31 } // namespace net |
OLD | NEW |