diff options
author | cmumford <cmumford@chromium.org> | 2015-02-13 16:09:44 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-14 00:10:29 +0000 |
commit | e07469c9746de915c9cd3ff3a99b4cbe01c484aa (patch) | |
tree | ceb4d10b4c67ea645417f9477970a9ed0676b1c9 /storage | |
parent | 0cad7260a2e5f8a3a26db8ac57921d06138c277e (diff) | |
download | chromium_src-e07469c9746de915c9cd3ff3a99b4cbe01c484aa.zip chromium_src-e07469c9746de915c9cd3ff3a99b4cbe01c484aa.tar.gz chromium_src-e07469c9746de915c9cd3ff3a99b4cbe01c484aa.tar.bz2 |
IndexedDB: Test that Blink ack's blobs upon receipt.
Verified working by commenting out the call to ackReceivedBlobs in
Blink's IDBRequest::setBlobInfo() - test failed as expected.
BUG=457502
Review URL: https://codereview.chromium.org/917353002
Cr-Commit-Position: refs/heads/master@{#316339}
Diffstat (limited to 'storage')
-rw-r--r-- | storage/browser/blob/blob_storage_context.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/browser/blob/blob_storage_context.h b/storage/browser/blob/blob_storage_context.h index 86610cf..175e9002 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; |