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

Unified Diff: sync/sessions/sync_session.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/sessions/sync_session.h
diff --git a/sync/sessions/sync_session.h b/sync/sessions/sync_session.h
index be66e15c0adabe088558a86f8f6553fd77dbaf05..0763ea68ffbafe51c3ec73e7ffa817d1bb9e7ecf 100644
--- a/sync/sessions/sync_session.h
+++ b/sync/sessions/sync_session.h
@@ -11,13 +11,13 @@
#define SYNC_SESSIONS_SYNC_SESSION_H_
#include <map>
+#include <memory>
#include <set>
#include <string>
#include <utility>
#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/time/time.h"
#include "sync/base/sync_export.h"
#include "sync/engine/sync_cycle_event.h"
@@ -132,7 +132,7 @@ class SYNC_EXPORT SyncSession {
Delegate* const delegate_;
// Our controller for various status and error counters.
- scoped_ptr<StatusController> status_controller_;
+ std::unique_ptr<StatusController> status_controller_;
DISALLOW_COPY_AND_ASSIGN(SyncSession);
};

Powered by Google App Engine
This is Rietveld 408576698