OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef STORAGE_BROWSER_BLOB_BLOB_DATA_SNAPSHOT_H_ | 5 #ifndef STORAGE_BROWSER_BLOB_BLOB_DATA_SNAPSHOT_H_ |
6 #define STORAGE_BROWSER_BLOB_BLOB_DATA_SNAPSHOT_H_ | 6 #define STORAGE_BROWSER_BLOB_BLOB_DATA_SNAPSHOT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 const std::string& content_type, | 46 const std::string& content_type, |
47 const std::string& content_disposition); | 47 const std::string& content_disposition); |
48 BlobDataSnapshot(const std::string& uuid, | 48 BlobDataSnapshot(const std::string& uuid, |
49 const std::string& content_type, | 49 const std::string& content_type, |
50 const std::string& content_disposition, | 50 const std::string& content_disposition, |
51 const std::vector<scoped_refptr<BlobDataItem>>& items); | 51 const std::vector<scoped_refptr<BlobDataItem>>& items); |
52 | 52 |
53 const std::string uuid_; | 53 const std::string uuid_; |
54 const std::string content_type_; | 54 const std::string content_type_; |
55 const std::string content_disposition_; | 55 const std::string content_disposition_; |
| 56 |
56 // Non-const for constrution in BlobStorageContext | 57 // Non-const for constrution in BlobStorageContext |
57 std::vector<scoped_refptr<BlobDataItem>> items_; | 58 std::vector<scoped_refptr<BlobDataItem>> items_; |
58 }; | 59 }; |
59 | 60 |
60 } // namespace storage | 61 } // namespace storage |
61 #endif // STORAGE_BROWSER_BLOB_BLOB_DATA_SNAPSHOT_H_ | 62 #endif // STORAGE_BROWSER_BLOB_BLOB_DATA_SNAPSHOT_H_ |
OLD | NEW |