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_; |