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

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

Issue 309803002: [PowerProfiler] Power Profiler service should detect the sampling rate from the data provider. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 1c30d5b922f10725bdfc6322be1aa037413695fe..2c7e489328d9c5e15197b03385cff02bf1e0d0b7 100644
--- a/content/browser/power_profiler/power_data_provider_ia_win.h
+++ b/content/browser/power_profiler/power_data_provider_ia_win.h
@@ -5,7 +5,6 @@
#ifndef CONTENT_BROWSER_POWER_PROFILER_POWER_DATA_PROVIDER_IA_WIN_H_
#define CONTENT_BROWSER_POWER_PROFILER_POWER_DATA_PROVIDER_IA_WIN_H_
-#include "base/basictypes.h"
#include "content/browser/power_profiler/power_data_provider.h"
#include "third_party/power_gadget/PowerGadgetLib.h"
@@ -20,6 +19,7 @@ class PowerDataProviderIA : public PowerDataProvider {
bool Initialize();
virtual PowerEventVector GetData() OVERRIDE;
+ virtual base::TimeDelta GetSamplingRate() OVERRIDE;
private:
CIntelPowerGadgetLib energy_lib_;
« no previous file with comments | « content/browser/power_profiler/power_data_provider.h ('k') | content/browser/power_profiler/power_data_provider_ia_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698