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

Unified Diff: chrome/browser/ui/task_manager/task_manager_table_model.h

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 | « chrome/browser/ui/tabs/tab_utils.cc ('k') | chrome/browser/ui/tests/ui_gfx_image_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/task_manager/task_manager_table_model.h
diff --git a/chrome/browser/ui/task_manager/task_manager_table_model.h b/chrome/browser/ui/task_manager/task_manager_table_model.h
index f08e17f54bda910d7238141df6fd50950187120a..bd175a9a6bc473a3829f4ee1b207ad57f075339e 100644
--- a/chrome/browser/ui/task_manager/task_manager_table_model.h
+++ b/chrome/browser/ui/task_manager/task_manager_table_model.h
@@ -7,8 +7,9 @@
#include <stdint.h>
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/values.h"
#include "chrome/browser/task_management/task_manager_observer.h"
#include "ui/base/models/table_model.h"
@@ -118,7 +119,7 @@ class TaskManagerTableModel
// exists, or the default column settings.
// The columns settings are the visible columns and the last sorted column
// and the direction of the sort.
- scoped_ptr<base::DictionaryValue> columns_settings_;
+ std::unique_ptr<base::DictionaryValue> columns_settings_;
// The table model observer that will be set by the table view of the task
// manager.
@@ -129,7 +130,7 @@ class TaskManagerTableModel
// The owned task manager values stringifier that will be used to convert the
// values to string16.
- scoped_ptr<TaskManagerValuesStringifier> stringifier_;
+ std::unique_ptr<TaskManagerValuesStringifier> stringifier_;
// The status of the flag #enable-nacl-debug.
bool is_nacl_debugging_flag_enabled_;
« no previous file with comments | « chrome/browser/ui/tabs/tab_utils.cc ('k') | chrome/browser/ui/tests/ui_gfx_image_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698