| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_TASK_MANAGER_LEGACY_TASK_MANAGER_TESTER_H_ | |
| 6 #define CHROME_BROWSER_TASK_MANAGER_LEGACY_TASK_MANAGER_TESTER_H_ | |
| 7 | |
| 8 #include <memory> | |
| 9 | |
| 10 #include "base/callback_forward.h" | |
| 11 #include "chrome/browser/task_management/task_manager_tester.h" | |
| 12 | |
| 13 namespace task_manager { | |
| 14 | |
| 15 // Create a LegacyTaskManagerTester for the old (deprecated, mac-only) task | |
| 16 // manager. If you're writing a test, don't use this directly since it won't | |
| 17 // work on other platforms. Use TaskManagerTester::Create() instead. | |
| 18 std::unique_ptr<task_management::TaskManagerTester> | |
| 19 CreateLegacyTaskManagerTester(const base::Closure& callback); | |
| 20 | |
| 21 } // namespace task_manager | |
| 22 | |
| 23 #endif // CHROME_BROWSER_TASK_MANAGER_LEGACY_TASK_MANAGER_TESTER_H_ | |
| OLD | NEW |