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

Unified Diff: remoting/host/native_messaging/native_messaging_writer.cc

Issue 1547473005: Switch to standard integer types in remoting/host/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: remoting/host/native_messaging/native_messaging_writer.cc
diff --git a/remoting/host/native_messaging/native_messaging_writer.cc b/remoting/host/native_messaging/native_messaging_writer.cc
index 030cfd3f26adb3309579dd0011828e1f9b56aa82..f8d442a220318e86a10e0880e8c56ec9351f169c 100644
--- a/remoting/host/native_messaging/native_messaging_writer.cc
+++ b/remoting/host/native_messaging/native_messaging_writer.cc
@@ -4,15 +4,17 @@
#include "remoting/host/native_messaging/native_messaging_writer.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include <string>
-#include "base/basictypes.h"
#include "base/json/json_writer.h"
namespace {
// 4-byte type used for the message header.
-typedef uint32 MessageLengthType;
+typedef uint32_t MessageLengthType;
// Defined as an int, for passing to APIs that take an int, to avoid
// signed/unsigned warnings about implicit cast.

Powered by Google App Engine
This is Rietveld 408576698