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

Unified Diff: sync/engine/sync_scheduler.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
« no previous file with comments | « sync/engine/net/server_connection_manager.h ('k') | sync/engine/sync_scheduler_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/engine/sync_scheduler.h
diff --git a/sync/engine/sync_scheduler.h b/sync/engine/sync_scheduler.h
index 1bf5a10d9fa935fe9276786a3a883835a70d6d2d..a2ed42ba872d8de4546d65f5bc912aca99e347f5 100644
--- a/sync/engine/sync_scheduler.h
+++ b/sync/engine/sync_scheduler.h
@@ -6,6 +6,7 @@
#ifndef SYNC_ENGINE_SYNC_SCHEDULER_H_
#define SYNC_ENGINE_SYNC_SCHEDULER_H_
+#include <memory>
#include <string>
#include "base/callback.h"
@@ -132,7 +133,7 @@ class SYNC_EXPORT SyncScheduler : public sessions::SyncSession::Delegate {
// order to fetch the update.
virtual void ScheduleInvalidationNudge(
syncer::ModelType type,
- scoped_ptr<InvalidationInterface> invalidation,
+ std::unique_ptr<InvalidationInterface> invalidation,
const tracked_objects::Location& nudge_location) = 0;
// Requests a non-blocking initial sync request for the specified type.
« no previous file with comments | « sync/engine/net/server_connection_manager.h ('k') | sync/engine/sync_scheduler_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698