Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_LEGACY_TASK_MANAGER_TESTER_H_ | 5 #ifndef CHROME_BROWSER_TASK_MANAGER_LEGACY_TASK_MANAGER_TESTER_H_ |
| 6 #define CHROME_BROWSER_TASK_MANAGER_LEGACY_TASK_MANAGER_TESTER_H_ | 6 #define CHROME_BROWSER_TASK_MANAGER_LEGACY_TASK_MANAGER_TESTER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
| 11 #include "chrome/browser/task_manager/task_manager_browsertest_util.h" | 11 #include "chrome/browser/task_management/task_manager_tester.h" |
| 12 | 12 |
| 13 namespace task_manager { | 13 namespace task_manager { |
| 14 | 14 |
| 15 // Implementation of the TaskManagerTester for the old task manager. | 15 // Implementation of the TaskManagerTester for the old task manager. |
| 16 class LegacyTaskManagerTester : public browsertest_util::TaskManagerTester { | 16 class LegacyTaskManagerTester : public task_management::TaskManagerTester { |
|
afakhry
2016/05/07 00:23:59
I'll have to wait until I get why you made that ex
ncarter (slow)
2016/05/07 22:23:08
Mostly it's me being lazy, and wanting to not have
| |
| 17 public: | 17 public: |
| 18 // Create a LegacyTaskManagerTester for the old (deprecated, mac-only) task | 18 // Create a LegacyTaskManagerTester for the old (deprecated, mac-only) task |
| 19 // manager. If you're writing a test, don't use this directly: see | 19 // manager. If you're writing a test, don't use this directly: see |
| 20 // GetTaskManagerTester() instead. | 20 // GetTaskManagerTester() instead. |
| 21 static std::unique_ptr<LegacyTaskManagerTester> Create( | 21 static std::unique_ptr<LegacyTaskManagerTester> Create( |
| 22 const base::Closure& callback); | 22 const base::Closure& callback); |
| 23 }; | 23 }; |
| 24 | 24 |
| 25 } // namespace task_manager | 25 } // namespace task_manager |
| 26 | 26 |
| 27 #endif // CHROME_BROWSER_TASK_MANAGER_LEGACY_TASK_MANAGER_TESTER_H_ | 27 #endif // CHROME_BROWSER_TASK_MANAGER_LEGACY_TASK_MANAGER_TESTER_H_ |
| OLD | NEW |