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

Unified Diff: sync/sessions/directory_type_debug_info_emitter.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/directory_type_debug_info_emitter.h
diff --git a/sync/sessions/directory_type_debug_info_emitter.h b/sync/sessions/directory_type_debug_info_emitter.h
index aa55e3b10e55f88c656063722e9e06258aae19d9..0bf8665ca19e589562d9798823fa4b055b237ccc 100644
--- a/sync/sessions/directory_type_debug_info_emitter.h
+++ b/sync/sessions/directory_type_debug_info_emitter.h
@@ -5,8 +5,9 @@
#ifndef SYNC_SESSIONS_DIRECTORY_TYPE_DEBUG_INFO_EMITTER_H_
#define SYNC_SESSIONS_DIRECTORY_TYPE_DEBUG_INFO_EMITTER_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/observer_list.h"
#include "base/values.h"
#include "sync/base/sync_export.h"
@@ -53,7 +54,7 @@ class SYNC_EXPORT DirectoryTypeDebugInfoEmitter {
virtual ~DirectoryTypeDebugInfoEmitter();
// Returns a ListValue representation of all known nodes of this type.
- scoped_ptr<base::ListValue> GetAllNodes();
+ std::unique_ptr<base::ListValue> GetAllNodes();
// Returns a reference to the current commit counters.
const CommitCounters& GetCommitCounters() const;

Powered by Google App Engine
This is Rietveld 408576698