Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: chromeos/network/network_device_handler_impl.cc

Issue 1540803002: Switch to standard integer types in chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/network/network_device_handler_impl.h ('k') | chromeos/network/network_device_handler_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/network_device_handler_impl.cc
diff --git a/chromeos/network/network_device_handler_impl.cc b/chromeos/network/network_device_handler_impl.cc
index 177fbcc32fb5d087fa36e747ecf3ae82471a5d1a..ccb560eafdf129bb2ccbe6038c576d28fa6ee873 100644
--- a/chromeos/network/network_device_handler_impl.cc
+++ b/chromeos/network/network_device_handler_impl.cc
@@ -4,6 +4,9 @@
#include "chromeos/network/network_device_handler_impl.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include "base/bind.h"
#include "base/location.h"
#include "base/single_thread_task_runner.h"
@@ -171,8 +174,8 @@ void TDLSSuccessCallback(
}
TDLSOperationParams new_params;
- const int64 kRequestStatusDelayMs = 500;
- int64 request_delay_ms = 0;
+ const int64_t kRequestStatusDelayMs = 500;
+ int64_t request_delay_ms = 0;
if (params.operation == shill::kTDLSStatusOperation) {
// If this is the last operation, or the result is 'Nonexistent',
// return the result.
@@ -228,7 +231,7 @@ void TDLSErrorCallback(
++retry_params.retry_count;
NET_LOG(EVENT) << "TDLS Retry: " << params.retry_count << ": "
<< device_path;
- const int64 kReRequestDelayMs = 1000;
+ const int64_t kReRequestDelayMs = 1000;
base::TimeDelta request_delay;
if (!DBusThreadManager::Get()->GetShillDeviceClient()->GetTestInterface())
request_delay = base::TimeDelta::FromMilliseconds(kReRequestDelayMs);
« no previous file with comments | « chromeos/network/network_device_handler_impl.h ('k') | chromeos/network/network_device_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698