| 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_PROVIDERS_TASK_H_ | 5 #ifndef CHROME_BROWSER_TASK_MANAGER_PROVIDERS_TASK_H_ |
| 6 #define CHROME_BROWSER_TASK_MANAGER_PROVIDERS_TASK_H_ | 6 #define CHROME_BROWSER_TASK_MANAGER_PROVIDERS_TASK_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/process/kill.h" | 13 #include "base/process/kill.h" |
| 14 #include "base/process/process_handle.h" | 14 #include "base/process/process_handle.h" |
| 15 #include "base/strings/string16.h" | 15 #include "base/strings/string16.h" |
| 16 #include "base/time/time.h" | 16 #include "base/time/time.h" |
| 17 #include "third_party/WebKit/public/web/WebCache.h" | 17 #include "third_party/WebKit/public/platform/WebCache.h" |
| 18 #include "ui/gfx/image/image_skia.h" | 18 #include "ui/gfx/image/image_skia.h" |
| 19 | 19 |
| 20 class Profile; | 20 class Profile; |
| 21 | 21 |
| 22 namespace task_manager { | 22 namespace task_manager { |
| 23 | 23 |
| 24 // Defines a task that corresponds to a tab, an app, an extension, ... etc. It | 24 // Defines a task that corresponds to a tab, an app, an extension, ... etc. It |
| 25 // represents one row in the task manager table. Multiple tasks can share the | 25 // represents one row in the task manager table. Multiple tasks can share the |
| 26 // same process, in which case they're grouped together in the task manager | 26 // same process, in which case they're grouped together in the task manager |
| 27 // table. See |task_manager::TaskGroup| which represents a process possibly | 27 // table. See |task_manager::TaskGroup| which represents a process possibly |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 | 184 |
| 185 // The PID of the process on which this task is running. | 185 // The PID of the process on which this task is running. |
| 186 const base::ProcessId process_id_; | 186 const base::ProcessId process_id_; |
| 187 | 187 |
| 188 DISALLOW_COPY_AND_ASSIGN(Task); | 188 DISALLOW_COPY_AND_ASSIGN(Task); |
| 189 }; | 189 }; |
| 190 | 190 |
| 191 } // namespace task_manager | 191 } // namespace task_manager |
| 192 | 192 |
| 193 #endif // CHROME_BROWSER_TASK_MANAGER_PROVIDERS_TASK_H_ | 193 #endif // CHROME_BROWSER_TASK_MANAGER_PROVIDERS_TASK_H_ |
| OLD | NEW |