| Index: chrome/browser/extensions/api/signed_in_devices/signed_in_devices_manager_unittest.cc
|
| diff --git a/chrome/browser/extensions/api/signed_in_devices/signed_in_devices_manager_unittest.cc b/chrome/browser/extensions/api/signed_in_devices/signed_in_devices_manager_unittest.cc
|
| index 43f1634c840157d7b053acfcd2a2c39f9611a9c8..0ed8808fbe20e00dd0992811e37f7720ed36bd07 100644
|
| --- a/chrome/browser/extensions/api/signed_in_devices/signed_in_devices_manager_unittest.cc
|
| +++ b/chrome/browser/extensions/api/signed_in_devices/signed_in_devices_manager_unittest.cc
|
| @@ -2,8 +2,10 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "chrome/browser/extensions/api/signed_in_devices/signed_in_devices_manager.h"
|
| +
|
| +#include <memory>
|
| +
|
| #include "chrome/browser/signin/signin_manager_factory.h"
|
| #include "chrome/browser/sync/profile_sync_service_factory.h"
|
| #include "chrome/common/extensions/api/signed_in_devices.h"
|
| @@ -22,7 +24,7 @@ namespace extensions {
|
| // Adds a listener and removes it.
|
| TEST(SignedInDevicesManager, UpdateListener) {
|
| content::TestBrowserThreadBundle thread_bundle;
|
| - scoped_ptr<TestingProfile> profile(new TestingProfile());
|
| + std::unique_ptr<TestingProfile> profile(new TestingProfile());
|
| SigninManagerFactory::GetForProfile(profile.get())->
|
| SetAuthenticatedAccountInfo("gaia_id", "foo");
|
| ProfileSyncServiceFactory::GetInstance()->SetTestingFactory(profile.get(),
|
|
|