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

Unified Diff: components/enhanced_bookmarks/persistent_image_store.h

Issue 305963004: Add GetStoreSize() to ImageStore to know the actual db size. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: size += bitmap.getSize(); Created 6 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: components/enhanced_bookmarks/persistent_image_store.h
diff --git a/components/enhanced_bookmarks/persistent_image_store.h b/components/enhanced_bookmarks/persistent_image_store.h
index aaa86fa5f2112cabe8322eefb0c22d23d8c9bde9..986b98f975c94a599e790db1c03baf8826ccd7ab 100644
--- a/components/enhanced_bookmarks/persistent_image_store.h
+++ b/components/enhanced_bookmarks/persistent_image_store.h
@@ -26,6 +26,7 @@ class PersistentImageStore : public ImageStore {
virtual gfx::Size GetSize(const GURL& page_url) OVERRIDE;
virtual void GetAllPageUrls(std::set<GURL>* urls) OVERRIDE;
virtual void ClearAll() OVERRIDE;
+ virtual int64 GetStoreSizeInBytes() OVERRIDE;
protected:
virtual ~PersistentImageStore();
« no previous file with comments | « components/enhanced_bookmarks/image_store_unittest.cc ('k') | components/enhanced_bookmarks/persistent_image_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698