| Index: chrome/browser/chromeos/resource_reporter/resource_reporter.h
|
| diff --git a/chrome/browser/chromeos/resource_reporter/resource_reporter.h b/chrome/browser/chromeos/resource_reporter/resource_reporter.h
|
| index cfa2bc82152a4af2d909ac800381bc9233dda300..e33992a552a8e97f86b9bb03340b04f92acc7843 100644
|
| --- a/chrome/browser/chromeos/resource_reporter/resource_reporter.h
|
| +++ b/chrome/browser/chromeos/resource_reporter/resource_reporter.h
|
| @@ -8,6 +8,7 @@
|
| #include <stddef.h>
|
| #include <stdint.h>
|
|
|
| +#include <memory>
|
| #include <string>
|
| #include <vector>
|
|
|
| @@ -132,12 +133,12 @@ class ResourceReporter : public task_manager::TaskManagerObserver,
|
| NUM_RANGES = 7,
|
| };
|
|
|
| - // The CPU and memory thresholds beyond which the tasks will be reported.
|
| - static const double kTaskCpuThresholdForReporting;
|
| - static const int64_t kTaskMemoryThresholdForReporting;
|
| -
|
| ResourceReporter();
|
|
|
| + // The CPU and memory thresholds beyond which the tasks will be reported.
|
| + static double GetTaskCpuThresholdForReporting();
|
| + static int64_t GetTaskMemoryThresholdForReporting();
|
| +
|
| // Creates a Rappor sample for the given |task_record|.
|
| static std::unique_ptr<rappor::Sample> CreateRapporSample(
|
| rappor::RapporServiceImpl* rappor_service,
|
|
|