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

Unified Diff: components/proximity_auth/cryptauth/sync_scheduler_impl.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_impl.h
diff --git a/components/proximity_auth/cryptauth/sync_scheduler_impl.h b/components/proximity_auth/cryptauth/sync_scheduler_impl.h
index 26a4712be83d4f62711072f0970ef0c9c7623e17..417e8cfd8262deb3be35037a94982fea1b889e33 100644
--- a/components/proximity_auth/cryptauth/sync_scheduler_impl.h
+++ b/components/proximity_auth/cryptauth/sync_scheduler_impl.h
@@ -43,7 +43,7 @@ class SyncSchedulerImpl : public SyncScheduler {
protected:
// Creates and returns a base::Timer object. Exposed for testing.
- virtual scoped_ptr<base::Timer> CreateTimer();
+ virtual std::unique_ptr<base::Timer> CreateTimer();
private:
// SyncScheduler:
@@ -92,7 +92,7 @@ class SyncSchedulerImpl : public SyncScheduler {
size_t failure_count_;
// Timer firing for the next sync request.
- scoped_ptr<base::Timer> timer_;
+ std::unique_ptr<base::Timer> timer_;
base::WeakPtrFactory<SyncSchedulerImpl> weak_ptr_factory_;
« no previous file with comments | « components/proximity_auth/cryptauth/sync_scheduler.h ('k') | components/proximity_auth/cryptauth/sync_scheduler_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698