Index: chrome/browser/task_management/task_manager_interface.h |
diff --git a/chrome/browser/task_management/task_manager_interface.h b/chrome/browser/task_management/task_manager_interface.h |
index b35145c5a17bcb8c74ec994325e81befb69760b9..ef3d3cd51e0314e52a235edb511082f7ab26ab65 100644 |
--- a/chrome/browser/task_management/task_manager_interface.h |
+++ b/chrome/browser/task_management/task_manager_interface.h |
@@ -22,6 +22,8 @@ |
#include "third_party/WebKit/public/web/WebCache.h" |
#include "ui/gfx/image/image_skia.h" |
+class PrefRegistrySimple; |
+ |
namespace net { |
class URLRequest; |
} // namespace net |
@@ -33,6 +35,12 @@ namespace task_management { |
// enabled calculations of the usage of the various resources. |
class TaskManagerInterface { |
public: |
+ // Registers the task manager related prefs. |
+ static void RegisterPrefs(PrefRegistrySimple* registry); |
+ |
+ // Returns true if the user is allowed to end processes. |
+ static bool IsEndProcessEnabled(); |
+ |
// Gets the existing instance of the task manager if any, otherwise it will |
// create it first. Must be called on the UI thread. |
static TaskManagerInterface* GetTaskManager(); |