OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "base/callback.h" | 5 #include "base/callback.h" |
6 #include "base/command_line.h" | 6 #include "base/command_line.h" |
7 #include "base/location.h" | 7 #include "base/location.h" |
8 #include "base/memory/discardable_memory.h" | 8 #include "base/memory/discardable_memory.h" |
9 #include "base/memory/scoped_vector.h" | |
10 #include "base/single_thread_task_runner.h" | 9 #include "base/single_thread_task_runner.h" |
11 #include "base/strings/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
12 #include "base/thread_task_runner_handle.h" | 11 #include "base/thread_task_runner_handle.h" |
13 #include "components/scheduler/renderer/renderer_scheduler.h" | 12 #include "components/scheduler/renderer/renderer_scheduler.h" |
14 #include "content/common/in_process_child_thread_params.h" | 13 #include "content/common/in_process_child_thread_params.h" |
15 #include "content/common/resource_messages.h" | 14 #include "content/common/resource_messages.h" |
16 #include "content/common/websocket_messages.h" | 15 #include "content/common/websocket_messages.h" |
17 #include "content/public/browser/content_browser_client.h" | 16 #include "content/public/browser/content_browser_client.h" |
18 #include "content/public/common/content_client.h" | 17 #include "content/public/common/content_client.h" |
19 #include "content/public/common/content_switches.h" | 18 #include "content/public/common/content_switches.h" |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 test_helper_->Sender()->Send(new WebSocketMsg_NotifyFailure(1, "")); | 230 test_helper_->Sender()->Send(new WebSocketMsg_NotifyFailure(1, "")); |
232 test_helper_->Sender()->Send(new TestMsg_QuitRunLoop()); | 231 test_helper_->Sender()->Send(new TestMsg_QuitRunLoop()); |
233 | 232 |
234 test_helper_->GetMessageLoop()->Run(); | 233 test_helper_->GetMessageLoop()->Run(); |
235 | 234 |
236 EXPECT_EQ(0, test_task_counter_->NumTasksPosted()); | 235 EXPECT_EQ(0, test_task_counter_->NumTasksPosted()); |
237 } | 236 } |
238 | 237 |
239 } // namespace | 238 } // namespace |
240 } // namespace content | 239 } // namespace content |
OLD | NEW |