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

Unified Diff: chrome/browser/browsing_data_appcache_helper.h

Issue 10092013: Display third party cookies and site data counts in the WebsiteSettings UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: "Fix CannedBrowsingDataDatabaseHelperTest.*" Created 8 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/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_appcache_helper.h
diff --git a/chrome/browser/browsing_data_appcache_helper.h b/chrome/browser/browsing_data_appcache_helper.h
index 668cadd194e8f92a58f7b3f20a4b798b84761603..7dc17907696505ea67395220f38989996b9aa799 100644
--- a/chrome/browser/browsing_data_appcache_helper.h
+++ b/chrome/browser/browsing_data_appcache_helper.h
@@ -23,6 +23,8 @@ class ResourceContext;
class BrowsingDataAppCacheHelper
: public base::RefCountedThreadSafe<BrowsingDataAppCacheHelper> {
public:
+ typedef std::map<GURL, appcache::AppCacheInfoVector> OriginAppCacheInfoMap;
+
explicit BrowsingDataAppCacheHelper(Profile* profile);
virtual void StartFetching(const base::Closure& completion_callback);
@@ -72,6 +74,12 @@ class CannedBrowsingDataAppCacheHelper : public BrowsingDataAppCacheHelper {
// True if no appcaches are currently stored.
bool empty() const;
+ // Returns the number of app cache resources.
+ size_t GetAppCacheCount() const;
+
+ // Returns a current map with the |AppCacheInfoVector|s per origin.
+ const OriginAppCacheInfoMap& GetOriginAppCacheInfoMap() const;
+
// BrowsingDataAppCacheHelper methods.
virtual void StartFetching(const base::Closure& completion_callback) OVERRIDE;
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/browsing_data_appcache_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698