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; |