| 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_SAMPLING_TASK_GROUP_SAMPLER_H_ |    5 #ifndef CHROME_BROWSER_TASK_MANAGEMENT_SAMPLING_TASK_GROUP_SAMPLER_H_ | 
|    6 #define CHROME_BROWSER_TASK_MANAGEMENT_SAMPLING_TASK_GROUP_SAMPLER_H_ |    6 #define CHROME_BROWSER_TASK_MANAGEMENT_SAMPLING_TASK_GROUP_SAMPLER_H_ | 
|    7  |    7  | 
|    8 #include <stdint.h> |    8 #include <stdint.h> | 
|    9  |    9  | 
|   10 #include "base/callback.h" |   10 #include "base/callback.h" | 
|   11 #include "base/macros.h" |   11 #include "base/macros.h" | 
|   12 #include "base/memory/ref_counted.h" |   12 #include "base/memory/ref_counted.h" | 
 |   13 #include "base/memory/scoped_ptr.h" | 
|   13 #include "base/process/process.h" |   14 #include "base/process/process.h" | 
|   14 #include "base/process/process_handle.h" |   15 #include "base/process/process_handle.h" | 
|   15 #include "base/process/process_metrics.h" |   16 #include "base/process/process_metrics.h" | 
|   16 #include "base/sequence_checker.h" |   17 #include "base/sequence_checker.h" | 
|   17 #include "base/sequenced_task_runner.h" |   18 #include "base/sequenced_task_runner.h" | 
|   18 #include "build/build_config.h" |   19 #include "build/build_config.h" | 
|   19  |   20  | 
|   20 namespace task_management { |   21 namespace task_management { | 
|   21  |   22  | 
|   22 // Wraps the memory usage stats values together so that it can be sent between |   23 // Wraps the memory usage stats values together so that it can be sent between | 
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  100   // To assert we're running on the correct thread. |  101   // To assert we're running on the correct thread. | 
|  101   base::SequenceChecker worker_pool_sequenced_checker_; |  102   base::SequenceChecker worker_pool_sequenced_checker_; | 
|  102  |  103  | 
|  103   DISALLOW_COPY_AND_ASSIGN(TaskGroupSampler); |  104   DISALLOW_COPY_AND_ASSIGN(TaskGroupSampler); | 
|  104 }; |  105 }; | 
|  105  |  106  | 
|  106 }  // namespace task_management |  107 }  // namespace task_management | 
|  107  |  108  | 
|  108  |  109  | 
|  109 #endif  // CHROME_BROWSER_TASK_MANAGEMENT_SAMPLING_TASK_GROUP_SAMPLER_H_ |  110 #endif  // CHROME_BROWSER_TASK_MANAGEMENT_SAMPLING_TASK_GROUP_SAMPLER_H_ | 
| OLD | NEW |