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

Unified Diff: components/sync_bookmarks/bookmark_change_processor.h

Issue 1921923002: Convert //components/[o-t]* 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: components/sync_bookmarks/bookmark_change_processor.h
diff --git a/components/sync_bookmarks/bookmark_change_processor.h b/components/sync_bookmarks/bookmark_change_processor.h
index dff812bd2164cf87dcda492424debe0357ef0942..ea7ea179449ddfe2480eb0fd12d95a14752656ef 100644
--- a/components/sync_bookmarks/bookmark_change_processor.h
+++ b/components/sync_bookmarks/bookmark_change_processor.h
@@ -187,8 +187,8 @@ class BookmarkChangeProcessor : public bookmarks::BookmarkModelObserver,
};
// Retrieves the meta info from the given sync node.
- static scoped_ptr<bookmarks::BookmarkNode::MetaInfoMap> GetBookmarkMetaInfo(
- const syncer::BaseNode* sync_node);
+ static std::unique_ptr<bookmarks::BookmarkNode::MetaInfoMap>
+ GetBookmarkMetaInfo(const syncer::BaseNode* sync_node);
// Sets the meta info of the given sync node from the given bookmark node.
static void SetSyncNodeMetaInfo(const bookmarks::BookmarkNode* node,

Powered by Google App Engine
This is Rietveld 408576698