| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_TASK_MANAGER_TEST_TASK_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_TASK_MANAGER_TEST_TASK_MANAGER_H_ |
| 6 #define CHROME_BROWSER_TASK_MANAGER_TEST_TASK_MANAGER_H_ | 6 #define CHROME_BROWSER_TASK_MANAGER_TEST_TASK_MANAGER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 const base::ProcessHandle& GetProcessHandle(TaskId task_id) const override; | 53 const base::ProcessHandle& GetProcessHandle(TaskId task_id) const override; |
| 54 const base::ProcessId& GetProcessId(TaskId task_id) const override; | 54 const base::ProcessId& GetProcessId(TaskId task_id) const override; |
| 55 Task::Type GetType(TaskId task_id) const override; | 55 Task::Type GetType(TaskId task_id) const override; |
| 56 int GetTabId(TaskId task_id) const override; | 56 int GetTabId(TaskId task_id) const override; |
| 57 int GetChildProcessUniqueId(TaskId task_id) const override; | 57 int GetChildProcessUniqueId(TaskId task_id) const override; |
| 58 void GetTerminationStatus(TaskId task_id, | 58 void GetTerminationStatus(TaskId task_id, |
| 59 base::TerminationStatus* out_status, | 59 base::TerminationStatus* out_status, |
| 60 int* out_error_code) const override; | 60 int* out_error_code) const override; |
| 61 int64_t GetNetworkUsage(TaskId task_id) const override; | 61 int64_t GetNetworkUsage(TaskId task_id) const override; |
| 62 int64_t GetProcessTotalNetworkUsage(TaskId task_id) const override; | 62 int64_t GetProcessTotalNetworkUsage(TaskId task_id) const override; |
| 63 int64_t GetCumulativeNetworkUsage(TaskId task_id) const override; |
| 64 int64_t GetCumulativeProcessTotalNetworkUsage(TaskId task_id) const override; |
| 63 int64_t GetSqliteMemoryUsed(TaskId task_id) const override; | 65 int64_t GetSqliteMemoryUsed(TaskId task_id) const override; |
| 64 bool GetV8Memory(TaskId task_id, | 66 bool GetV8Memory(TaskId task_id, |
| 65 int64_t* allocated, | 67 int64_t* allocated, |
| 66 int64_t* used) const override; | 68 int64_t* used) const override; |
| 67 bool GetWebCacheStats( | 69 bool GetWebCacheStats( |
| 68 TaskId task_id, | 70 TaskId task_id, |
| 69 blink::WebCache::ResourceTypeStats* stats) const override; | 71 blink::WebCache::ResourceTypeStats* stats) const override; |
| 70 int GetKeepaliveCount(TaskId task_id) const override; | 72 int GetKeepaliveCount(TaskId task_id) const override; |
| 71 const TaskIdList& GetTaskIdsList() const override; | 73 const TaskIdList& GetTaskIdsList() const override; |
| 72 TaskIdList GetIdsOfTasksSharingSameProcess(TaskId task_id) const override; | 74 TaskIdList GetIdsOfTasksSharingSameProcess(TaskId task_id) const override; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 90 gfx::ImageSkia icon_; | 92 gfx::ImageSkia icon_; |
| 91 TaskIdList ids_; | 93 TaskIdList ids_; |
| 92 | 94 |
| 93 private: | 95 private: |
| 94 DISALLOW_COPY_AND_ASSIGN(TestTaskManager); | 96 DISALLOW_COPY_AND_ASSIGN(TestTaskManager); |
| 95 }; | 97 }; |
| 96 | 98 |
| 97 } // namespace task_manager | 99 } // namespace task_manager |
| 98 | 100 |
| 99 #endif // CHROME_BROWSER_TASK_MANAGER_TEST_TASK_MANAGER_H_ | 101 #endif // CHROME_BROWSER_TASK_MANAGER_TEST_TASK_MANAGER_H_ |
| OLD | NEW |