OLD | NEW |
---|---|
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef COMPONENTS_DATA_USAGE_CORE_DATA_USE_H_ | 5 #ifndef COMPONENTS_DATA_USAGE_CORE_DATA_USE_H_ |
6 #define COMPONENTS_DATA_USAGE_CORE_DATA_USE_H_ | 6 #define COMPONENTS_DATA_USAGE_CORE_DATA_USE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 30 matching lines...) Expand all Loading... | |
41 net::NetworkChangeNotifier::ConnectionType connection_type; | 41 net::NetworkChangeNotifier::ConnectionType connection_type; |
42 // MCC+MNC (mobile country code + mobile network code) of the provider of the | 42 // MCC+MNC (mobile country code + mobile network code) of the provider of the |
43 // SIM when the network traffic was exchanged. Set to empty string if SIM is | 43 // SIM when the network traffic was exchanged. Set to empty string if SIM is |
44 // not present. |mcc_mnc| is set even if data was not exchanged on the | 44 // not present. |mcc_mnc| is set even if data was not exchanged on the |
45 // cellular network. For dual SIM phones, this is set to the MCC/MNC of the | 45 // cellular network. For dual SIM phones, this is set to the MCC/MNC of the |
46 // SIM in slot 0. | 46 // SIM in slot 0. |
47 std::string mcc_mnc; | 47 std::string mcc_mnc; |
48 | 48 |
49 int64_t tx_bytes; | 49 int64_t tx_bytes; |
50 int64_t rx_bytes; | 50 int64_t rx_bytes; |
51 | |
52 // TODO in this CL: remove these debug members. | |
bengr
2015/11/10 18:12:50
Remove them.
sclittle
2015/11/11 02:10:08
Done.
| |
53 int64_t before_tx_bytes; | |
54 int64_t before_rx_bytes; | |
55 base::TimeTicks created_ticks; | |
51 }; | 56 }; |
52 | 57 |
53 } // namespace data_usage | 58 } // namespace data_usage |
54 | 59 |
55 #endif // COMPONENTS_DATA_USAGE_CORE_DATA_USE_H_ | 60 #endif // COMPONENTS_DATA_USAGE_CORE_DATA_USE_H_ |
OLD | NEW |