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

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: 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 eebe0a3d3ffdebd2fc5e5743290168875defdf75..ff6815a2e5bc13b6f1772462ee5f0cc55a6ed936 100644
--- a/chrome/browser/ui/webui/options/website_settings_handler.h
+++ b/chrome/browser/ui/webui/options/website_settings_handler.h
@@ -66,6 +66,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