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

Unified Diff: components/sync_driver/local_device_info_provider_mock.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
Index: components/sync_driver/local_device_info_provider_mock.h
diff --git a/components/sync_driver/local_device_info_provider_mock.h b/components/sync_driver/local_device_info_provider_mock.h
index 8ae2e60d61382186c4ba8f6e1e22cc19857b2a4b..fcbcb15f8ea43eae9915befb485cc1081eb4860e 100644
--- a/components/sync_driver/local_device_info_provider_mock.h
+++ b/components/sync_driver/local_device_info_provider_mock.h
@@ -34,16 +34,16 @@ class LocalDeviceInfoProviderMock
const std::string& cache_guid,
const std::string& signin_scoped_device_id,
const scoped_refptr<base::TaskRunner>& blocking_task_runner) override;
- scoped_ptr<Subscription> RegisterOnInitializedCallback(
+ std::unique_ptr<Subscription> RegisterOnInitializedCallback(
const base::Closure& callback) override;
- void Initialize(scoped_ptr<DeviceInfo> local_device_info);
+ void Initialize(std::unique_ptr<DeviceInfo> local_device_info);
void SetInitialized(bool is_initialized);
private:
bool is_initialized_;
- scoped_ptr<DeviceInfo> local_device_info_;
+ std::unique_ptr<DeviceInfo> local_device_info_;
base::CallbackList<void(void)> callback_list_;
};
« no previous file with comments | « components/sync_driver/local_device_info_provider_impl.cc ('k') | components/sync_driver/local_device_info_provider_mock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698