OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_frame/test/chrome_frame_test_utils.h" | 5 #include "chrome_frame/test/chrome_frame_test_utils.h" |
6 | 6 |
7 #include <atlapp.h> | 7 #include <atlapp.h> |
8 #include <atlmisc.h> | 8 #include <atlmisc.h> |
9 #include <iepmapi.h> | 9 #include <iepmapi.h> |
10 #include <sddl.h> | 10 #include <sddl.h> |
11 #include <shlobj.h> | 11 #include <shlobj.h> |
| 12 #include <TlHelp32.h> |
12 #include <winsock2.h> | 13 #include <winsock2.h> |
13 | 14 |
14 #include "base/command_line.h" | 15 #include "base/command_line.h" |
15 #include "base/file_util.h" | 16 #include "base/file_util.h" |
16 #include "base/file_version_info.h" | 17 #include "base/file_version_info.h" |
17 #include "base/files/file_path.h" | 18 #include "base/files/file_path.h" |
18 #include "base/memory/scoped_ptr.h" | 19 #include "base/memory/scoped_ptr.h" |
19 #include "base/path_service.h" | 20 #include "base/path_service.h" |
20 #include "base/process.h" | 21 #include "base/process/kill.h" |
21 #include "base/process_util.h" | 22 #include "base/process/launch.h" |
| 23 #include "base/process/process.h" |
| 24 #include "base/process/process_iterator.h" |
22 #include "base/strings/string_number_conversions.h" | 25 #include "base/strings/string_number_conversions.h" |
23 #include "base/strings/string_piece.h" | 26 #include "base/strings/string_piece.h" |
24 #include "base/strings/string_util.h" | 27 #include "base/strings/string_util.h" |
25 #include "base/strings/stringprintf.h" | 28 #include "base/strings/stringprintf.h" |
26 #include "base/strings/utf_string_conversions.h" | 29 #include "base/strings/utf_string_conversions.h" |
27 #include "base/win/registry.h" | 30 #include "base/win/registry.h" |
28 #include "base/win/scoped_handle.h" | 31 #include "base/win/scoped_handle.h" |
29 #include "base/win/windows_version.h" | 32 #include "base/win/windows_version.h" |
30 #include "chrome/common/chrome_paths.h" | 33 #include "chrome/common/chrome_paths.h" |
31 #include "chrome/common/chrome_paths_internal.h" | 34 #include "chrome/common/chrome_paths_internal.h" |
(...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
737 if (address.empty()) { | 740 if (address.empty()) { |
738 LOG(ERROR) << "Failed to find a non-loopback IP_V4 address. Tests will be " | 741 LOG(ERROR) << "Failed to find a non-loopback IP_V4 address. Tests will be " |
739 << "run over the loopback adapter, which may result in hangs."; | 742 << "run over the loopback adapter, which may result in hangs."; |
740 address.assign("127.0.0.1"); | 743 address.assign("127.0.0.1"); |
741 } | 744 } |
742 | 745 |
743 return address; | 746 return address; |
744 } | 747 } |
745 | 748 |
746 } // namespace chrome_frame_test | 749 } // namespace chrome_frame_test |
OLD | NEW |