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

Side by Side Diff: storage/common/database/database_connections_unittest.cc

Issue 2827933003: Move storage tests from content/common next to the files they cover. (Closed)
Patch Set: Add missing dep. Created 3 years, 8 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
« no previous file with comments | « storage/common/BUILD.gn ('k') | storage/common/database/database_identifier_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "base/bind.h" 7 #include "base/bind.h"
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "base/threading/thread.h" 10 #include "base/threading/thread.h"
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 FROM_HERE, base::Bind(&RemoveConnectionTask, kOriginId, kName, obj, 120 FROM_HERE, base::Bind(&RemoveConnectionTask, kOriginId, kName, obj,
121 &did_task_execute)); 121 &did_task_execute));
122 // Use a long timeout value to avoid timeouts on test bots. 122 // Use a long timeout value to avoid timeouts on test bots.
123 EXPECT_TRUE(obj->WaitForAllDatabasesToClose( 123 EXPECT_TRUE(obj->WaitForAllDatabasesToClose(
124 base::TimeDelta::FromSeconds(15))); 124 base::TimeDelta::FromSeconds(15)));
125 EXPECT_TRUE(did_task_execute); 125 EXPECT_TRUE(did_task_execute);
126 EXPECT_FALSE(obj->HasOpenConnections()); 126 EXPECT_FALSE(obj->HasOpenConnections());
127 } 127 }
128 128
129 } // namespace content 129 } // namespace content
OLDNEW
« no previous file with comments | « storage/common/BUILD.gn ('k') | storage/common/database/database_identifier_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698