Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1071)

Unified Diff: content/browser/power_profiler/power_data_provider_ia_win.h

Issue 332943005: [Chromium] [PowerProfiler] Support accuracy level attribute for power data provider. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch for landing! Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/power_profiler/power_data_provider_ia_win.h
diff --git a/content/browser/power_profiler/power_data_provider_ia_win.h b/content/browser/power_profiler/power_data_provider_ia_win.h
index 2c7e489328d9c5e15197b03385cff02bf1e0d0b7..925ca1688547852452dd84c87e8122064020b369 100644
--- a/content/browser/power_profiler/power_data_provider_ia_win.h
+++ b/content/browser/power_profiler/power_data_provider_ia_win.h
@@ -20,6 +20,7 @@ class PowerDataProviderIA : public PowerDataProvider {
bool Initialize();
virtual PowerEventVector GetData() OVERRIDE;
virtual base::TimeDelta GetSamplingRate() OVERRIDE;
+ virtual AccuracyLevel GetAccuracyLevel() OVERRIDE { return High; }
private:
CIntelPowerGadgetLib energy_lib_;
« no previous file with comments | « content/browser/power_profiler/power_data_provider.h ('k') | content/browser/power_profiler/power_profiler_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698