summaryrefslogtreecommitdiffstats
path: root/content/browser/device_sensors
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/device_sensors')
-rw-r--r--content/browser/device_sensors/ambient_light_mac.h2
-rw-r--r--content/browser/device_sensors/data_fetcher_shared_memory.h2
-rw-r--r--content/browser/device_sensors/data_fetcher_shared_memory_base.cc3
-rw-r--r--content/browser/device_sensors/data_fetcher_shared_memory_base.h1
-rw-r--r--content/browser/device_sensors/data_fetcher_shared_memory_base_unittest.cc1
-rw-r--r--content/browser/device_sensors/data_fetcher_shared_memory_mac.cc2
-rw-r--r--content/browser/device_sensors/data_fetcher_shared_memory_win.cc1
-rw-r--r--content/browser/device_sensors/device_inertial_sensor_browsertest.cc1
-rw-r--r--content/browser/device_sensors/device_inertial_sensor_service.h2
-rw-r--r--content/browser/device_sensors/device_light_message_filter.h1
-rw-r--r--content/browser/device_sensors/device_motion_message_filter.h1
-rw-r--r--content/browser/device_sensors/device_orientation_message_filter.h1
-rw-r--r--content/browser/device_sensors/sensor_manager_android.h1
-rw-r--r--content/browser/device_sensors/sensor_manager_chromeos_unittest.cc1
14 files changed, 19 insertions, 1 deletions
diff --git a/content/browser/device_sensors/ambient_light_mac.h b/content/browser/device_sensors/ambient_light_mac.h
index 8d34e16..36eff8b 100644
--- a/content/browser/device_sensors/ambient_light_mac.h
+++ b/content/browser/device_sensors/ambient_light_mac.h
@@ -6,7 +6,9 @@
#define CONTENT_BROWSER_DEVICE_SENSORS_AMBIENT_LIGHT_MAC_H_
#include <IOKit/IOKitLib.h>
+#include <stdint.h>
+#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
namespace content {
diff --git a/content/browser/device_sensors/data_fetcher_shared_memory.h b/content/browser/device_sensors/data_fetcher_shared_memory.h
index d98a02f..e1e97e3 100644
--- a/content/browser/device_sensors/data_fetcher_shared_memory.h
+++ b/content/browser/device_sensors/data_fetcher_shared_memory.h
@@ -5,6 +5,8 @@
#ifndef CONTENT_BROWSER_DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_H_
#define CONTENT_BROWSER_DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_H_
+#include "base/macros.h"
+#include "build/build_config.h"
#include "content/browser/device_sensors/data_fetcher_shared_memory_base.h"
#if !defined(OS_ANDROID)
diff --git a/content/browser/device_sensors/data_fetcher_shared_memory_base.cc b/content/browser/device_sensors/data_fetcher_shared_memory_base.cc
index 17efaa5..b3d993e 100644
--- a/content/browser/device_sensors/data_fetcher_shared_memory_base.cc
+++ b/content/browser/device_sensors/data_fetcher_shared_memory_base.cc
@@ -4,9 +4,12 @@
#include "content/browser/device_sensors/data_fetcher_shared_memory_base.h"
+#include <stddef.h>
+
#include "base/bind.h"
#include "base/location.h"
#include "base/logging.h"
+#include "base/macros.h"
#include "base/single_thread_task_runner.h"
#include "base/stl_util.h"
#include "base/threading/thread.h"
diff --git a/content/browser/device_sensors/data_fetcher_shared_memory_base.h b/content/browser/device_sensors/data_fetcher_shared_memory_base.h
index 954b62a..f36ad7c 100644
--- a/content/browser/device_sensors/data_fetcher_shared_memory_base.h
+++ b/content/browser/device_sensors/data_fetcher_shared_memory_base.h
@@ -7,6 +7,7 @@
#include <map>
+#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/shared_memory.h"
#include "base/message_loop/message_loop.h"
diff --git a/content/browser/device_sensors/data_fetcher_shared_memory_base_unittest.cc b/content/browser/device_sensors/data_fetcher_shared_memory_base_unittest.cc
index 8cc24c1..ea44220 100644
--- a/content/browser/device_sensors/data_fetcher_shared_memory_base_unittest.cc
+++ b/content/browser/device_sensors/data_fetcher_shared_memory_base_unittest.cc
@@ -5,6 +5,7 @@
#include "content/browser/device_sensors/data_fetcher_shared_memory_base.h"
#include "base/logging.h"
+#include "base/macros.h"
#include "base/process/process_handle.h"
#include "base/synchronization/waitable_event.h"
#include "base/threading/thread.h"
diff --git a/content/browser/device_sensors/data_fetcher_shared_memory_mac.cc b/content/browser/device_sensors/data_fetcher_shared_memory_mac.cc
index d15fca1..a9ab2ff 100644
--- a/content/browser/device_sensors/data_fetcher_shared_memory_mac.cc
+++ b/content/browser/device_sensors/data_fetcher_shared_memory_mac.cc
@@ -4,6 +4,8 @@
#include "content/browser/device_sensors/data_fetcher_shared_memory.h"
+#include <stdint.h>
+
#include "base/logging.h"
#include "base/metrics/histogram.h"
#include "content/browser/device_sensors/ambient_light_mac.h"
diff --git a/content/browser/device_sensors/data_fetcher_shared_memory_win.cc b/content/browser/device_sensors/data_fetcher_shared_memory_win.cc
index 7839f4e..709c25b 100644
--- a/content/browser/device_sensors/data_fetcher_shared_memory_win.cc
+++ b/content/browser/device_sensors/data_fetcher_shared_memory_win.cc
@@ -10,6 +10,7 @@
#include <Sensors.h>
#include "base/logging.h"
+#include "base/macros.h"
#include "base/metrics/histogram.h"
#include "base/win/iunknown_impl.h"
#include "base/win/windows_version.h"
diff --git a/content/browser/device_sensors/device_inertial_sensor_browsertest.cc b/content/browser/device_sensors/device_inertial_sensor_browsertest.cc
index 665b012..b5d09c5 100644
--- a/content/browser/device_sensors/device_inertial_sensor_browsertest.cc
+++ b/content/browser/device_sensors/device_inertial_sensor_browsertest.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "base/command_line.h"
+#include "base/macros.h"
#include "base/synchronization/waitable_event.h"
#include "base/threading/platform_thread.h"
#include "content/browser/device_sensors/data_fetcher_shared_memory.h"
diff --git a/content/browser/device_sensors/device_inertial_sensor_service.h b/content/browser/device_sensors/device_inertial_sensor_service.h
index 07456e1..f25abc6 100644
--- a/content/browser/device_sensors/device_inertial_sensor_service.h
+++ b/content/browser/device_sensors/device_inertial_sensor_service.h
@@ -5,8 +5,8 @@
#ifndef CONTENT_BROWSER_DEVICE_SENSORS_DEVICE_INERTIAL_SENSOR_SERVICE_H_
#define CONTENT_BROWSER_DEVICE_SENSORS_DEVICE_INERTIAL_SENSOR_SERVICE_H_
-#include "base/basictypes.h"
#include "base/callback_forward.h"
+#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/shared_memory.h"
#include "base/memory/singleton.h"
diff --git a/content/browser/device_sensors/device_light_message_filter.h b/content/browser/device_sensors/device_light_message_filter.h
index eb10bbf..5824693 100644
--- a/content/browser/device_sensors/device_light_message_filter.h
+++ b/content/browser/device_sensors/device_light_message_filter.h
@@ -5,6 +5,7 @@
#ifndef CONTENT_BROWSER_DEVICE_SENSORS_DEVICE_LIGHT_MESSAGE_FILTER_H_
#define CONTENT_BROWSER_DEVICE_SENSORS_DEVICE_LIGHT_MESSAGE_FILTER_H_
+#include "base/macros.h"
#include "content/public/browser/browser_message_filter.h"
namespace content {
diff --git a/content/browser/device_sensors/device_motion_message_filter.h b/content/browser/device_sensors/device_motion_message_filter.h
index ffe9ff7..36eb42a 100644
--- a/content/browser/device_sensors/device_motion_message_filter.h
+++ b/content/browser/device_sensors/device_motion_message_filter.h
@@ -5,6 +5,7 @@
#ifndef CONTENT_BROWSER_DEVICE_SENSORS_DEVICE_MOTION_MESSAGE_FILTER_H_
#define CONTENT_BROWSER_DEVICE_SENSORS_DEVICE_MOTION_MESSAGE_FILTER_H_
+#include "base/macros.h"
#include "content/public/browser/browser_message_filter.h"
namespace content {
diff --git a/content/browser/device_sensors/device_orientation_message_filter.h b/content/browser/device_sensors/device_orientation_message_filter.h
index acc772d..fb375d9 100644
--- a/content/browser/device_sensors/device_orientation_message_filter.h
+++ b/content/browser/device_sensors/device_orientation_message_filter.h
@@ -5,6 +5,7 @@
#ifndef CONTENT_BROWSER_DEVICE_SENSORS_DEVICE_ORIENTATION_MESSAGE_FILTER_H_
#define CONTENT_BROWSER_DEVICE_SENSORS_DEVICE_ORIENTATION_MESSAGE_FILTER_H_
+#include "base/macros.h"
#include "content/public/browser/browser_message_filter.h"
namespace content {
diff --git a/content/browser/device_sensors/sensor_manager_android.h b/content/browser/device_sensors/sensor_manager_android.h
index 3626aba..0eb2f6c 100644
--- a/content/browser/device_sensors/sensor_manager_android.h
+++ b/content/browser/device_sensors/sensor_manager_android.h
@@ -6,6 +6,7 @@
#define CONTENT_BROWSER_DEVICE_SENSORS_SENSOR_MANAGER_ANDROID_H_
#include "base/android/scoped_java_ref.h"
+#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "base/synchronization/lock.h"
#include "content/browser/device_sensors/device_sensors_consts.h"
diff --git a/content/browser/device_sensors/sensor_manager_chromeos_unittest.cc b/content/browser/device_sensors/sensor_manager_chromeos_unittest.cc
index 184a315..6d9f776 100644
--- a/content/browser/device_sensors/sensor_manager_chromeos_unittest.cc
+++ b/content/browser/device_sensors/sensor_manager_chromeos_unittest.cc
@@ -4,6 +4,7 @@
#include "content/browser/device_sensors/sensor_manager_chromeos.h"
+#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "chromeos/accelerometer/accelerometer_types.h"
#include "content/common/device_sensors/device_motion_hardware_buffer.h"