| Index: components/leveldb_proto/proto_database_impl_unittest.cc
|
| diff --git a/components/leveldb_proto/proto_database_impl_unittest.cc b/components/leveldb_proto/proto_database_impl_unittest.cc
|
| index 648b2e20509719c609ce6e2d792d3ddf6c6cd952..d7848018efc0366da3742473ca4c154669ea075c 100644
|
| --- a/components/leveldb_proto/proto_database_impl_unittest.cc
|
| +++ b/components/leveldb_proto/proto_database_impl_unittest.cc
|
| @@ -487,6 +487,8 @@ TEST(ProtoDatabaseImplThreadingTest, TestDBDestroy) {
|
| // entries. If |close_after_save| is true, the database will be closed after
|
| // saving and then re-opened to ensure that the data is properly persisted.
|
| void TestLevelDBSaveAndLoad(bool close_after_save) {
|
| + base::MessageLoop main_loop;
|
| +
|
| ScopedTempDir temp_dir;
|
| ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
|
|
|
| @@ -549,6 +551,8 @@ TEST(ProtoDatabaseImplLevelDBTest, TestDBInitFail) {
|
| }
|
|
|
| TEST(ProtoDatabaseImplLevelDBTest, TestMemoryDatabase) {
|
| + base::MessageLoop main_loop;
|
| +
|
| std::unique_ptr<LevelDB> db(new LevelDB(kTestLevelDBClientName));
|
|
|
| std::vector<std::string> load_entries;
|
|
|