shill: Use integer types from stdint.h
This CL replaces the deprecated int* and uint* types from
'base/basictypes.h' with the int*_t and uint*_t types from 'stdint.h'.
BUG=chromium:401356
TEST=`USE='cellular gdmwimax wimax' FEATURES=test emerge-$BOARD platform2`
Change-Id: I3d4c195881203dd2a47dbb5af150b6c90b9c206e
Reviewed-on: https://chromium-review.googlesource.com/211770
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Ben Chan <benchan@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
diff --git a/connection_health_checker.h b/connection_health_checker.h
index 0ca2685..38a7229 100644
--- a/connection_health_checker.h
+++ b/connection_health_checker.h
@@ -119,7 +119,7 @@
void set_num_successful_sends(int16_t val) {
num_successful_sends_ = val;
}
- void set_old_transmit_queue_value(uint64 val) {
+ void set_old_transmit_queue_value(uint64_t val) {
old_transmit_queue_value_ = val;
}
Result health_check_result() const { return health_check_result_; }
@@ -154,7 +154,7 @@
static const int kMinSuccessfulSendAttempts;
// Number of DNS queries to be spawned when a new remote URL is added.
static const int kNumDNSQueries;
- static const uint16 kRemotePort;
+ static const uint16_t kRemotePort;
// Time to wait before testing successful data transfer / disconnect after
// request is made on the device.
static const int kTCPStateUpdateWaitMilliseconds;
@@ -205,7 +205,7 @@
// Store the old value of the transmit queue to verify that data sent on the
// connection is actually transmitted.
- uint64 old_transmit_queue_value_;
+ uint64_t old_transmit_queue_value_;
// Callback to post a delayed check on whether data sent on the TCP connection
// was successfully transmitted.
base::CancelableClosure verify_sent_data_callback_;