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

Unified Diff: chrome/browser/task_manager/task_manager_browsertest_util.h

Issue 1912773002: Remove the old task manager view (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: thestig's comments Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
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)
+
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

Powered by Google App Engine
This is Rietveld 408576698