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

Side by Side Diff: storage/browser/blob/blob_flattener.h

Issue 2055053003: [BlobAsync] Disk support for blob storage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added back transport controller test, small cleanups Created 4 years, 5 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698