OLD | NEW |
(Empty) | |
| 1 // TODO: Insert description here. (generated by dmurph) |
| 2 |
| 3 #ifndef STORAGE_BROWSER_BLOB_BLOB_FLATTENER_H_ |
| 4 #define STORAGE_BROWSER_BLOB_BLOB_FLATTENER_H_ |
| 5 |
| 6 #include "base/macros.h" |
| 7 |
| 8 #include <map> |
| 9 #include <string> |
| 10 |
| 11 #include "storage/browser/blob/blob_slice.h" |
| 12 #include "storage/browser/blob/blob_storage_registry.h" |
| 13 |
| 14 namespace storage { |
| 15 class BlobDataBuilder; |
| 16 class InternalBlobData; |
| 17 |
| 18 // This takes blob slices |
| 19 class BlobFlattener { |
| 20 public: |
| 21 static void FlattenBlob( |
| 22 const std::string& uuid, |
| 23 InternalBlobData* output_blob, |
| 24 std::vector<BlobStorageRegistry::ItemCopyEntry>* copies_from_built_ref, |
| 25 std::vector<BlobStorageRegistry::ItemCopyEntry>* copies_from_pending_ref, |
| 26 std::map<std::string, BlobSlice> slice_map, |
| 27 const BlobDataBuilder& transportation_result); |
| 28 |
| 29 private: |
| 30 DISALLOW_IMPLICIT_CONSTRUCTORS(BlobFlattener); |
| 31 }; |
| 32 |
| 33 } // namespace storage |
| 34 #endif // STORAGE_BROWSER_BLOB_BLOB_FLATTENER_H_ |
OLD | NEW |