| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_H_ |
| 6 #define CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_H_ | 6 #define CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 FRIEND_TEST_ALL_PREFIXES(TaskManagerWindowControllerTest, Sort); | 92 FRIEND_TEST_ALL_PREFIXES(TaskManagerWindowControllerTest, Sort); |
| 93 FRIEND_TEST_ALL_PREFIXES(TaskManagerWindowControllerTest, | 93 FRIEND_TEST_ALL_PREFIXES(TaskManagerWindowControllerTest, |
| 94 SelectionAdaptsToSorting); | 94 SelectionAdaptsToSorting); |
| 95 FRIEND_TEST_ALL_PREFIXES(TaskManagerWindowControllerTest, | 95 FRIEND_TEST_ALL_PREFIXES(TaskManagerWindowControllerTest, |
| 96 EnsureNewPrimarySortColumn); | 96 EnsureNewPrimarySortColumn); |
| 97 FRIEND_TEST_ALL_PREFIXES(TaskManagerWindowControllerTest, | 97 FRIEND_TEST_ALL_PREFIXES(TaskManagerWindowControllerTest, |
| 98 EnsureOneColumnVisible); | 98 EnsureOneColumnVisible); |
| 99 | 99 |
| 100 // Obtain an instance via GetInstance(). | 100 // Obtain an instance via GetInstance(). |
| 101 TaskManager(); | 101 TaskManager(); |
| 102 friend struct DefaultSingletonTraits<TaskManager>; | 102 friend struct base::DefaultSingletonTraits<TaskManager>; |
| 103 | 103 |
| 104 ~TaskManager(); | 104 ~TaskManager(); |
| 105 | 105 |
| 106 // The model used for gathering and processing task data. It is ref counted | 106 // The model used for gathering and processing task data. It is ref counted |
| 107 // because it is passed as a parameter to MessageLoop::InvokeLater(). | 107 // because it is passed as a parameter to MessageLoop::InvokeLater(). |
| 108 scoped_refptr<TaskManagerModel> model_; | 108 scoped_refptr<TaskManagerModel> model_; |
| 109 | 109 |
| 110 DISALLOW_COPY_AND_ASSIGN(TaskManager); | 110 DISALLOW_COPY_AND_ASSIGN(TaskManager); |
| 111 }; | 111 }; |
| 112 | 112 |
| (...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 547 // All per-Resource values are stored here. | 547 // All per-Resource values are stored here. |
| 548 mutable PerResourceCache per_resource_cache_; | 548 mutable PerResourceCache per_resource_cache_; |
| 549 | 549 |
| 550 // All per-Process values are stored here. | 550 // All per-Process values are stored here. |
| 551 mutable PerProcessCache per_process_cache_; | 551 mutable PerProcessCache per_process_cache_; |
| 552 | 552 |
| 553 DISALLOW_COPY_AND_ASSIGN(TaskManagerModel); | 553 DISALLOW_COPY_AND_ASSIGN(TaskManagerModel); |
| 554 }; | 554 }; |
| 555 | 555 |
| 556 #endif // CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_H_ | 556 #endif // CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_H_ |
| OLD | NEW |