| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #include "storage/browser/blob/blob_storage_context.h" | 5 #include "storage/browser/blob/blob_storage_context.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 | 8 |
| 9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 10 #include "storage/browser/blob/blob_data_builder.h" | 10 #include "storage/browser/blob/blob_data_builder.h" |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 EXPECT_EQ(ShareableBlobDataItem::POPULATED_WITHOUT_QUOTA, item->state()); | 212 EXPECT_EQ(ShareableBlobDataItem::POPULATED_WITHOUT_QUOTA, item->state()); |
| 213 | 213 |
| 214 const DataElement& dest_element = item->item()->data_element(); | 214 const DataElement& dest_element = item->item()->data_element(); |
| 215 EXPECT_EQ(DataElement::TYPE_FILE, dest_element.type()); | 215 EXPECT_EQ(DataElement::TYPE_FILE, dest_element.type()); |
| 216 EXPECT_EQ(static_cast<uint64_t>(5), dest_element.length()); | 216 EXPECT_EQ(static_cast<uint64_t>(5), dest_element.length()); |
| 217 EXPECT_EQ(*item1, *slice.first_source_item); | 217 EXPECT_EQ(*item1, *slice.first_source_item); |
| 218 ASSERT_EQ(1u, slice.dest_items.size()); | 218 ASSERT_EQ(1u, slice.dest_items.size()); |
| 219 } | 219 } |
| 220 | 220 |
| 221 } // namespace storage | 221 } // namespace storage |
| OLD | NEW |