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

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: Added comment to test and num_blobs -> blob_count 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..175e900200e321c8d846b9c37c3424f7c479973e 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 blob_count() const { return blob_map_.size(); }
private:
friend class content::BlobStorageHost;

Powered by Google App Engine
This is Rietveld 408576698