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

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

Issue 2708503002: Reporting: Implement cache. (Closed)
Patch Set: Make requested changes. Created 3 years, 9 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
OLDNEW
(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() {}
17
18 ReportingReport::ReportingReport(const GURL& url,
19 const std::string& group,
20 const std::string& type,
21 std::unique_ptr<const base::Value> body,
22 base::TimeTicks queued,
23 int attempts)
24 : url(url),
25 group(group),
26 type(type),
27 body(std::move(body)),
28 queued(queued),
29 attempts(attempts) {}
30
31 ReportingReport::~ReportingReport() {}
32
33 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698