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

Unified Diff: chrome/browser/ui/webui/settings/chromeos/device_storage_handler.h

Issue 2626223002: Show the exact cache size for time ranges if supported (Closed)
Patch Set: rebase Created 3 years, 11 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/settings/chromeos/device_storage_handler.h
diff --git a/chrome/browser/ui/webui/settings/chromeos/device_storage_handler.h b/chrome/browser/ui/webui/settings/chromeos/device_storage_handler.h
index 8a0dabbb59c8195afbe8b47b2767db6b239db442..e99db4a7916066e8616b196d167030cf159f2c32 100644
--- a/chrome/browser/ui/webui/settings/chromeos/device_storage_handler.h
+++ b/chrome/browser/ui/webui/settings/chromeos/device_storage_handler.h
@@ -66,6 +66,9 @@ class StorageHandler : public ::settings::SettingsPageUIHandler {
// Requests updating the size of browsing data.
void UpdateBrowsingDataSize();
+ // Callback to receive the cache size.
+ void OnGetCacheSize(int64_t size, bool is_upper_limit);
+
// Callback to update the UI about the size of browsing data.
void OnGetBrowsingDataSize(bool is_site_data, int64_t size);

Powered by Google App Engine
This is Rietveld 408576698