| 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_MANAGEMENT_PROVIDERS_BROWSER_PROCESS_TASK_PROVIDER_H
_ | 5 #ifndef CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_BROWSER_PROCESS_TASK_PROVIDER_H
_ |
| 6 #define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_BROWSER_PROCESS_TASK_PROVIDER_H
_ | 6 #define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_BROWSER_PROCESS_TASK_PROVIDER_H
_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "chrome/browser/task_management/providers/browser_process_task.h" | 9 #include "chrome/browser/task_management/providers/browser_process_task.h" |
| 9 #include "chrome/browser/task_management/providers/task_provider.h" | 10 #include "chrome/browser/task_management/providers/task_provider.h" |
| 10 | 11 |
| 11 namespace task_management { | 12 namespace task_management { |
| 12 | 13 |
| 13 // This provides the browser process task which lives as long as the browser | 14 // This provides the browser process task which lives as long as the browser |
| 14 // lives. | 15 // lives. |
| 15 class BrowserProcessTaskProvider : public TaskProvider { | 16 class BrowserProcessTaskProvider : public TaskProvider { |
| 16 public: | 17 public: |
| 17 BrowserProcessTaskProvider(); | 18 BrowserProcessTaskProvider(); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 30 // This is the task that represents the one and only main browser process. It | 31 // This is the task that represents the one and only main browser process. It |
| 31 // lives as long as the browser lives. | 32 // lives as long as the browser lives. |
| 32 BrowserProcessTask browser_process_task_; | 33 BrowserProcessTask browser_process_task_; |
| 33 | 34 |
| 34 DISALLOW_COPY_AND_ASSIGN(BrowserProcessTaskProvider); | 35 DISALLOW_COPY_AND_ASSIGN(BrowserProcessTaskProvider); |
| 35 }; | 36 }; |
| 36 | 37 |
| 37 } // namespace task_management | 38 } // namespace task_management |
| 38 | 39 |
| 39 #endif // CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_BROWSER_PROCESS_TASK_PROVIDE
R_H_ | 40 #endif // CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_BROWSER_PROCESS_TASK_PROVIDE
R_H_ |
| OLD | NEW |