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

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

Issue 2160913005: Use a ThreadChecker in DeviceSensorHost instead of DCHECK_CURRENTLY_ON. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months 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/device_sensor_host.h
diff --git a/content/browser/device_sensors/device_sensor_host.h b/content/browser/device_sensors/device_sensor_host.h
index 9ab73649cc1e8747ac7602942a92769d4ccb2283..2332140196a4185cdc34d45fa712d62bb5e95cb1 100644
--- a/content/browser/device_sensors/device_sensor_host.h
+++ b/content/browser/device_sensors/device_sensor_host.h
@@ -36,6 +36,8 @@ class DeviceSensorHost : public MojoInterface {
mojo::StrongBinding<MojoInterface> binding_;
+ base::ThreadChecker thread_checker_;
+
DISALLOW_COPY_AND_ASSIGN(DeviceSensorHost);
};
« no previous file with comments | « content/browser/device_sensors/device_sensor_browsertest.cc ('k') | content/browser/device_sensors/device_sensor_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698