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

Unified Diff: content/browser/device_sensors/sensor_manager_android.h

Issue 2452083002: [Device Sensors] Remove BrowserThread knowledge (Closed)
Patch Set: Rebase Created 4 years, 1 month 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
Index: content/browser/device_sensors/sensor_manager_android.h
diff --git a/content/browser/device_sensors/sensor_manager_android.h b/content/browser/device_sensors/sensor_manager_android.h
index 01d9734782fc965aa38cf10abc3d92b38c4d305a..058b6eb1117433d3e6c545efecc8e0ad1796f779 100644
--- a/content/browser/device_sensors/sensor_manager_android.h
+++ b/content/browser/device_sensors/sensor_manager_android.h
@@ -10,6 +10,7 @@
#include "base/android/scoped_java_ref.h"
#include "base/macros.h"
#include "base/synchronization/lock.h"
+#include "base/threading/thread_checker.h"
#include "content/browser/device_sensors/device_sensors_consts.h"
#include "content/common/content_export.h"
#include "device/sensors/public/cpp/device_light_hardware_buffer.h"
@@ -147,6 +148,7 @@ class CONTENT_EXPORT SensorManagerAndroid {
base::Lock orientation_absolute_buffer_lock_;
bool is_shutdown_;
+ base::ThreadChecker thread_checker_;
DISALLOW_COPY_AND_ASSIGN(SensorManagerAndroid);
};
« no previous file with comments | « content/browser/device_sensors/device_sensor_host.cc ('k') | content/browser/device_sensors/sensor_manager_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698