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

Unified Diff: remoting/host/desktop_session_win.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
« no previous file with comments | « remoting/host/desktop_session_win.h ('k') | remoting/host/desktop_shape_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/desktop_session_win.cc
diff --git a/remoting/host/desktop_session_win.cc b/remoting/host/desktop_session_win.cc
index f3c0881d6230be455fadd0dc13220e1a3fe19652..f9735463ea8fd229080a2a046239aa9fe9fafaa2 100644
--- a/remoting/host/desktop_session_win.cc
+++ b/remoting/host/desktop_session_win.cc
@@ -4,13 +4,14 @@
#include "remoting/host/desktop_session_win.h"
-#include <limits>
#include <sddl.h>
+#include <limits>
#include "base/base_switches.h"
#include "base/command_line.h"
#include "base/files/file_path.h"
#include "base/guid.h"
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
@@ -459,7 +460,7 @@ void DesktopSessionWin::TerminateSession() {
daemon_process()->CloseDesktopSession(id());
}
-void DesktopSessionWin::OnChannelConnected(int32 peer_pid) {
+void DesktopSessionWin::OnChannelConnected(int32_t peer_pid) {
DCHECK(caller_task_runner_->BelongsToCurrentThread());
ReportElapsedTime("channel connected");
@@ -502,7 +503,7 @@ void DesktopSessionWin::OnPermanentError(int exit_code) {
TerminateSession();
}
-void DesktopSessionWin::OnSessionAttached(uint32 session_id) {
+void DesktopSessionWin::OnSessionAttached(uint32_t session_id) {
DCHECK(caller_task_runner_->BelongsToCurrentThread());
DCHECK(!launcher_);
DCHECK(monitoring_notifications_);
« no previous file with comments | « remoting/host/desktop_session_win.h ('k') | remoting/host/desktop_shape_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698