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

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

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/bluetooth_connection_finder.h" 5 #include "components/proximity_auth/bluetooth_connection_finder.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/macros.h"
8 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
10 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
11 #include "base/run_loop.h" 12 #include "base/run_loop.h"
12 #include "base/time/time.h" 13 #include "base/time/time.h"
13 #include "components/proximity_auth/proximity_auth_test_util.h" 14 #include "components/proximity_auth/proximity_auth_test_util.h"
14 #include "components/proximity_auth/remote_device.h" 15 #include "components/proximity_auth/remote_device.h"
15 #include "components/proximity_auth/wire_message.h" 16 #include "components/proximity_auth/wire_message.h"
16 #include "device/bluetooth/bluetooth_adapter_factory.h" 17 #include "device/bluetooth/bluetooth_adapter_factory.h"
17 #include "device/bluetooth/bluetooth_uuid.h" 18 #include "device/bluetooth/bluetooth_uuid.h"
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 355
355 // Successfully connect to the Bluetooth device. 356 // Successfully connect to the Bluetooth device.
356 ON_CALL(*adapter_, GetDevice(kTestRemoteDeviceBluetoothAddress)) 357 ON_CALL(*adapter_, GetDevice(kTestRemoteDeviceBluetoothAddress))
357 .WillByDefault(Return(bluetooth_device_.get())); 358 .WillByDefault(Return(bluetooth_device_.get()));
358 MockConnection* connection = connection_finder_.ExpectCreateConnection(); 359 MockConnection* connection = connection_finder_.ExpectCreateConnection();
359 connection_finder_.seek_callback().Run(); 360 connection_finder_.seek_callback().Run();
360 SimulateDeviceConnection(connection); 361 SimulateDeviceConnection(connection);
361 } 362 }
362 363
363 } // namespace proximity_auth 364 } // namespace proximity_auth
OLDNEW
« no previous file with comments | « components/proximity_auth/bluetooth_connection.h ('k') | components/proximity_auth/bluetooth_connection_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698