OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 "chrome/browser/importer/firefox_importer_unittest_utils.h" | 5 #include "chrome/browser/importer/firefox_importer_unittest_utils.h" |
6 | 6 |
7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/debug_on_start.h" | |
10 #include "base/file_path.h" | 9 #include "base/file_path.h" |
11 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
12 #include "base/test/test_timeouts.h" | 11 #include "base/test/test_timeouts.h" |
13 #include "chrome/browser/importer/firefox_importer_utils.h" | 12 #include "chrome/browser/importer/firefox_importer_utils.h" |
14 #include "ipc/ipc_channel.h" | 13 #include "ipc/ipc_channel.h" |
15 #include "ipc/ipc_descriptors.h" | 14 #include "ipc/ipc_descriptors.h" |
16 #include "ipc/ipc_message.h" | 15 #include "ipc/ipc_message.h" |
17 #include "ipc/ipc_switches.h" | 16 #include "ipc/ipc_switches.h" |
18 #include "testing/multiprocess_func_list.h" | 17 #include "testing/multiprocess_func_list.h" |
19 | 18 |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 | 260 |
262 IPC::Channel channel(kTestChannelID, IPC::Channel::MODE_CLIENT, &listener); | 261 IPC::Channel channel(kTestChannelID, IPC::Channel::MODE_CLIENT, &listener); |
263 CHECK(channel.Connect()); | 262 CHECK(channel.Connect()); |
264 listener.SetSender(&channel); | 263 listener.SetSender(&channel); |
265 | 264 |
266 // run message loop | 265 // run message loop |
267 MessageLoop::current()->Run(); | 266 MessageLoop::current()->Run(); |
268 | 267 |
269 return 0; | 268 return 0; |
270 } | 269 } |
OLD | NEW |