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

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

Issue 2092663002: Add a counter to calculate the total size of site data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments. 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
« no previous file with comments | « no previous file | chrome/browser/browsing_data/mock_browsing_data_appcache_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browsing_data/mock_browsing_data_appcache_helper.h
diff --git a/chrome/browser/browsing_data/mock_browsing_data_appcache_helper.h b/chrome/browser/browsing_data/mock_browsing_data_appcache_helper.h
index 4e2a71ce4c060408dae7cfeebded19e1c58f2296..30631bebb026927f7ad684a8e300ffb4f151507e 100644
--- a/chrome/browser/browsing_data/mock_browsing_data_appcache_helper.h
+++ b/chrome/browser/browsing_data/mock_browsing_data_appcache_helper.h
@@ -18,11 +18,19 @@ class MockBrowsingDataAppCacheHelper
void StartFetching(const FetchCallback& completion_callback) override;
void DeleteAppCacheGroup(const GURL& manifest_url) override;
+ // Adds AppCache samples.
+ void AddAppCacheSamples();
+
+ // Notifies the callback.
+ void Notify();
+
private:
~MockBrowsingDataAppCacheHelper() override;
FetchCallback completion_callback_;
+ scoped_refptr<content::AppCacheInfoCollection> response_;
+
DISALLOW_COPY_AND_ASSIGN(MockBrowsingDataAppCacheHelper);
};
« no previous file with comments | « no previous file | chrome/browser/browsing_data/mock_browsing_data_appcache_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698