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

Unified Diff: components/proximity_auth/cryptauth/sync_scheduler.h

Issue 1912433002: Convert //components/proximity_auth from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits 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: components/proximity_auth/cryptauth/sync_scheduler.h
diff --git a/components/proximity_auth/cryptauth/sync_scheduler.h b/components/proximity_auth/cryptauth/sync_scheduler.h
index 33dbfef77f77b8402c35ec704db0720de4b24840..a2d74aab0995d3327be693733a95d814b8fccce3 100644
--- a/components/proximity_auth/cryptauth/sync_scheduler.h
+++ b/components/proximity_auth/cryptauth/sync_scheduler.h
@@ -5,8 +5,9 @@
#ifndef COMPONENTS_PROXIMITY_AUTH_CRYPTAUTH_SYNC_SCHEDULER_H
#define COMPONENTS_PROXIMITY_AUTH_CRYPTAUTH_SYNC_SCHEDULER_H
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/time/time.h"
@@ -56,7 +57,7 @@ class SyncScheduler {
// Called when the scheduler fires and requests a sync attempt. The delegate
// should call sync_request->Complete() when the request finishes.
- virtual void OnSyncRequested(scoped_ptr<SyncRequest> sync_request) = 0;
+ virtual void OnSyncRequested(std::unique_ptr<SyncRequest> sync_request) = 0;
};
virtual ~SyncScheduler() {}

Powered by Google App Engine
This is Rietveld 408576698