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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: net/reporting/reporting_report.cc
diff --git a/net/reporting/reporting_report.cc b/net/reporting/reporting_report.cc
new file mode 100644
index 0000000000000000000000000000000000000000..24e571a8eef9b2ce84cf213738cd6397c1bd9733
--- /dev/null
+++ b/net/reporting/reporting_report.cc
@@ -0,0 +1,31 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "net/reporting/reporting_report.h"
+
+#include <memory>
+#include <string>
+
+#include "base/time/time.h"
+#include "base/values.h"
+#include "url/gurl.h"
+
+namespace net {
+
+ReportingReport::ReportingReport(const GURL& url,
+ const std::string& group,
+ const std::string& type,
+ std::unique_ptr<const base::Value> body,
+ base::TimeTicks queued,
+ int attempts)
+ : url(url),
+ group(group),
+ type(type),
+ body(std::move(body)),
+ queued(queued),
+ attempts(attempts) {}
+
+ReportingReport::~ReportingReport() {}
+
+} // namespace net

Powered by Google App Engine
This is Rietveld 408576698