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

Unified Diff: remoting/host/desktop_process_unittest.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_process_main.cc ('k') | remoting/host/desktop_resizer_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/desktop_process_unittest.cc
diff --git a/remoting/host/desktop_process_unittest.cc b/remoting/host/desktop_process_unittest.cc
index 0886c4c61bc0b4cc4ff519a6702cc09064e7b125..317ffc420e4be32b6a8c15adc04bd655a756be46 100644
--- a/remoting/host/desktop_process_unittest.cc
+++ b/remoting/host/desktop_process_unittest.cc
@@ -4,13 +4,17 @@
#include "remoting/host/desktop_process.h"
+#include <stdint.h>
+
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/location.h"
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/message_loop/message_loop.h"
#include "base/run_loop.h"
#include "base/single_thread_task_runner.h"
+#include "build/build_config.h"
#include "ipc/ipc_channel.h"
#include "ipc/ipc_channel_proxy.h"
#include "ipc/ipc_listener.h"
@@ -46,7 +50,7 @@ class MockDaemonListener : public IPC::Listener {
bool OnMessageReceived(const IPC::Message& message) override;
MOCK_METHOD1(OnDesktopAttached, void(IPC::PlatformFileForTransit));
- MOCK_METHOD1(OnChannelConnected, void(int32));
+ MOCK_METHOD1(OnChannelConnected, void(int32_t));
MOCK_METHOD0(OnChannelError, void());
private:
@@ -60,7 +64,7 @@ class MockNetworkListener : public IPC::Listener {
bool OnMessageReceived(const IPC::Message& message) override;
- MOCK_METHOD1(OnChannelConnected, void(int32));
+ MOCK_METHOD1(OnChannelConnected, void(int32_t));
MOCK_METHOD0(OnChannelError, void());
MOCK_METHOD0(OnDesktopEnvironmentCreated, void());
« no previous file with comments | « remoting/host/desktop_process_main.cc ('k') | remoting/host/desktop_resizer_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698