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

Unified Diff: net/reporting/reporting_client.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_client.cc
diff --git a/net/reporting/reporting_client.cc b/net/reporting/reporting_client.cc
new file mode 100644
index 0000000000000000000000000000000000000000..d8c8a0f35b7cc4ca170b109735cc7888accad8be
--- /dev/null
+++ b/net/reporting/reporting_client.cc
@@ -0,0 +1,28 @@
+// 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_client.h"
+
+#include <string>
+
+#include "base/time/time.h"
+#include "url/gurl.h"
+#include "url/origin.h"
+
+namespace net {
+
+ReportingClient::ReportingClient(const url::Origin& origin,
+ const GURL& endpoint,
+ Subdomains subdomains,
+ const std::string& group,
+ base::TimeTicks expires)
+ : origin(origin),
+ endpoint(endpoint),
+ subdomains(subdomains),
+ group(group),
+ expires(expires) {}
+
+ReportingClient::~ReportingClient() {}
+
+} // namespace net

Powered by Google App Engine
This is Rietveld 408576698