| 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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 // We still populate future data, as the strategy assumes we will be | 347 // We still populate future data, as the strategy assumes we will be |
| 348 // requesting the data. | 348 // requesting the data. |
| 349 BlobDataBuilder expected_builder(kNewUUID); | 349 BlobDataBuilder expected_builder(kNewUUID); |
| 350 expected_builder.AppendFutureData(10); | 350 expected_builder.AppendFutureData(10); |
| 351 expected_builder.AppendBlob(kFakeBlobUUID); | 351 expected_builder.AppendBlob(kFakeBlobUUID); |
| 352 expected_builder.AppendFutureData(80); | 352 expected_builder.AppendFutureData(80); |
| 353 EXPECT_EQ(expected_builder, builder); | 353 EXPECT_EQ(expected_builder, builder); |
| 354 } | 354 } |
| 355 } // namespace | 355 } // namespace |
| 356 } // namespace storage | 356 } // namespace storage |
| OLD | NEW |