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

Unified Diff: chrome/browser/ui/webui/options/website_settings_handler.h

Issue 501063002: Surface battery auditing information on the website settings option page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@origin-power-map
Patch Set: Rebase. Created 6 years, 4 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: chrome/browser/ui/webui/options/website_settings_handler.h
diff --git a/chrome/browser/ui/webui/options/website_settings_handler.h b/chrome/browser/ui/webui/options/website_settings_handler.h
index c8578ae90835e062786308715b2b5088d2dbc952..2ebf495840f6529979385b174bd8e1e425c99443 100644
--- a/chrome/browser/ui/webui/options/website_settings_handler.h
+++ b/chrome/browser/ui/webui/options/website_settings_handler.h
@@ -70,6 +70,10 @@ class WebsiteSettingsHandler : public content_settings::Observer,
// |args| is the URL.
void HandleMaybeShowEditPage(const base::ListValue* args);
+ // Get all origins that have used power, filter them by |last_filter_|, and
+ // update the page.
+ void HandleUpdateBatteryUsage(const base::ListValue* args);
+
// Deletes the local storage and repopulates the page.
void HandleDeleteLocalStorage(const base::ListValue* args);

Powered by Google App Engine
This is Rietveld 408576698