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

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

Issue 184583004: Revert of Chrome power profiler service (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 6 years, 10 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.h
diff --git a/content/browser/power_profiler/power_data_provider.h b/content/browser/power_profiler/power_data_provider.h
deleted file mode 100644
index f6c043811f016479cfacc53ff05150fe25e116ec..0000000000000000000000000000000000000000
--- a/content/browser/power_profiler/power_data_provider.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_BROWSER_POWER_PROFILER_POWER_DATA_PROVIDER_H_
-#define CONTENT_BROWSER_POWER_PROFILER_POWER_DATA_PROVIDER_H_
-
-#include <vector>
-
-#include "base/memory/scoped_ptr.h"
-#include "content/browser/power_profiler/power_event.h"
-
-namespace content {
-
-typedef std::vector<PowerEvent> PowerEventVector;
-
-// A class used to get power usage.
-class PowerDataProvider {
- public:
- static scoped_ptr<PowerDataProvider> Create();
-
- PowerDataProvider() {}
- virtual ~PowerDataProvider() {}
-
- // Returns a vector of power events, one per type, for the types it supports.
- virtual PowerEventVector GetData() = 0;
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_POWER_PROFILER_POWER_DATA_PROVIDER_H_
« no previous file with comments | « content/browser/devtools/devtools_power_handler.cc ('k') | content/browser/power_profiler/power_data_provider_dummy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698