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

Unified Diff: sync/internal_api/public/change_record.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/change_record.h
diff --git a/sync/internal_api/public/change_record.h b/sync/internal_api/public/change_record.h
index 43d518aabb9e400706c78f4a83abc7b5f5601e97..dbc77127a595410ff9a5dd5a922c6822b5dd427f 100644
--- a/sync/internal_api/public/change_record.h
+++ b/sync/internal_api/public/change_record.h
@@ -7,10 +7,10 @@
#include <stdint.h>
+#include <memory>
#include <vector>
#include "base/memory/linked_ptr.h"
-#include "base/memory/scoped_ptr.h"
#include "sync/base/sync_export.h"
#include "sync/internal_api/public/util/immutable.h"
#include "sync/protocol/password_specifics.pb.h"
@@ -31,7 +31,7 @@ class SYNC_EXPORT ExtraPasswordChangeRecordData {
const sync_pb::PasswordSpecificsData& data);
virtual ~ExtraPasswordChangeRecordData();
- virtual scoped_ptr<base::DictionaryValue> ToValue() const;
+ virtual std::unique_ptr<base::DictionaryValue> ToValue() const;
const sync_pb::PasswordSpecificsData& unencrypted() const;
private:
@@ -52,7 +52,7 @@ struct SYNC_EXPORT ChangeRecord {
ChangeRecord(const ChangeRecord& other);
~ChangeRecord();
- scoped_ptr<base::DictionaryValue> ToValue() const;
+ std::unique_ptr<base::DictionaryValue> ToValue() const;
int64_t id;
Action action;

Powered by Google App Engine
This is Rietveld 408576698