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

Side by Side Diff: components/arc/bluetooth/arc_bluetooth_bridge_unittest.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/arc/bluetooth/arc_bluetooth_bridge.h" 5 #include "components/arc/bluetooth/arc_bluetooth_bridge.h"
6 6
7 #include <string> 7 #include <string>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/memory/ptr_util.h"
11 #include "base/message_loop/message_loop.h" 12 #include "base/message_loop/message_loop.h"
12 #include "base/run_loop.h" 13 #include "base/run_loop.h"
13 #include "base/strings/stringprintf.h" 14 #include "base/strings/stringprintf.h"
14 #include "components/arc/arc_bridge_service.h" 15 #include "components/arc/arc_bridge_service.h"
15 #include "components/arc/bluetooth/bluetooth_type_converters.h" 16 #include "components/arc/bluetooth/bluetooth_type_converters.h"
16 #include "components/arc/common/bluetooth.mojom.h" 17 #include "components/arc/common/bluetooth.mojom.h"
17 #include "components/arc/test/fake_bluetooth_instance.h" 18 #include "components/arc/test/fake_bluetooth_instance.h"
18 #include "device/bluetooth/dbus/bluez_dbus_manager.h" 19 #include "device/bluetooth/dbus/bluez_dbus_manager.h"
19 #include "device/bluetooth/dbus/fake_bluetooth_adapter_client.h" 20 #include "device/bluetooth/dbus/fake_bluetooth_adapter_client.h"
20 #include "device/bluetooth/dbus/fake_bluetooth_device_client.h" 21 #include "device/bluetooth/dbus/fake_bluetooth_device_client.h"
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 BroadcastAdvertisement(handle, std::move(adv_data)); 323 BroadcastAdvertisement(handle, std::move(adv_data));
323 EXPECT_EQ(mojom::BluetoothGattStatus::GATT_SUCCESS, status); 324 EXPECT_EQ(mojom::BluetoothGattStatus::GATT_SUCCESS, status);
324 EXPECT_EQ(1, NumActiveAdvertisements()); 325 EXPECT_EQ(1, NumActiveAdvertisements());
325 326
326 status = ReleaseAdvertisementHandle(handle); 327 status = ReleaseAdvertisementHandle(handle);
327 EXPECT_EQ(mojom::BluetoothGattStatus::GATT_SUCCESS, status); 328 EXPECT_EQ(mojom::BluetoothGattStatus::GATT_SUCCESS, status);
328 EXPECT_EQ(0, NumActiveAdvertisements()); 329 EXPECT_EQ(0, NumActiveAdvertisements());
329 } 330 }
330 331
331 } // namespace arc 332 } // namespace arc
OLDNEW
« no previous file with comments | « components/arc/bluetooth/arc_bluetooth_bridge.cc ('k') | components/arc/bluetooth/bluetooth_struct_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698