Index: ios/chrome/browser/sync/ios_chrome_profile_sync_test_util.h |
diff --git a/ios/chrome/browser/sync/ios_chrome_profile_sync_test_util.h b/ios/chrome/browser/sync/ios_chrome_profile_sync_test_util.h |
index 4968ff8127be127179a5bfa73305b9bdc199fd17..3444237b8db4f585c831e3840c5c16e1e306da0b 100644 |
--- a/ios/chrome/browser/sync/ios_chrome_profile_sync_test_util.h |
+++ b/ios/chrome/browser/sync/ios_chrome_profile_sync_test_util.h |
@@ -5,7 +5,8 @@ |
#ifndef IOS_CHROME_BROWSER_SYNC_IOS_CHROME_PROFILE_SYNC_TEST_UTIL_H_ |
#define IOS_CHROME_BROWSER_SYNC_IOS_CHROME_PROFILE_SYNC_TEST_UTIL_H_ |
-#include "base/memory/scoped_ptr.h" |
+#include <memory> |
+ |
#include "components/browser_sync/browser/profile_sync_service.h" |
namespace ios { |
@@ -23,12 +24,12 @@ class BrowserState; |
// Helper method for constructing ProfileSyncService mocks. If |sync_client| |
// is null, a fresh one is created. |
ProfileSyncService::InitParams CreateProfileSyncServiceParamsForTest( |
- scoped_ptr<sync_driver::SyncClient> sync_client, |
+ std::unique_ptr<sync_driver::SyncClient> sync_client, |
ios::ChromeBrowserState* browser_state); |
// Helper routine to be used in conjunction with |
// BrowserStateKeyedServiceFactory::SetTestingFactory(). |
-scoped_ptr<KeyedService> BuildMockProfileSyncService( |
+std::unique_ptr<KeyedService> BuildMockProfileSyncService( |
web::BrowserState* context); |
#endif // IOS_CHROME_BROWSER_SYNC_IOS_CHROME_PROFILE_SYNC_TEST_UTIL_H_ |