OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_BROWSER_PROCESS_BROWSER_PROCESS _TASK_H_ | |
6 #define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_BROWSER_PROCESS_BROWSER_PROCESS _TASK_H_ | |
7 | |
8 #include "chrome/browser/task_management/providers/task.h" | |
9 | |
10 namespace task_management { | |
11 | |
12 // Defines the task that represents the one and only browser main process. | |
13 class BrowserProcessTask : public Task { | |
14 public: | |
15 BrowserProcessTask(); | |
16 ~BrowserProcessTask() override; | |
17 | |
18 private: | |
19 // task_management::Task: | |
20 Type GetType() const override; | |
21 int GetChildProcessUniqueID() const override; | |
22 size_t GetSqliteMemoryUsed() const override; | |
23 size_t GetV8MemoryAllocated() const override; | |
24 size_t GetV8MemoryUsed() const override; | |
25 void Refresh(const base::TimeDelta& update_time) override; | |
ncarter (slow)
2015/03/31 22:31:32
Make these public, since they're public in the bas
afakhry
2015/03/31 23:44:14
Done.
| |
26 | |
27 size_t allocated_v8_memory_; | |
28 size_t used_v8_memory_; | |
29 size_t used_sqlite_memory_; | |
30 bool reports_v8_stats_; | |
31 | |
32 DISALLOW_COPY_AND_ASSIGN(BrowserProcessTask); | |
33 }; | |
34 | |
35 } // namespace task_management | |
36 | |
37 #endif // CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_BROWSER_PROCESS_BROWSER_PROC ESS_TASK_H_ | |
OLD | NEW |