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

Unified Diff: components/sync_driver/fake_sync_service.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: Build fix, address feedback 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
« no previous file with comments | « components/sync_driver/fake_sync_client.cc ('k') | components/sync_driver/fake_sync_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync_driver/fake_sync_service.h
diff --git a/components/sync_driver/fake_sync_service.h b/components/sync_driver/fake_sync_service.h
index 5017e3fc6ef0b9112d2a9f8cc39f4153da7df094..4c76da32d88357e4f33629632e83d59277fda0a5 100644
--- a/components/sync_driver/fake_sync_service.h
+++ b/components/sync_driver/fake_sync_service.h
@@ -86,7 +86,7 @@ class FakeSyncService : public sync_driver::SyncService {
void RemoveTypeDebugInfoObserver(
syncer::TypeDebugInfoObserver* observer) override;
base::WeakPtr<syncer::JsController> GetJsController() override;
- void GetAllNodes(const base::Callback<void(scoped_ptr<base::ListValue>)>&
+ void GetAllNodes(const base::Callback<void(std::unique_ptr<base::ListValue>)>&
callback) override;
// DataTypeEncryptionHandler:
@@ -96,7 +96,7 @@ class FakeSyncService : public sync_driver::SyncService {
GoogleServiceAuthError error_;
GURL sync_service_url_;
std::string unrecoverable_error_message_;
- scoped_ptr<syncer::UserShare> user_share_;
+ std::unique_ptr<syncer::UserShare> user_share_;
};
} // namespace sync_driver
« no previous file with comments | « components/sync_driver/fake_sync_client.cc ('k') | components/sync_driver/fake_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698