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

Unified Diff: components/sync_driver/fake_generic_change_processor.h

Issue 1907683003: Convert //components/sync_driver 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: components/sync_driver/fake_generic_change_processor.h
diff --git a/components/sync_driver/fake_generic_change_processor.h b/components/sync_driver/fake_generic_change_processor.h
index 4eb69d4215079c3dc5e038d950b05a321b9014eb..0e9fbd472ca00ca93b3dc886f2196b5c875c62e4 100644
--- a/components/sync_driver/fake_generic_change_processor.h
+++ b/components/sync_driver/fake_generic_change_processor.h
@@ -47,9 +47,9 @@ class FakeGenericChangeProcessor : public GenericChangeProcessor {
class FakeGenericChangeProcessorFactory : public GenericChangeProcessorFactory {
public:
explicit FakeGenericChangeProcessorFactory(
- scoped_ptr<FakeGenericChangeProcessor> processor);
+ std::unique_ptr<FakeGenericChangeProcessor> processor);
~FakeGenericChangeProcessorFactory() override;
- scoped_ptr<GenericChangeProcessor> CreateGenericChangeProcessor(
+ std::unique_ptr<GenericChangeProcessor> CreateGenericChangeProcessor(
syncer::ModelType type,
syncer::UserShare* user_share,
DataTypeErrorHandler* error_handler,
@@ -58,7 +58,7 @@ class FakeGenericChangeProcessorFactory : public GenericChangeProcessorFactory {
SyncClient* sync_client) override;
private:
- scoped_ptr<FakeGenericChangeProcessor> processor_;
+ std::unique_ptr<FakeGenericChangeProcessor> processor_;
DISALLOW_COPY_AND_ASSIGN(FakeGenericChangeProcessorFactory);
};

Powered by Google App Engine
This is Rietveld 408576698