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

Side by Side Diff: components/proximity_auth/proximity_monitor_impl.cc

Issue 1970833002: Fix include path for moved thread_task_runner_handle.h header in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393009 Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/proximity_auth/proximity_monitor_impl.h" 5 #include "components/proximity_auth/proximity_monitor_impl.h"
6 6
7 #include <math.h> 7 #include <math.h>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/location.h" 11 #include "base/location.h"
12 #include "base/thread_task_runner_handle.h" 12 #include "base/threading/thread_task_runner_handle.h"
13 #include "base/time/tick_clock.h" 13 #include "base/time/tick_clock.h"
14 #include "base/time/time.h" 14 #include "base/time/time.h"
15 #include "components/proximity_auth/logging/logging.h" 15 #include "components/proximity_auth/logging/logging.h"
16 #include "components/proximity_auth/metrics.h" 16 #include "components/proximity_auth/metrics.h"
17 #include "components/proximity_auth/proximity_monitor_observer.h" 17 #include "components/proximity_auth/proximity_monitor_observer.h"
18 #include "device/bluetooth/bluetooth_adapter.h" 18 #include "device/bluetooth/bluetooth_adapter.h"
19 #include "device/bluetooth/bluetooth_adapter_factory.h" 19 #include "device/bluetooth/bluetooth_adapter_factory.h"
20 20
21 using device::BluetoothDevice; 21 using device::BluetoothDevice;
22 22
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 if (remote_device_is_in_proximity_ != is_now_in_proximity) { 272 if (remote_device_is_in_proximity_ != is_now_in_proximity) {
273 PA_LOG(INFO) << "[Proximity] Updated proximity state: " 273 PA_LOG(INFO) << "[Proximity] Updated proximity state: "
274 << (is_now_in_proximity ? "proximate" : "distant"); 274 << (is_now_in_proximity ? "proximate" : "distant");
275 remote_device_is_in_proximity_ = is_now_in_proximity; 275 remote_device_is_in_proximity_ = is_now_in_proximity;
276 FOR_EACH_OBSERVER(ProximityMonitorObserver, observers_, 276 FOR_EACH_OBSERVER(ProximityMonitorObserver, observers_,
277 OnProximityStateChanged()); 277 OnProximityStateChanged());
278 } 278 }
279 } 279 }
280 280
281 } // namespace proximity_auth 281 } // namespace proximity_auth
OLDNEW
« no previous file with comments | « components/proximity_auth/proximity_auth_system.cc ('k') | components/proximity_auth/proximity_monitor_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698