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

Unified Diff: sync/engine/commit_contributor.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/engine/commit_contributor.h
diff --git a/sync/engine/commit_contributor.h b/sync/engine/commit_contributor.h
index 8b89a12467c21e8984cfe48e2c8375e63a4a15fa..4b5b0cce038f44071f786ce86e62de16d7856aee 100644
--- a/sync/engine/commit_contributor.h
+++ b/sync/engine/commit_contributor.h
@@ -6,8 +6,8 @@
#define SYNC_ENGINE_COMMIT_CONTRIBUTOR_H_
#include <cstddef>
+#include <memory>
-#include "base/memory/scoped_ptr.h"
#include "sync/base/sync_export.h"
namespace syncer {
@@ -30,7 +30,7 @@ class SYNC_EXPORT CommitContributor {
// Gathers up to |max_entries| unsynced items from this contributor into a
// CommitContribution. Returns NULL when the contributor has nothing to
// contribute.
- virtual scoped_ptr<CommitContribution> GetContribution(
+ virtual std::unique_ptr<CommitContribution> GetContribution(
size_t max_entries) = 0;
};

Powered by Google App Engine
This is Rietveld 408576698