summaryrefslogtreecommitdiffstats
path: root/components/power/origin_power_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'components/power/origin_power_map.h')
-rw-r--r--components/power/origin_power_map.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/power/origin_power_map.h b/components/power/origin_power_map.h
index 36caa02..3d664da 100644
--- a/components/power/origin_power_map.h
+++ b/components/power/origin_power_map.h
@@ -43,6 +43,9 @@ class OriginPowerMap : public KeyedService {
// updating for all origins this cycle.
void OnAllOriginsUpdated();
+ // Clears all URLs out of the map.
+ void ClearOriginMap();
+
private:
// OriginMap maps a URL to the amount of power consumed by the URL using the
// same units as |total_consumed_|.