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

Side by Side Diff: chrome/browser/task_management/providers/browser_process_task.h

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 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 unified diff | Download patch
OLDNEW
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_MANAGEMENT_PROVIDERS_BROWSER_PROCESS_TASK_H_ 5 #ifndef CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_BROWSER_PROCESS_TASK_H_
6 #define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_BROWSER_PROCESS_TASK_H_ 6 #define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_BROWSER_PROCESS_TASK_H_
7 7
8 #include <stdint.h>
9
10 #include "base/macros.h"
8 #include "chrome/browser/task_management/providers/task.h" 11 #include "chrome/browser/task_management/providers/task.h"
9 12
10 namespace task_management { 13 namespace task_management {
11 14
12 // Defines the task that represents the one and only browser main process. 15 // Defines the task that represents the one and only browser main process.
13 class BrowserProcessTask : public Task { 16 class BrowserProcessTask : public Task {
14 public: 17 public:
15 BrowserProcessTask(); 18 BrowserProcessTask();
16 ~BrowserProcessTask() override; 19 ~BrowserProcessTask() override;
17 20
18 // task_management::Task: 21 // task_management::Task:
19 void Refresh(const base::TimeDelta& update_interval, 22 void Refresh(const base::TimeDelta& update_interval,
20 int64 refresh_flags) override; 23 int64_t refresh_flags) override;
21 Type GetType() const override; 24 Type GetType() const override;
22 int GetChildProcessUniqueID() const override; 25 int GetChildProcessUniqueID() const override;
23 int64 GetSqliteMemoryUsed() const override; 26 int64_t GetSqliteMemoryUsed() const override;
24 int64 GetV8MemoryAllocated() const override; 27 int64_t GetV8MemoryAllocated() const override;
25 int64 GetV8MemoryUsed() const override; 28 int64_t GetV8MemoryUsed() const override;
26 29
27 private: 30 private:
28 int64 allocated_v8_memory_; 31 int64_t allocated_v8_memory_;
29 int64 used_v8_memory_; 32 int64_t used_v8_memory_;
30 int64 used_sqlite_memory_; 33 int64_t used_sqlite_memory_;
31 bool reports_v8_stats_; 34 bool reports_v8_stats_;
32 35
33 DISALLOW_COPY_AND_ASSIGN(BrowserProcessTask); 36 DISALLOW_COPY_AND_ASSIGN(BrowserProcessTask);
34 }; 37 };
35 38
36 } // namespace task_management 39 } // namespace task_management
37 40
38 #endif // CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_BROWSER_PROCESS_TASK_H_ 41 #endif // CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_BROWSER_PROCESS_TASK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698