Chromium Code Reviews| Index: chrome/browser/task_manager/task_manager_browsertest_util.h |
| diff --git a/chrome/browser/task_manager/task_manager_browsertest_util.h b/chrome/browser/task_manager/task_manager_browsertest_util.h |
| index 7f9902a164b3b9993c22194cb9d9fff32df62b1c..c13efb8ae62ed9b55f01243fffb038c6850cdbb6 100644 |
| --- a/chrome/browser/task_manager/task_manager_browsertest_util.h |
| +++ b/chrome/browser/task_manager/task_manager_browsertest_util.h |
| @@ -9,13 +9,20 @@ |
| #include "base/strings/string16.h" |
| +// ----------------------------------------------------------------------------- |
| +// DEPRECATED: |
| +// - This is currently enabled only on MacOSX, and will be removed soon (See |
| +// crbug.com/528486). |
| +// - Please don't add any new stuff here. See the new implementation in |
| +// //src/chrome/browser/task_management. |
| +// ----------------------------------------------------------------------------- |
| +#if !defined(OS_MACOSX) |
| +#error "The old task manager is deprecated on non-macos platforms." |
| +#endif // defined(OS_MACOSX) |
|
ncarter (slow)
2016/04/27 16:50:53
FYI, This is the opposite of what I'm planning on
|
| + |
| namespace task_manager { |
| namespace browsertest_util { |
| -// For the old task manager browser tests, we must call this to disable the |
| -// use of the new implementation and revert back to the old one. |
| -void EnableOldTaskManager(); |
| - |
| // Runs the message loop, observing the task manager, until there are exactly |
| // |resource_count| many resources whose titles match the pattern |
| // |title_pattern|. The match is done via string_util's base::MatchPattern, so |