Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Side by Side Diff: content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc

Issue 1963293002: Replacing Indexed DB Chromium IPC with Mojo Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactoring after Passing URLRequestContextGetter. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « content/browser/indexed_db/indexed_db.typemap ('k') | content/browser/indexed_db/indexed_db_backing_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698