| 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_CHILD_PROCESS_TASK_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_CHILD_PROCESS_TASK_PROVIDER_H_ |
| 6 #define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_CHILD_PROCESS_TASK_PROVIDER_H_ | 6 #define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_CHILD_PROCESS_TASK_PROVIDER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/macros.h" |
| 11 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 12 #include "chrome/browser/task_management/providers/task_provider.h" | 13 #include "chrome/browser/task_management/providers/task_provider.h" |
| 13 #include "content/public/browser/browser_child_process_observer.h" | 14 #include "content/public/browser/browser_child_process_observer.h" |
| 14 | 15 |
| 15 namespace content { | 16 namespace content { |
| 16 struct ChildProcessData; | 17 struct ChildProcessData; |
| 17 } | 18 } |
| 18 | 19 |
| 19 namespace task_management { | 20 namespace task_management { |
| 20 | 21 |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 // Always keep this the last member of this class to make sure it's the | 84 // Always keep this the last member of this class to make sure it's the |
| 84 // first thing to be destructed. | 85 // first thing to be destructed. |
| 85 base::WeakPtrFactory<ChildProcessTaskProvider> weak_ptr_factory_; | 86 base::WeakPtrFactory<ChildProcessTaskProvider> weak_ptr_factory_; |
| 86 | 87 |
| 87 DISALLOW_COPY_AND_ASSIGN(ChildProcessTaskProvider); | 88 DISALLOW_COPY_AND_ASSIGN(ChildProcessTaskProvider); |
| 88 }; | 89 }; |
| 89 | 90 |
| 90 } // namespace task_management | 91 } // namespace task_management |
| 91 | 92 |
| 92 #endif // CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_CHILD_PROCESS_TASK_PROVIDER_
H_ | 93 #endif // CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_CHILD_PROCESS_TASK_PROVIDER_
H_ |
| OLD | NEW |