| 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 <stdint.h> | 5 #include <stdint.h> |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 | 8 |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/memory/ptr_util.h" |
| 10 #include "base/test/test_simple_task_runner.h" | 11 #include "base/test/test_simple_task_runner.h" |
| 11 #include "content/browser/indexed_db/indexed_db_active_blob_registry.h" | 12 #include "content/browser/indexed_db/indexed_db_active_blob_registry.h" |
| 12 #include "content/browser/indexed_db/indexed_db_backing_store.h" | 13 #include "content/browser/indexed_db/indexed_db_backing_store.h" |
| 13 #include "content/browser/indexed_db/indexed_db_fake_backing_store.h" | 14 #include "content/browser/indexed_db/indexed_db_fake_backing_store.h" |
| 14 #include "content/browser/indexed_db/mock_indexed_db_factory.h" | 15 #include "content/browser/indexed_db/mock_indexed_db_factory.h" |
| 15 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
| 16 #include "url/origin.h" | 17 #include "url/origin.h" |
| 17 | 18 |
| 18 namespace content { | 19 namespace content { |
| 19 | 20 |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 RunUntilIdle(); | 274 RunUntilIdle(); |
| 274 | 275 |
| 275 // Nothing changes. | 276 // Nothing changes. |
| 276 EXPECT_TRUE(factory()->CheckSingleOriginInUse(backing_store()->origin())); | 277 EXPECT_TRUE(factory()->CheckSingleOriginInUse(backing_store()->origin())); |
| 277 EXPECT_TRUE(backing_store()->CheckUnusedBlobsEmpty()); | 278 EXPECT_TRUE(backing_store()->CheckUnusedBlobsEmpty()); |
| 278 } | 279 } |
| 279 | 280 |
| 280 } // namespace | 281 } // namespace |
| 281 | 282 |
| 282 } // namespace content | 283 } // namespace content |
| OLD | NEW |