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

Unified Diff: storage/browser/blob/blob_storage_context.h

Issue 917353002: IndexedDB: Test that Blink ack's blobs upon receipt. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test working with num_blobs() Created 5 years, 10 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: storage/browser/blob/blob_storage_context.h
diff --git a/storage/browser/blob/blob_storage_context.h b/storage/browser/blob/blob_storage_context.h
index 86610cfdfcdbcd31700dcf40b395ee0ef726581d..89cee3bcbfbb9739f71f967e2925f50f42d07f52 100644
--- a/storage/browser/blob/blob_storage_context.h
+++ b/storage/browser/blob/blob_storage_context.h
@@ -62,6 +62,7 @@ class STORAGE_EXPORT BlobStorageContext
void RevokePublicBlobURL(const GURL& url);
size_t memory_usage() const { return memory_usage_; }
+ size_t num_blobs() const { return blob_map_.size(); }
jsbell 2015/02/13 16:53:29 naming nit: Avoid use abbreviations like 'num' Lo
cmumford 2015/02/13 17:03:39 Done.
private:
friend class content::BlobStorageHost;

Powered by Google App Engine
This is Rietveld 408576698