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

Side by Side Diff: chrome/browser/ui/views/new_task_manager_view_browsertest.cc

Issue 1658793002: Update chrome for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stddef.h> 5 #include <stddef.h>
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "base/prefs/pref_service.h"
9 #include "base/prefs/scoped_user_pref_update.h"
10 #include "chrome/browser/browser_process.h" 8 #include "chrome/browser/browser_process.h"
11 #include "chrome/browser/ui/browser_dialogs.h" 9 #include "chrome/browser/ui/browser_dialogs.h"
12 #include "chrome/browser/ui/task_manager/task_manager_columns.h" 10 #include "chrome/browser/ui/task_manager/task_manager_columns.h"
13 #include "chrome/browser/ui/task_manager/task_manager_table_model.h" 11 #include "chrome/browser/ui/task_manager/task_manager_table_model.h"
14 #include "chrome/browser/ui/views/new_task_manager_view.h" 12 #include "chrome/browser/ui/views/new_task_manager_view.h"
15 #include "chrome/common/pref_names.h" 13 #include "chrome/common/pref_names.h"
16 #include "chrome/test/base/in_process_browser_test.h" 14 #include "chrome/test/base/in_process_browser_test.h"
15 #include "components/prefs/pref_service.h"
16 #include "components/prefs/scoped_user_pref_update.h"
17 #include "content/public/test/test_utils.h" 17 #include "content/public/test/test_utils.h"
18 #include "ui/views/controls/table/table_view.h" 18 #include "ui/views/controls/table/table_view.h"
19 19
20 namespace task_management { 20 namespace task_management {
21 21
22 class NewTaskManagerViewTest : public InProcessBrowserTest { 22 class NewTaskManagerViewTest : public InProcessBrowserTest {
23 public: 23 public:
24 NewTaskManagerViewTest() {} 24 NewTaskManagerViewTest() {}
25 ~NewTaskManagerViewTest() override {} 25 ~NewTaskManagerViewTest() override {}
26 26
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 EXPECT_EQ(table->sort_descriptors().front().column_id, sorted_col_id); 141 EXPECT_EQ(table->sort_descriptors().front().column_id, sorted_col_id);
142 } 142 }
143 for (size_t i = 0; i < kColumnsSize; ++i) { 143 for (size_t i = 0; i < kColumnsSize; ++i) {
144 EXPECT_EQ(!kColumns[i].default_visibility, 144 EXPECT_EQ(!kColumns[i].default_visibility,
145 table->IsColumnVisible(kColumns[i].id)); 145 table->IsColumnVisible(kColumns[i].id));
146 } 146 }
147 } 147 }
148 148
149 } // namespace task_management 149 } // namespace task_management
150 150
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/new_task_manager_view.cc ('k') | chrome/browser/ui/views/outdated_upgrade_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698