| 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 "storage/browser/blob/blob_async_builder_host.h" | 5 #include "storage/browser/blob/blob_async_builder_host.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 #include <string.h> | 9 #include <string.h> |
| 10 | 10 |
| (...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 608 &context_); | 608 &context_); |
| 609 EXPECT_EQ(BlobTransportResult::CANCEL_REFERENCED_BLOB_BROKEN, | 609 EXPECT_EQ(BlobTransportResult::CANCEL_REFERENCED_BLOB_BROKEN, |
| 610 host_.RegisterBlobUUID(kBlob2, kContentType, kContentDisposition, | 610 host_.RegisterBlobUUID(kBlob2, kContentType, kContentDisposition, |
| 611 {kBlob1}, &context_)); | 611 {kBlob1}, &context_)); |
| 612 EXPECT_FALSE(host_.IsBeingBuilt(kBlob2)); | 612 EXPECT_FALSE(host_.IsBeingBuilt(kBlob2)); |
| 613 EXPECT_FALSE(IsBeingBuiltInContext(kBlob2)); | 613 EXPECT_FALSE(IsBeingBuiltInContext(kBlob2)); |
| 614 EXPECT_TRUE(context_.GetBlobDataFromUUID(kBlob2)->IsBroken()); | 614 EXPECT_TRUE(context_.GetBlobDataFromUUID(kBlob2)->IsBroken()); |
| 615 }; | 615 }; |
| 616 | 616 |
| 617 } // namespace storage | 617 } // namespace storage |
| OLD | NEW |