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_data_builder.h" | 5 #include "storage/browser/blob/blob_data_builder.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "storage/common/data_element.h" | 10 #include "storage/common/data_element.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 | 22 |
23 BlobDataBuilder builder(kId); | 23 BlobDataBuilder builder(kId); |
24 builder.AppendFutureFile(0, 10, 0); | 24 builder.AppendFutureFile(0, 10, 0); |
25 EXPECT_TRUE( | 25 EXPECT_TRUE( |
26 BlobDataBuilder::IsFutureFileItem(builder.items_[0]->data_element())); | 26 BlobDataBuilder::IsFutureFileItem(builder.items_[0]->data_element())); |
27 EXPECT_EQ(0ull, BlobDataBuilder::GetFutureFileID( | 27 EXPECT_EQ(0ull, BlobDataBuilder::GetFutureFileID( |
28 builder.items_[0]->data_element())); | 28 builder.items_[0]->data_element())); |
29 } | 29 } |
30 | 30 |
31 } // namespace storage | 31 } // namespace storage |
OLD | NEW |