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

Side by Side Diff: content/common/database_connections_unittest.cc

Issue 1967823004: Fix include path for moved thread_task_runner_handle.h header in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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 "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/thread_task_runner_handle.h"
11 #include "base/threading/thread.h" 10 #include "base/threading/thread.h"
11 #include "base/threading/thread_task_runner_handle.h"
12 #include "storage/common/database/database_connections.h" 12 #include "storage/common/database/database_connections.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 14
15 using base::ASCIIToUTF16; 15 using base::ASCIIToUTF16;
16 using storage::DatabaseConnections; 16 using storage::DatabaseConnections;
17 using storage::DatabaseConnectionsWrapper; 17 using storage::DatabaseConnectionsWrapper;
18 18
19 namespace content { 19 namespace content {
20 20
21 namespace { 21 namespace {
(...skipping 98 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 | « content/child/worker_thread_registry.cc ('k') | content/common/host_discardable_shared_memory_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698