summaryrefslogtreecommitdiffstats
path: root/remoting/host/it2me
diff options
context:
space:
mode:
authoravi <avi@chromium.org>2015-12-22 14:49:48 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-22 22:50:51 +0000
commitc5960f3143870ec1fbb1dd7280238b324c49c694 (patch)
tree0f0acfc895b17661165ee5770c50ac006fdd33b4 /remoting/host/it2me
parent89572b9c9defce673e0ec094b14a0bc9bbe9b8db (diff)
downloadchromium_src-c5960f3143870ec1fbb1dd7280238b324c49c694.zip
chromium_src-c5960f3143870ec1fbb1dd7280238b324c49c694.tar.gz
chromium_src-c5960f3143870ec1fbb1dd7280238b324c49c694.tar.bz2
Switch to standard integer types in remoting/host/.
BUG=138542 TBR=wez@chromium.org Review URL: https://codereview.chromium.org/1547473005 Cr-Commit-Position: refs/heads/master@{#366676}
Diffstat (limited to 'remoting/host/it2me')
-rw-r--r--remoting/host/it2me/it2me_confirmation_dialog.cc1
-rw-r--r--remoting/host/it2me/it2me_confirmation_dialog.h2
-rw-r--r--remoting/host/it2me/it2me_confirmation_dialog_chromeos.cc1
-rw-r--r--remoting/host/it2me/it2me_confirmation_dialog_proxy.cc1
-rw-r--r--remoting/host/it2me/it2me_confirmation_dialog_proxy.h1
-rw-r--r--remoting/host/it2me/it2me_host.cc2
-rw-r--r--remoting/host/it2me/it2me_host.h1
-rw-r--r--remoting/host/it2me/it2me_native_messaging_host.cc2
-rw-r--r--remoting/host/it2me/it2me_native_messaging_host.h2
-rw-r--r--remoting/host/it2me/it2me_native_messaging_host_main.cc1
-rw-r--r--remoting/host/it2me/it2me_native_messaging_host_unittest.cc8
11 files changed, 17 insertions, 5 deletions
diff --git a/remoting/host/it2me/it2me_confirmation_dialog.cc b/remoting/host/it2me/it2me_confirmation_dialog.cc
index c62eb21..503c4c8 100644
--- a/remoting/host/it2me/it2me_confirmation_dialog.cc
+++ b/remoting/host/it2me/it2me_confirmation_dialog.cc
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "build/build_config.h"
#include "remoting/host/it2me/it2me_confirmation_dialog.h"
namespace remoting {
diff --git a/remoting/host/it2me/it2me_confirmation_dialog.h b/remoting/host/it2me/it2me_confirmation_dialog.h
index 1f8b55b..c6b251c 100644
--- a/remoting/host/it2me/it2me_confirmation_dialog.h
+++ b/remoting/host/it2me/it2me_confirmation_dialog.h
@@ -5,8 +5,8 @@
#ifndef REMOTING_HOST_IT2ME_IT2ME_CONFIRMATION_DIALOG_H_
#define REMOTING_HOST_IT2ME_IT2ME_CONFIRMATION_DIALOG_H_
-#include "base/basictypes.h"
#include "base/callback_forward.h"
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/single_thread_task_runner.h"
diff --git a/remoting/host/it2me/it2me_confirmation_dialog_chromeos.cc b/remoting/host/it2me/it2me_confirmation_dialog_chromeos.cc
index 603df550..4f3d570 100644
--- a/remoting/host/it2me/it2me_confirmation_dialog_chromeos.cc
+++ b/remoting/host/it2me/it2me_confirmation_dialog_chromeos.cc
@@ -5,6 +5,7 @@
#include "base/bind.h"
#include "base/callback_helpers.h"
#include "base/location.h"
+#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "base/single_thread_task_runner.h"
#include "base/thread_task_runner_handle.h"
diff --git a/remoting/host/it2me/it2me_confirmation_dialog_proxy.cc b/remoting/host/it2me/it2me_confirmation_dialog_proxy.cc
index 0e26b7d..00efc95 100644
--- a/remoting/host/it2me/it2me_confirmation_dialog_proxy.cc
+++ b/remoting/host/it2me/it2me_confirmation_dialog_proxy.cc
@@ -7,6 +7,7 @@
#include "base/bind.h"
#include "base/callback_helpers.h"
#include "base/location.h"
+#include "base/macros.h"
#include "base/thread_task_runner_handle.h"
namespace remoting {
diff --git a/remoting/host/it2me/it2me_confirmation_dialog_proxy.h b/remoting/host/it2me/it2me_confirmation_dialog_proxy.h
index 01b71eb..56a1817 100644
--- a/remoting/host/it2me/it2me_confirmation_dialog_proxy.h
+++ b/remoting/host/it2me/it2me_confirmation_dialog_proxy.h
@@ -6,6 +6,7 @@
#define REMOTING_HOST_IT2ME_IT2ME_CONFIRMATION_DIALOG_PROXY_H_
#include "base/callback.h"
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
#include "base/single_thread_task_runner.h"
diff --git a/remoting/host/it2me/it2me_host.cc b/remoting/host/it2me/it2me_host.cc
index 70dcfb2..1fea411 100644
--- a/remoting/host/it2me/it2me_host.cc
+++ b/remoting/host/it2me/it2me_host.cc
@@ -4,6 +4,8 @@
#include "remoting/host/it2me/it2me_host.h"
+#include <stddef.h>
+
#include "base/bind.h"
#include "base/callback_helpers.h"
#include "base/strings/string_util.h"
diff --git a/remoting/host/it2me/it2me_host.h b/remoting/host/it2me/it2me_host.h
index 0619dd6..aedb9ba 100644
--- a/remoting/host/it2me/it2me_host.h
+++ b/remoting/host/it2me/it2me_host.h
@@ -5,6 +5,7 @@
#ifndef REMOTING_HOST_IT2ME_IT2ME_HOST_H_
#define REMOTING_HOST_IT2ME_IT2ME_HOST_H_
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
diff --git a/remoting/host/it2me/it2me_native_messaging_host.cc b/remoting/host/it2me/it2me_native_messaging_host.cc
index 6e8fe17..ad171fd 100644
--- a/remoting/host/it2me/it2me_native_messaging_host.cc
+++ b/remoting/host/it2me/it2me_native_messaging_host.cc
@@ -6,7 +6,6 @@
#include <string>
-#include "base/basictypes.h"
#include "base/bind.h"
#include "base/callback.h"
#include "base/json/json_reader.h"
@@ -16,6 +15,7 @@
#include "base/strings/stringize_macros.h"
#include "base/threading/thread.h"
#include "base/values.h"
+#include "build/build_config.h"
#include "net/base/net_util.h"
#include "net/url_request/url_request_context_getter.h"
#include "remoting/base/service_urls.h"
diff --git a/remoting/host/it2me/it2me_native_messaging_host.h b/remoting/host/it2me/it2me_native_messaging_host.h
index f104f1d..ef84904 100644
--- a/remoting/host/it2me/it2me_native_messaging_host.h
+++ b/remoting/host/it2me/it2me_native_messaging_host.h
@@ -5,9 +5,11 @@
#ifndef REMOTING_HOST_IT2ME_IT2ME_NATIVE_MESSAGING_HOST_H_
#define REMOTING_HOST_IT2ME_IT2ME_NATIVE_MESSAGING_HOST_H_
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
+#include "build/build_config.h"
#include "extensions/browser/api/messaging/native_message_host.h"
#include "remoting/base/auto_thread_task_runner.h"
#include "remoting/host/chromoting_host_context.h"
diff --git a/remoting/host/it2me/it2me_native_messaging_host_main.cc b/remoting/host/it2me/it2me_native_messaging_host_main.cc
index e0f9349..0fb94c8 100644
--- a/remoting/host/it2me/it2me_native_messaging_host_main.cc
+++ b/remoting/host/it2me/it2me_native_messaging_host_main.cc
@@ -9,6 +9,7 @@
#include "base/i18n/icu_util.h"
#include "base/message_loop/message_loop.h"
#include "base/run_loop.h"
+#include "build/build_config.h"
#include "net/socket/ssl_server_socket.h"
#include "remoting/base/breakpad.h"
#include "remoting/host/chromoting_host_context.h"
diff --git a/remoting/host/it2me/it2me_native_messaging_host_unittest.cc b/remoting/host/it2me/it2me_native_messaging_host_unittest.cc
index c36bd61..aff8739 100644
--- a/remoting/host/it2me/it2me_native_messaging_host_unittest.cc
+++ b/remoting/host/it2me/it2me_native_messaging_host_unittest.cc
@@ -4,10 +4,12 @@
#include "remoting/host/it2me/it2me_native_messaging_host.h"
-#include "base/basictypes.h"
+#include <stdint.h>
+
#include "base/compiler_specific.h"
#include "base/json/json_reader.h"
#include "base/json/json_writer.h"
+#include "base/macros.h"
#include "base/message_loop/message_loop.h"
#include "base/run_loop.h"
#include "base/stl_util.h"
@@ -262,7 +264,7 @@ void It2MeNativeMessagingHostTest::TearDown() {
scoped_ptr<base::DictionaryValue>
It2MeNativeMessagingHostTest::ReadMessageFromOutputPipe() {
while (true) {
- uint32 length;
+ uint32_t length;
int read_result = output_read_file_.ReadAtCurrentPos(
reinterpret_cast<char*>(&length), sizeof(length));
if (read_result != sizeof(length)) {
@@ -301,7 +303,7 @@ void It2MeNativeMessagingHostTest::WriteMessageToInputPipe(
std::string message_json;
base::JSONWriter::Write(message, &message_json);
- uint32 length = message_json.length();
+ uint32_t length = message_json.length();
input_write_file_.WriteAtCurrentPos(reinterpret_cast<char*>(&length),
sizeof(length));
input_write_file_.WriteAtCurrentPos(message_json.data(), length);