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

Unified Diff: chrome/browser/content_settings/local_shared_objects_container.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: " 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
Index: chrome/browser/content_settings/local_shared_objects_container.h
diff --git a/chrome/browser/content_settings/local_shared_objects_container.h b/chrome/browser/content_settings/local_shared_objects_container.h
index 6efedf0f47ba0e02b59846198cec8be4a592b1d3..149541a7b25019f108b2b5460ccd1f264599332b 100644
--- a/chrome/browser/content_settings/local_shared_objects_container.h
+++ b/chrome/browser/content_settings/local_shared_objects_container.h
@@ -15,6 +15,7 @@ class CannedBrowsingDataFileSystemHelper;
class CannedBrowsingDataIndexedDBHelper;
class CannedBrowsingDataLocalStorageHelper;
class CannedBrowsingDataServerBoundCertHelper;
+class GURL;
class Profile;
class LocalSharedObjectsContainer {
@@ -25,9 +26,11 @@ class LocalSharedObjectsContainer {
// Empties the container.
void Reset();
- // Returns true if the container is empty and contains no local shared
- // objects.
- bool IsEmpty() const;
+ // Returns the number of objects stored in the container.
+ size_t GetObjectCount() const;
+
+ // Returns the number of objects for the given |origin|.
+ size_t GetObjectCountForDomain(const GURL& url) const;
CannedBrowsingDataAppCacheHelper* appcaches() const {
return appcaches_;

Powered by Google App Engine
This is Rietveld 408576698