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

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

Issue 1912773002: Remove the old task manager view (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits Created 4 years, 7 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
« no previous file with comments | « chrome/browser/task_manager/printing_information.h ('k') | chrome/browser/task_manager/task_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/task_manager/task_manager.h
diff --git a/chrome/browser/task_manager/task_manager.h b/chrome/browser/task_manager/task_manager.h
index 464637e9b78baae32a3ba8d9fbaef5efcedd7ffe..c41c240f0ef7228d935fa28610e9fdbe7a5bda4a 100644
--- a/chrome/browser/task_manager/task_manager.h
+++ b/chrome/browser/task_manager/task_manager.h
@@ -24,6 +24,17 @@
#include "gpu/ipc/common/memory_stats.h"
#include "third_party/WebKit/public/web/WebCache.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)
+
class PrefRegistrySimple;
class PrivateWorkingSetSnapshot;
class TaskManagerModel;
@@ -52,11 +63,6 @@ class URLRequest;
// This class is a singleton.
class TaskManager {
public:
- static void RegisterPrefs(PrefRegistrySimple* registry);
-
- // Returns true if the user is allowed to end processes.
- static bool IsEndProcessEnabled();
-
// Returns true if the process at the specified index is the browser process.
bool IsBrowserProcess(int index) const;
« no previous file with comments | « chrome/browser/task_manager/printing_information.h ('k') | chrome/browser/task_manager/task_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698