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

Unified Diff: sync/internal_api/public/test/fake_sync_context.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: Rebase and fix conflicts 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/test/fake_sync_context.h
diff --git a/sync/internal_api/public/test/fake_sync_context.h b/sync/internal_api/public/test/fake_sync_context.h
index 5eb49373e11235ee76e166e8d74001f66cd29652..d4a096db348a5d83ffc5c9160dc2487f94cede44 100644
--- a/sync/internal_api/public/test/fake_sync_context.h
+++ b/sync/internal_api/public/test/fake_sync_context.h
@@ -5,6 +5,8 @@
#ifndef SYNC_INTERNAL_API_PUBLIC_TEST_FAKE_SYNC_CONTEXT_H_
#define SYNC_INTERNAL_API_PUBLIC_TEST_FAKE_SYNC_CONTEXT_H_
+#include <memory>
+
#include "sync/internal_api/public/sync_context.h"
namespace syncer_v2 {
@@ -15,8 +17,9 @@ class FakeSyncContext : public SyncContext {
FakeSyncContext();
~FakeSyncContext() override;
- void ConnectType(syncer::ModelType type,
- scoped_ptr<ActivationContext> activation_context) override;
+ void ConnectType(
+ syncer::ModelType type,
+ std::unique_ptr<ActivationContext> activation_context) override;
void DisconnectType(syncer::ModelType type) override;
};
« no previous file with comments | « sync/internal_api/public/test/fake_model_type_service.h ('k') | sync/internal_api/public/test/fake_sync_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698