| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 <stdint.h> | 5 #include <stdint.h> |
| 6 #include <limits> | 6 #include <limits> |
| 7 #include <string> | 7 #include <string> |
| 8 #include <utility> | 8 #include <utility> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 496 file_writer_delegate_.reset(); | 496 file_writer_delegate_.reset(); |
| 497 | 497 |
| 498 EXPECT_EQ(pre_write_usage + allowed_growth, usage()); | 498 EXPECT_EQ(pre_write_usage + allowed_growth, usage()); |
| 499 EXPECT_EQ(GetFileSizeOnDisk("test"), usage()); | 499 EXPECT_EQ(GetFileSizeOnDisk("test"), usage()); |
| 500 EXPECT_EQ(kOverlap + allowed_growth, result.bytes_written()); | 500 EXPECT_EQ(kOverlap + allowed_growth, result.bytes_written()); |
| 501 EXPECT_EQ(base::File::FILE_ERROR_NO_SPACE, result.status()); | 501 EXPECT_EQ(base::File::FILE_ERROR_NO_SPACE, result.status()); |
| 502 } | 502 } |
| 503 } | 503 } |
| 504 | 504 |
| 505 } // namespace content | 505 } // namespace content |
| OLD | NEW |