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

Unified Diff: chrome/browser/ui/webui/options/chromeos/storage_manager_handler.h

Issue 2073903002: Storage manager: Add browsing data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a minor issue on closure annotation. Created 4 years, 6 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/chromeos/storage_manager_handler.h
diff --git a/chrome/browser/ui/webui/options/chromeos/storage_manager_handler.h b/chrome/browser/ui/webui/options/chromeos/storage_manager_handler.h
index 57eb7917b9be6f831144d4e46778df8ef2a5d9bc..655ba62ad5841ad06f16a0061b6d76191c20ad0c 100644
--- a/chrome/browser/ui/webui/options/chromeos/storage_manager_handler.h
+++ b/chrome/browser/ui/webui/options/chromeos/storage_manager_handler.h
@@ -59,6 +59,12 @@ class StorageManagerHandler : public ::options::OptionsPageUIHandler {
// Callback to update the UI about the size of Drive Cache.
void OnGetDriveCacheSize(int64_t size);
+ // Requests updating the size of browsing data.
+ void UpdateBrowsingDataSize();
+
+ // Callback to update the UI about the size of browsing data.
+ void OnGetBrowsingDataSize(bool is_site_data, int64_t size);
+
// Requests updating the space size used by Android apps and cache.
void UpdateArcSize();
@@ -68,6 +74,12 @@ class StorageManagerHandler : public ::options::OptionsPageUIHandler {
// Callback called when clearing Drive cache is done.
void OnClearDriveCacheDone(bool success);
+ // Total size of cache data in browsing data.
+ int64_t browser_cache_size_;
+
+ // Total size of site data in browsing data.
+ int64_t browser_site_data_size_;
+
base::WeakPtrFactory<StorageManagerHandler> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(StorageManagerHandler);

Powered by Google App Engine
This is Rietveld 408576698