| Index: chrome/browser/task_management/task_manager_observer.h
|
| diff --git a/chrome/browser/task_management/task_manager_observer.h b/chrome/browser/task_management/task_manager_observer.h
|
| index 7163cb4cad537e73b000961ee5c4294ac536dd02..408d2a87f6ab73f131ca34741b2a7832803e54a0 100644
|
| --- a/chrome/browser/task_management/task_manager_observer.h
|
| +++ b/chrome/browser/task_management/task_manager_observer.h
|
| @@ -5,15 +5,19 @@
|
| #ifndef CHROME_BROWSER_TASK_MANAGEMENT_TASK_MANAGER_OBSERVER_H_
|
| #define CHROME_BROWSER_TASK_MANAGEMENT_TASK_MANAGER_OBSERVER_H_
|
|
|
| +#include <stdint.h>
|
| +
|
| #include <vector>
|
|
|
| +#include "base/macros.h"
|
| #include "base/time/time.h"
|
| +#include "build/build_config.h"
|
|
|
| namespace task_management {
|
|
|
| class TaskManagerInterface;
|
|
|
| -typedef int64 TaskId;
|
| +typedef int64_t TaskId;
|
| typedef std::vector<TaskId> TaskIdList;
|
|
|
| // Defines a list of types of resources that an observer needs to be refreshed
|
| @@ -60,7 +64,7 @@ class TaskManagerObserver {
|
| // 4- Upon the removal of the observer from the task manager, the task manager
|
| // will update its refresh time and the calculated resources to be the minimum
|
| // required value of all the remaining observers.
|
| - TaskManagerObserver(base::TimeDelta refresh_time, int64 resources_flags);
|
| + TaskManagerObserver(base::TimeDelta refresh_time, int64_t resources_flags);
|
| virtual ~TaskManagerObserver();
|
|
|
| // Notifies the observer that a chrome task with |id| has started and the task
|
| @@ -86,7 +90,7 @@ class TaskManagerObserver {
|
| return desired_refresh_time_;
|
| }
|
|
|
| - int64 desired_resources_flags() const { return desired_resources_flags_; }
|
| + int64_t desired_resources_flags() const { return desired_resources_flags_; }
|
|
|
| protected:
|
| TaskManagerInterface* observed_task_manager() const {
|
| @@ -109,7 +113,7 @@ class TaskManagerObserver {
|
|
|
| // The flags that contain the resources that this observer needs to be
|
| // calculated on each refresh.
|
| - int64 desired_resources_flags_;
|
| + int64_t desired_resources_flags_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(TaskManagerObserver);
|
| };
|
|
|