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

Unified Diff: sync/internal_api/public/base/progress_marker_map.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/base/progress_marker_map.h
diff --git a/sync/internal_api/public/base/progress_marker_map.h b/sync/internal_api/public/base/progress_marker_map.h
index 29cc1de928b580423c7393618fb6a1c7a5b58c74..480814b904f366d60cc7634d69390974f8286360 100644
--- a/sync/internal_api/public/base/progress_marker_map.h
+++ b/sync/internal_api/public/base/progress_marker_map.h
@@ -8,9 +8,9 @@
#define SYNC_INTERNAL_API_PUBLIC_BASE_PROGRESS_MARKER_MAP_H_
#include <map>
+#include <memory>
#include <string>
-#include "base/memory/scoped_ptr.h"
#include "sync/base/sync_export.h"
#include "sync/internal_api/public/base/model_type.h"
@@ -27,7 +27,7 @@ namespace syncer {
// DataTypeProgressMarkers.
typedef std::map<ModelType, std::string> ProgressMarkerMap;
-SYNC_EXPORT scoped_ptr<base::DictionaryValue> ProgressMarkerMapToValue(
+SYNC_EXPORT std::unique_ptr<base::DictionaryValue> ProgressMarkerMapToValue(
const ProgressMarkerMap& marker_map);
} // namespace syncer

Powered by Google App Engine
This is Rietveld 408576698