| 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);
|
|
|