naiveproxy/net/reporting/reporting_client.cc

29 lines
795 B
C++
Raw Normal View History

2018-02-02 13:49:39 +03:00
// 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