| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/fileapi/quota/quota_backend_impl.h" | 5 #include "storage/browser/fileapi/quota/quota_backend_impl.h" |
| 6 | 6 |
| 7 #include <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 uint32_t dirty = 0; | 267 uint32_t dirty = 0; |
| 268 ASSERT_TRUE(file_system_usage_cache_.GetDirty(path, &dirty)); | 268 ASSERT_TRUE(file_system_usage_cache_.GetDirty(path, &dirty)); |
| 269 EXPECT_EQ(1u, dirty); | 269 EXPECT_EQ(1u, dirty); |
| 270 | 270 |
| 271 backend_->DecrementDirtyCount(GURL(kOrigin), type); | 271 backend_->DecrementDirtyCount(GURL(kOrigin), type); |
| 272 ASSERT_TRUE(file_system_usage_cache_.GetDirty(path, &dirty)); | 272 ASSERT_TRUE(file_system_usage_cache_.GetDirty(path, &dirty)); |
| 273 EXPECT_EQ(0u, dirty); | 273 EXPECT_EQ(0u, dirty); |
| 274 } | 274 } |
| 275 | 275 |
| 276 } // namespace content | 276 } // namespace content |
| OLD | NEW |