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

Side by Side Diff: components/proximity_auth/proximity_monitor_impl_unittest.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 <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/test/histogram_tester.h" 13 #include "base/test/histogram_tester.h"
14 #include "base/test/simple_test_tick_clock.h" 14 #include "base/test/simple_test_tick_clock.h"
15 #include "base/test/test_simple_task_runner.h" 15 #include "base/test/test_simple_task_runner.h"
16 #include "base/thread_task_runner_handle.h" 16 #include "base/threading/thread_task_runner_handle.h"
17 #include "base/time/time.h" 17 #include "base/time/time.h"
18 #include "components/proximity_auth/logging/logging.h" 18 #include "components/proximity_auth/logging/logging.h"
19 #include "components/proximity_auth/proximity_monitor_observer.h" 19 #include "components/proximity_auth/proximity_monitor_observer.h"
20 #include "components/proximity_auth/remote_device.h" 20 #include "components/proximity_auth/remote_device.h"
21 #include "device/bluetooth/bluetooth_adapter_factory.h" 21 #include "device/bluetooth/bluetooth_adapter_factory.h"
22 #include "device/bluetooth/test/mock_bluetooth_adapter.h" 22 #include "device/bluetooth/test/mock_bluetooth_adapter.h"
23 #include "testing/gmock/include/gmock/gmock.h" 23 #include "testing/gmock/include/gmock/gmock.h"
24 #include "testing/gtest/include/gtest/gtest.h" 24 #include "testing/gtest/include/gtest/gtest.h"
25 25
26 using device::BluetoothDevice; 26 using device::BluetoothDevice;
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 "EasyUnlock.AuthProximity.TransmitPowerDelta", 127, 1); 559 "EasyUnlock.AuthProximity.TransmitPowerDelta", 127, 1);
560 histogram_tester.ExpectUniqueSample( 560 histogram_tester.ExpectUniqueSample(
561 "EasyUnlock.AuthProximity.TimeSinceLastZeroRssi", 561 "EasyUnlock.AuthProximity.TimeSinceLastZeroRssi",
562 base::TimeDelta::FromSeconds(10).InMilliseconds(), 1); 562 base::TimeDelta::FromSeconds(10).InMilliseconds(), 1);
563 histogram_tester.ExpectUniqueSample( 563 histogram_tester.ExpectUniqueSample(
564 "EasyUnlock.AuthProximity.RemoteDeviceModelHash", 564 "EasyUnlock.AuthProximity.RemoteDeviceModelHash",
565 -1808066424 /* hash of "Unknown" */, 1); 565 -1808066424 /* hash of "Unknown" */, 1);
566 } 566 }
567 567
568 } // namespace proximity_auth 568 } // namespace proximity_auth
OLDNEW
« no previous file with comments | « components/proximity_auth/proximity_monitor_impl.cc ('k') | components/proximity_auth/remote_device_life_cycle_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698