Index: content/child/blob_storage/blob_consolidation.h |
diff --git a/content/child/blob_storage/blob_consolidation.h b/content/child/blob_storage/blob_consolidation.h |
index 7a4a3de22a1ba0fbc452ef06762e56d63c2ed904..04a4664baed98b1690972a3bdcf71b699af39acc 100644 |
--- a/content/child/blob_storage/blob_consolidation.h |
+++ b/content/child/blob_storage/blob_consolidation.h |
@@ -8,6 +8,7 @@ |
#include <stddef.h> |
#include <stdint.h> |
+#include <set> |
#include <string> |
#include <vector> |
@@ -83,6 +84,11 @@ class CONTENT_EXPORT BlobConsolidation { |
return consolidated_items_; |
} |
+ // These are all of the blobs referenced in the construction of this blob. |
+ const std::set<std::string> referenced_blobs() const { |
+ return referenced_blobs_; |
+ } |
+ |
size_t total_memory() const { return total_memory_; } |
// Reads memory from the given item into the given buffer. Returns: |
@@ -99,6 +105,7 @@ class CONTENT_EXPORT BlobConsolidation { |
private: |
size_t total_memory_; |
+ std::set<std::string> referenced_blobs_; |
std::vector<ConsolidatedItem> consolidated_items_; |
DISALLOW_COPY_AND_ASSIGN(BlobConsolidation); |