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

Unified Diff: sync/internal_api/public/test/sync_manager_factory_for_profile_sync_test.h

Issue 1866243002: Convert //sync from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: sync/internal_api/public/test/sync_manager_factory_for_profile_sync_test.h
diff --git a/sync/internal_api/public/test/sync_manager_factory_for_profile_sync_test.h b/sync/internal_api/public/test/sync_manager_factory_for_profile_sync_test.h
index 613a848542daefd25e93d0a3d84f587f9d6e7151..86d1965eb8b7014db93358b712349972402f6b1c 100644
--- a/sync/internal_api/public/test/sync_manager_factory_for_profile_sync_test.h
+++ b/sync/internal_api/public/test/sync_manager_factory_for_profile_sync_test.h
@@ -5,10 +5,10 @@
#ifndef SYNC_INTERNAL_API_PUBLIC_TEST_SYNC_MANAGER_FACTORY_FOR_PROFILE_SYNC_TEST_H_
#define SYNC_INTERNAL_API_PUBLIC_TEST_SYNC_MANAGER_FACTORY_FOR_PROFILE_SYNC_TEST_H_
+#include <memory>
#include <string>
#include "base/callback.h"
-#include "base/memory/scoped_ptr.h"
#include "sync/internal_api/public/sync_manager_factory.h"
namespace syncer {
@@ -17,7 +17,7 @@ class SyncManagerFactoryForProfileSyncTest : public syncer::SyncManagerFactory {
public:
explicit SyncManagerFactoryForProfileSyncTest(base::Closure init_callback);
~SyncManagerFactoryForProfileSyncTest() override;
- scoped_ptr<syncer::SyncManager> CreateSyncManager(
+ std::unique_ptr<syncer::SyncManager> CreateSyncManager(
const std::string& name) override;
private:

Powered by Google App Engine
This is Rietveld 408576698