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

Side by Side Diff: device/bluetooth/bluez/bluetooth_adapter_profile_bluez_unittest.cc

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream Created 3 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 "device/bluetooth/bluez/bluetooth_adapter_profile_bluez.h" 5 #include "device/bluetooth/bluez/bluetooth_adapter_profile_bluez.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/message_loop/message_loop.h"
10 #include "base/run_loop.h" 11 #include "base/run_loop.h"
11 #include "base/test/scoped_task_environment.h" 12 #include "base/test/scoped_task_environment.h"
12 #include "device/bluetooth/bluetooth_adapter.h" 13 #include "device/bluetooth/bluetooth_adapter.h"
13 #include "device/bluetooth/bluetooth_adapter_factory.h" 14 #include "device/bluetooth/bluetooth_adapter_factory.h"
14 #include "device/bluetooth/bluetooth_uuid.h" 15 #include "device/bluetooth/bluetooth_uuid.h"
15 #include "device/bluetooth/bluez/bluetooth_adapter_bluez.h" 16 #include "device/bluetooth/bluez/bluetooth_adapter_bluez.h"
16 #include "device/bluetooth/dbus/bluetooth_profile_service_provider.h" 17 #include "device/bluetooth/dbus/bluetooth_profile_service_provider.h"
17 #include "device/bluetooth/dbus/bluez_dbus_manager.h" 18 #include "device/bluetooth/dbus/bluez_dbus_manager.h"
18 #include "device/bluetooth/dbus/fake_bluetooth_adapter_client.h" 19 #include "device/bluetooth/dbus/fake_bluetooth_adapter_client.h"
19 #include "device/bluetooth/dbus/fake_bluetooth_agent_manager_client.h" 20 #include "device/bluetooth/dbus/fake_bluetooth_agent_manager_client.h"
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 base::Unretained(this))); 380 base::Unretained(this)));
380 381
381 base::RunLoop().RunUntilIdle(); 382 base::RunLoop().RunUntilIdle();
382 383
383 EXPECT_FALSE(profile_user_ptr_); 384 EXPECT_FALSE(profile_user_ptr_);
384 EXPECT_EQ(0U, success_callback_count_); 385 EXPECT_EQ(0U, success_callback_count_);
385 EXPECT_EQ(2U, error_callback_count_); 386 EXPECT_EQ(2U, error_callback_count_);
386 } 387 }
387 388
388 } // namespace bluez 389 } // namespace bluez
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698