| Index: device/bluetooth/dbus/bluetooth_gatt_application_service_provider_unittest.cc
|
| diff --git a/device/bluetooth/dbus/bluetooth_gatt_application_service_provider_unittest.cc b/device/bluetooth/dbus/bluetooth_gatt_application_service_provider_unittest.cc
|
| index fecb8fe5792bb147b53664fefa475f15baab41ae..da236c3fa162efe1c2030d587e8f9f6f42c6c467 100644
|
| --- a/device/bluetooth/dbus/bluetooth_gatt_application_service_provider_unittest.cc
|
| +++ b/device/bluetooth/dbus/bluetooth_gatt_application_service_provider_unittest.cc
|
| @@ -293,9 +293,9 @@ class BluetoothGattApplicationServiceProviderTest : public testing::Test {
|
| const std::string& full_service_path =
|
| std::string(kAppObjectPath) + "/" + service_path;
|
| app_provider->service_providers_.push_back(
|
| - base::WrapUnique(new BluetoothGattServiceServiceProviderImpl(
|
| + base::MakeUnique<BluetoothGattServiceServiceProviderImpl>(
|
| nullptr, dbus::ObjectPath(full_service_path), kFakeServiceUuid,
|
| - true, std::vector<dbus::ObjectPath>())));
|
| + true, std::vector<dbus::ObjectPath>()));
|
| return full_service_path;
|
| }
|
|
|
| @@ -350,9 +350,9 @@ class BluetoothGattApplicationServiceProviderTest : public testing::Test {
|
|
|
| TEST_F(BluetoothGattApplicationServiceProviderTest, GetManagedObjects) {
|
| std::unique_ptr<BluetoothGattApplicationServiceProviderImpl> app_provider =
|
| - base::WrapUnique(new BluetoothGattApplicationServiceProviderImpl(
|
| + base::MakeUnique<BluetoothGattApplicationServiceProviderImpl>(
|
| nullptr, dbus::ObjectPath(kAppObjectPath),
|
| - std::map<dbus::ObjectPath, BluetoothLocalGattServiceBlueZ*>()));
|
| + std::map<dbus::ObjectPath, BluetoothLocalGattServiceBlueZ*>());
|
| CreateFakeAttributes(app_provider.get());
|
|
|
| dbus::MethodCall method_call("com.example.Interface", "SomeMethod");
|
| @@ -364,9 +364,9 @@ TEST_F(BluetoothGattApplicationServiceProviderTest, GetManagedObjects) {
|
|
|
| TEST_F(BluetoothGattApplicationServiceProviderTest, SendValueChanged) {
|
| std::unique_ptr<BluetoothGattApplicationServiceProviderImpl> app_provider =
|
| - base::WrapUnique(new BluetoothGattApplicationServiceProviderImpl(
|
| + base::MakeUnique<BluetoothGattApplicationServiceProviderImpl>(
|
| nullptr, dbus::ObjectPath(kAppObjectPath),
|
| - std::map<dbus::ObjectPath, BluetoothLocalGattServiceBlueZ*>()));
|
| + std::map<dbus::ObjectPath, BluetoothLocalGattServiceBlueZ*>());
|
| const std::string& kServicePath =
|
| CreateFakeService(app_provider.get(), "service0");
|
| const std::string& kCharacteristicPath = CreateFakeCharacteristic(
|
|
|