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

Unified Diff: components/undo/bookmark_undo_service_test.cc

Issue 1917673002: Convert //components/[u-z]* 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
« no previous file with comments | « components/undo/bookmark_undo_service.cc ('k') | components/undo/undo_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/undo/bookmark_undo_service_test.cc
diff --git a/components/undo/bookmark_undo_service_test.cc b/components/undo/bookmark_undo_service_test.cc
index 3716845eecd17d4e5f3e2bf4310fd7ad8848b131..411f51fe4de5e1ff159c4cc7547761330536ebc1 100644
--- a/components/undo/bookmark_undo_service_test.cc
+++ b/components/undo/bookmark_undo_service_test.cc
@@ -6,6 +6,8 @@
#include <stddef.h>
+#include <memory>
+
#include "base/macros.h"
#include "base/strings/utf_string_conversions.h"
#include "components/bookmarks/browser/bookmark_model.h"
@@ -30,8 +32,8 @@ class BookmarkUndoServiceTest : public testing::Test {
BookmarkUndoService* GetUndoService();
private:
- scoped_ptr<bookmarks::BookmarkModel> bookmark_model_;
- scoped_ptr<BookmarkUndoService> bookmark_undo_service_;
+ std::unique_ptr<bookmarks::BookmarkModel> bookmark_model_;
+ std::unique_ptr<BookmarkUndoService> bookmark_undo_service_;
DISALLOW_COPY_AND_ASSIGN(BookmarkUndoServiceTest);
};
« no previous file with comments | « components/undo/bookmark_undo_service.cc ('k') | components/undo/undo_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698