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

Unified Diff: components/sync_driver/about_sync_util.cc

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/about_sync_util.h ('k') | components/sync_driver/about_sync_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync_driver/about_sync_util.cc
diff --git a/components/sync_driver/about_sync_util.cc b/components/sync_driver/about_sync_util.cc
index 337d6b40089628a61ff47c863830a0455934f97f..457728fd8a7d2d13f5a7ca033e17481beb7b8eee 100644
--- a/components/sync_driver/about_sync_util.cc
+++ b/components/sync_driver/about_sync_util.cc
@@ -242,11 +242,12 @@ std::string GetConnectionStatus(
// its contents. Most of the message consists of simple fields in about:sync
// which are grouped into sections and populated with the help of the SyncStat
// classes defined above.
-scoped_ptr<base::DictionaryValue> ConstructAboutInformation(
+std::unique_ptr<base::DictionaryValue> ConstructAboutInformation(
sync_driver::SyncService* service,
SigninManagerBase* signin,
version_info::Channel channel) {
- scoped_ptr<base::DictionaryValue> about_info(new base::DictionaryValue());
+ std::unique_ptr<base::DictionaryValue> about_info(
+ new base::DictionaryValue());
// 'details': A list of sections.
base::ListValue* stats_list = new base::ListValue();
« no previous file with comments | « components/sync_driver/about_sync_util.h ('k') | components/sync_driver/about_sync_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698