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

Unified Diff: ui/app_list/views/folder_header_view_unittest.cc

Issue 1868363002: Replace scoped_ptr with std::unique_ptr in //ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scopedptrcc
Patch Set: scopedptrui: rebase-make_scoped_ptr 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 | « ui/app_list/views/contents_view.h ('k') | ui/app_list/views/progress_bar_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/folder_header_view_unittest.cc
diff --git a/ui/app_list/views/folder_header_view_unittest.cc b/ui/app_list/views/folder_header_view_unittest.cc
index ee2330db487627053908d35f51559699ff01f45e..ea15026aacc09ce5983341741ebaee2a28dfcb8d 100644
--- a/ui/app_list/views/folder_header_view_unittest.cc
+++ b/ui/app_list/views/folder_header_view_unittest.cc
@@ -6,12 +6,12 @@
#include <stddef.h>
+#include <memory>
#include <string>
#include "base/command_line.h"
#include "base/compiler_specific.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/strings/utf_string_conversions.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/app_list/app_list_constants.h"
@@ -88,9 +88,9 @@ class FolderHeaderViewTest : public views::ViewsTestBase {
return folder_header_view_->IsFolderNameEnabledForTest();
}
- scoped_ptr<AppListTestModel> model_;
- scoped_ptr<FolderHeaderView> folder_header_view_;
- scoped_ptr<TestFolderHeaderViewDelegate> delegate_;
+ std::unique_ptr<AppListTestModel> model_;
+ std::unique_ptr<FolderHeaderView> folder_header_view_;
+ std::unique_ptr<TestFolderHeaderViewDelegate> delegate_;
private:
DISALLOW_COPY_AND_ASSIGN(FolderHeaderViewTest);
« no previous file with comments | « ui/app_list/views/contents_view.h ('k') | ui/app_list/views/progress_bar_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698