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

Unified Diff: chrome/browser/task_management/providers/child_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 5 years 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/task_management/providers/child_process_task.h
diff --git a/chrome/browser/task_management/providers/child_process_task.h b/chrome/browser/task_management/providers/child_process_task.h
index 9160ec524add0f105645d64a3b396c370aa01a25..db84321d3bdbe939385f5e299e961d277cfc816e 100644
--- a/chrome/browser/task_management/providers/child_process_task.h
+++ b/chrome/browser/task_management/providers/child_process_task.h
@@ -5,6 +5,9 @@
#ifndef CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_CHILD_PROCESS_TASK_H_
#define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_CHILD_PROCESS_TASK_H_
+#include <stdint.h>
+
+#include "base/macros.h"
#include "chrome/browser/task_management/providers/task.h"
class ProcessResourceUsage;
@@ -27,12 +30,12 @@ class ChildProcessTask : public Task {
// task_management::Task:
void Refresh(const base::TimeDelta& update_interval,
- int64 refresh_flags) override;
+ int64_t refresh_flags) override;
Type GetType() const override;
int GetChildProcessUniqueID() const override;
bool ReportsV8Memory() const;
- int64 GetV8MemoryAllocated() const override;
- int64 GetV8MemoryUsed() const override;
+ int64_t GetV8MemoryAllocated() const override;
+ int64_t GetV8MemoryUsed() const override;
private:
// The Mojo service wrapper that will provide us with the V8 memory usage of
@@ -40,8 +43,8 @@ class ChildProcessTask : public Task {
scoped_ptr<ProcessResourceUsage> process_resources_sampler_;
// The allocated and used V8 memory (in bytes).
- int64 v8_memory_allocated_;
- int64 v8_memory_used_;
+ int64_t v8_memory_allocated_;
+ int64_t v8_memory_used_;
// The unique ID of the child process. It is not the PID of the process.
// See |content::ChildProcessData::id|.

Powered by Google App Engine
This is Rietveld 408576698