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

Unified Diff: remoting/host/win/wts_terminal_monitor.h

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/win/wts_session_process_delegate.cc ('k') | remoting/host/win/wts_terminal_monitor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/win/wts_terminal_monitor.h
diff --git a/remoting/host/win/wts_terminal_monitor.h b/remoting/host/win/wts_terminal_monitor.h
index c3b597812dd72b5b45782960481efa0b2bd40687..c5a355eaf0e8ef16fe6dcaafc9589610645e05c3 100644
--- a/remoting/host/win/wts_terminal_monitor.h
+++ b/remoting/host/win/wts_terminal_monitor.h
@@ -5,9 +5,11 @@
#ifndef REMOTING_HOST_WIN_WTS_TERMINAL_MONITOR_H_
#define REMOTING_HOST_WIN_WTS_TERMINAL_MONITOR_H_
+#include <stdint.h>
+
#include <string>
-#include "base/basictypes.h"
+#include "base/macros.h"
#include "base/strings/utf_string_conversions.h"
namespace remoting {
@@ -15,7 +17,7 @@ namespace remoting {
class WtsTerminalObserver;
// Session id that does not represent any session.
-extern const uint32 kInvalidSessionId;
+extern const uint32_t kInvalidSessionId;
class WtsTerminalMonitor {
public:
@@ -40,12 +42,12 @@ class WtsTerminalMonitor {
// Returns ID of the terminal connected to |session_id| in |*terminal_id|.
// Returns false if |session_id| is not attached to the physical console or
// does not have an assigned terminal ID.
- static bool LookupTerminalId(uint32 session_id, std::string* terminal_id);
+ static bool LookupTerminalId(uint32_t session_id, std::string* terminal_id);
// Returns ID of the session that |terminal_id| is attached.
// |kInvalidSessionId| is returned if none of the sessions is currently
// attahced to |client_endpoint|.
- static uint32 LookupSessionId(const std::string& terminal_id);
+ static uint32_t LookupSessionId(const std::string& terminal_id);
protected:
WtsTerminalMonitor();
« no previous file with comments | « remoting/host/win/wts_session_process_delegate.cc ('k') | remoting/host/win/wts_terminal_monitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698