Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(457)

Side by Side Diff: net/reporting/reporting_report.cc

Issue 2895253002: Reporting: Add missing #include <utility> (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/reporting/reporting_persister.cc ('k') | net/reporting/reporting_service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_report.h" 5 #include "net/reporting/reporting_report.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <string> 8 #include <string>
9 #include <utility>
9 10
10 #include "base/time/time.h" 11 #include "base/time/time.h"
11 #include "base/values.h" 12 #include "base/values.h"
12 #include "url/gurl.h" 13 #include "url/gurl.h"
13 14
14 namespace net { 15 namespace net {
15 16
16 ReportingReport::ReportingReport(const GURL& url, 17 ReportingReport::ReportingReport(const GURL& url,
17 const std::string& group, 18 const std::string& group,
18 const std::string& type, 19 const std::string& type,
19 std::unique_ptr<const base::Value> body, 20 std::unique_ptr<const base::Value> body,
20 base::TimeTicks queued, 21 base::TimeTicks queued,
21 int attempts) 22 int attempts)
22 : url(url), 23 : url(url),
23 group(group), 24 group(group),
24 type(type), 25 type(type),
25 body(std::move(body)), 26 body(std::move(body)),
26 queued(queued), 27 queued(queued),
27 attempts(attempts) {} 28 attempts(attempts) {}
28 29
29 ReportingReport::~ReportingReport() {} 30 ReportingReport::~ReportingReport() {}
30 31
31 } // namespace net 32 } // namespace net
OLDNEW
« no previous file with comments | « net/reporting/reporting_persister.cc ('k') | net/reporting/reporting_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698