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

Unified Diff: content/public/browser/power_usage_monitor.h

Issue 560553005: Battery impact UMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix review comments Created 6 years, 1 month 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
« no previous file with comments | « content/content_tests.gypi ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/power_usage_monitor.h
diff --git a/content/app/mojo/mojo_init.h b/content/public/browser/power_usage_monitor.h
similarity index 51%
copy from content/app/mojo/mojo_init.h
copy to content/public/browser/power_usage_monitor.h
index 4a4e5d4284c0199ba2606f60ab9a0a510cea8f15..f28b98c316655cb5903ae0a853bba26e9b989352 100644
--- a/content/app/mojo/mojo_init.h
+++ b/content/public/browser/power_usage_monitor.h
@@ -2,16 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_APP_MOJO_MOJO_INIT_H_
-#define CONTENT_APP_MOJO_MOJO_INIT_H_
+#ifndef CONTENT_PUBLIC_BROWSER_POWER_USAGE_MONITOR_H_
+#define CONTENT_PUBLIC_BROWSER_POWER_USAGE_MONITOR_H_
#include "content/common/content_export.h"
namespace content {
-// Perform any necessary Mojo initialization.
-CONTENT_EXPORT void InitializeMojo();
+// Start the PowerUsageMonitor.
+CONTENT_EXPORT void StartPowerUsageMonitor();
} // namespace content
-#endif // CONTENT_COMMON_MOJO_MOJO_INIT_H_
+#endif // CONTENT_PUBLIC_BROWSER_POWER_USAGE_MONITOR_H_
« no previous file with comments | « content/content_tests.gypi ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698