| Index: components/data_usage/core/data_use.cc
|
| diff --git a/components/data_usage/core/data_use.cc b/components/data_usage/core/data_use.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..565106a7db541cb7821e2abc6e2cfa7878c0b418
|
| --- /dev/null
|
| +++ b/components/data_usage/core/data_use.cc
|
| @@ -0,0 +1,24 @@
|
| +// Copyright 2015 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 "components/data_usage/core/data_use.h"
|
| +
|
| +namespace data_usage {
|
| +
|
| +DataUse::DataUse(const GURL& url,
|
| + const base::Time& request_time,
|
| + const GURL& first_party_for_cookies,
|
| + int tab_id,
|
| + net::NetworkChangeNotifier::ConnectionType connection_type,
|
| + int64_t tx_bytes,
|
| + int64_t rx_bytes)
|
| + : url(url),
|
| + request_time(request_time),
|
| + first_party_for_cookies(first_party_for_cookies),
|
| + tab_id(tab_id),
|
| + connection_type(connection_type),
|
| + tx_bytes(tx_bytes),
|
| + rx_bytes(rx_bytes) {}
|
| +
|
| +} // namespace data_usage
|
|
|