Index: content/browser/power_profiler/power_data_provider.h |
diff --git a/content/browser/power_profiler/power_data_provider.h b/content/browser/power_profiler/power_data_provider.h |
index 85f67e7f5fb9a048c45eab8cf5cea4fe457a5d54..897bc9b636ca3158a77d70d80a9b9ad02d8e9203 100644 |
--- a/content/browser/power_profiler/power_data_provider.h |
+++ b/content/browser/power_profiler/power_data_provider.h |
@@ -21,6 +21,12 @@ typedef std::vector<PowerEvent> PowerEventVector; |
// A class used to get power usage. |
class PowerDataProvider { |
public: |
+ enum AccuracyLevel { |
+ High, |
+ Moderate, |
+ Low |
+ }; |
+ |
static scoped_ptr<PowerDataProvider> Create(); |
PowerDataProvider() {} |
@@ -31,6 +37,9 @@ class PowerDataProvider { |
// Returns sampling rate at which the provider can operate. |
virtual base::TimeDelta GetSamplingRate() = 0; |
+ |
+ // Returns accuracy level of the provider. |
+ virtual AccuracyLevel GetAccuracyLevel() = 0; |
}; |
} // namespace content |