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

Unified Diff: chrome/browser/browsing_data/cache_counter.h

Issue 2860573004: [Offline Pages] Add cached offline page utils and show usage in settings. (Closed)
Patch Set: Tests fixed. Created 3 years, 7 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/browsing_data/cache_counter.h
diff --git a/chrome/browser/browsing_data/cache_counter.h b/chrome/browser/browsing_data/cache_counter.h
index 3b4d4d28ce945e51c28602e1a8fbfd563ca7c948..c3c47fabd755c4c3344abfdcb702dd21bb66b181 100644
--- a/chrome/browser/browsing_data/cache_counter.h
+++ b/chrome/browser/browsing_data/cache_counter.h
@@ -42,7 +42,10 @@ class CacheCounter : public browsing_data::BrowsingDataCounter {
private:
void Count() override;
- void OnCacheSizeCalculated(int64_t bytes, bool is_upper_limit);
+ void OnCacheSizeCalculated(int64_t cache_bytes, bool is_upper_limit);
+ void OnOfflinePageSizeCalculated(int64_t cache_bytes,
+ bool is_upper_limit,
+ int64_t cached_offline_page_size);
void FetchEstimate(
base::WeakPtr<browsing_data::ConditionalCacheCountingHelper>);

Powered by Google App Engine
This is Rietveld 408576698