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 c261b3cbeeaf38154946e9f2d0dcb932d39c65d9..0a847dfd1bb322e981cfc84af5642ca3134bb1b5 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> |
@@ -82,6 +83,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: |
@@ -98,6 +104,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); |