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

Unified Diff: sync/test/mock_invalidation.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/test/mock_invalidation.h
diff --git a/sync/test/mock_invalidation.h b/sync/test/mock_invalidation.h
index 4b1bba474c43c469874e7684cf358173e4286a7b..f57a92d61ebc71f4de7580b7b71d8cba6f6ffe29 100644
--- a/sync/test/mock_invalidation.h
+++ b/sync/test/mock_invalidation.h
@@ -7,9 +7,9 @@
#include <stdint.h>
+#include <memory>
#include <string>
-#include "base/memory/scoped_ptr.h"
#include "sync/internal_api/public/base/invalidation_interface.h"
namespace syncer {
@@ -19,9 +19,9 @@ namespace syncer {
class MockInvalidation : public InvalidationInterface {
public:
// Helpers to build new MockInvalidations.
- static scoped_ptr<MockInvalidation> BuildUnknownVersion();
- static scoped_ptr<MockInvalidation> Build(int64_t version,
- const std::string& payload);
+ static std::unique_ptr<MockInvalidation> BuildUnknownVersion();
+ static std::unique_ptr<MockInvalidation> Build(int64_t version,
+ const std::string& payload);
~MockInvalidation() override;

Powered by Google App Engine
This is Rietveld 408576698