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

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, 8 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..2065e7594760cc5cb6134c8ef92e02ab1c0bd4e2 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 Size() const;
bauerb at google 2012/04/27 16:12:50 To keep the interface consistent, could you name t
markusheintz_ 2012/05/10 16:32:36 Done.
+
+ // 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