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

Unified Diff: components/browsing_data/content/conditional_cache_counting_helper.h

Issue 2860573004: [Offline Pages] Add cached offline page utils and show usage in settings. (Closed)
Patch Set: address missed comment 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: components/browsing_data/content/conditional_cache_counting_helper.h
diff --git a/components/browsing_data/content/conditional_cache_counting_helper.h b/components/browsing_data/content/conditional_cache_counting_helper.h
index 5a071b78c6c32f3228679607527beffc3f6a29cf..0bca3f364783c88250d6cd34a26d9fe163522136 100644
--- a/components/browsing_data/content/conditional_cache_counting_helper.h
+++ b/components/browsing_data/content/conditional_cache_counting_helper.h
@@ -25,9 +25,9 @@ namespace browsing_data {
// Helper to count the size of the http cache data from a StoragePartition.
class ConditionalCacheCountingHelper {
public:
- // Returns the number bytes in the selected range and if this value is an
- // upper estimate.
- typedef base::Callback<void(int64_t, bool)> CacheCountCallback;
+ // Returns if this value is an upper estimate and the number bytes in the
+ // selected range.
+ typedef base::Callback<void(bool, int64_t)> CacheCountCallback;
static ConditionalCacheCountingHelper* CreateForRange(
content::StoragePartition* storage_partition,

Powered by Google App Engine
This is Rietveld 408576698