OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 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 "components/data_usage/core/data_use.h" |
| 6 |
| 7 namespace data_usage { |
| 8 |
| 9 DataUse::DataUse(const GURL& url, |
| 10 const base::Time& request_time, |
| 11 const GURL& first_party_for_cookies, |
| 12 int32_t tab_id, |
| 13 net::NetworkChangeNotifier::ConnectionType connection_type, |
| 14 int64_t tx_bytes, |
| 15 int64_t rx_bytes) |
| 16 : url(url), |
| 17 request_time(request_time), |
| 18 first_party_for_cookies(first_party_for_cookies), |
| 19 tab_id(tab_id), |
| 20 connection_type(connection_type), |
| 21 tx_bytes(tx_bytes), |
| 22 rx_bytes(rx_bytes) {} |
| 23 |
| 24 } // namespace data_usage |
OLD | NEW |