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