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 #include <stddef.h> | 5 #include <stddef.h> |
6 #include <stdint.h> | 6 #include <stdint.h> |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
341 // We still populate future data, as the strategy assumes we will be | 341 // We still populate future data, as the strategy assumes we will be |
342 // requesting the data. | 342 // requesting the data. |
343 BlobDataBuilder expected_builder(kNewUUID); | 343 BlobDataBuilder expected_builder(kNewUUID); |
344 expected_builder.AppendFutureData(10); | 344 expected_builder.AppendFutureData(10); |
345 expected_builder.AppendBlob(kFakeBlobUUID); | 345 expected_builder.AppendBlob(kFakeBlobUUID); |
346 expected_builder.AppendFutureData(80); | 346 expected_builder.AppendFutureData(80); |
347 EXPECT_EQ(expected_builder, builder); | 347 EXPECT_EQ(expected_builder, builder); |
348 } | 348 } |
349 } // namespace | 349 } // namespace |
350 } // namespace storage | 350 } // namespace storage |
OLD | NEW |