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

Unified Diff: net/tools/gdig/gdig.cc

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef 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 | « net/tools/gdig/file_net_log.h ('k') | net/tools/get_server_time/get_server_time.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/gdig/gdig.cc
diff --git a/net/tools/gdig/gdig.cc b/net/tools/gdig/gdig.cc
index 42a746cf404c140d401c502fb703413885fe6bdd..982436849f018b602e63e94fc3859dfb26a27abe 100644
--- a/net/tools/gdig/gdig.cc
+++ b/net/tools/gdig/gdig.cc
@@ -6,7 +6,6 @@
#include <string>
#include "base/at_exit.h"
-#include "base/basictypes.h"
#include "base/bind.h"
#include "base/cancelable_callback.h"
#include "base/command_line.h"
@@ -57,7 +56,7 @@ bool StringToIPEndPoint(const std::string& ip_address_and_port,
if (!net::ParseIPLiteralToNumber(ip, &ip_number))
return false;
- *ip_end_point = net::IPEndPoint(ip_number, static_cast<uint16>(port));
+ *ip_end_point = net::IPEndPoint(ip_number, static_cast<uint16_t>(port));
return true;
}
@@ -152,7 +151,7 @@ bool LoadReplayLog(const base::FilePath& file_path, ReplayLog* replay_log) {
continue;
}
- int64 delta_in_milliseconds;
+ int64_t delta_in_milliseconds;
if (!base::StringToInt64(time_and_name[0], &delta_in_milliseconds)) {
fprintf(
stderr,
« no previous file with comments | « net/tools/gdig/file_net_log.h ('k') | net/tools/get_server_time/get_server_time.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698