OLD | NEW |
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 "components/browser_watcher/watcher_client_win.h" | 5 #include "components/browser_watcher/watcher_client_win.h" |
6 | 6 |
| 7 #include <stddef.h> |
7 #include <stdint.h> | 8 #include <stdint.h> |
8 #include <stdlib.h> | 9 #include <stdlib.h> |
9 | 10 |
10 #include <string> | 11 #include <string> |
11 | 12 |
12 #include "base/base_switches.h" | 13 #include "base/base_switches.h" |
13 #include "base/bind.h" | 14 #include "base/bind.h" |
14 #include "base/command_line.h" | 15 #include "base/command_line.h" |
15 #include "base/logging.h" | 16 #include "base/logging.h" |
16 #include "base/process/kill.h" | 17 #include "base/process/kill.h" |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 WatcherClient client(GetBaseCommandLineGenerator(LEAK_HANDLE)); | 198 WatcherClient client(GetBaseCommandLineGenerator(LEAK_HANDLE)); |
198 ASSERT_TRUE(client.use_legacy_launch()); | 199 ASSERT_TRUE(client.use_legacy_launch()); |
199 | 200 |
200 client.LaunchWatcher(); | 201 client.LaunchWatcher(); |
201 | 202 |
202 ASSERT_NO_FATAL_FAILURE( | 203 ASSERT_NO_FATAL_FAILURE( |
203 AssertSuccessfulExitCode(client.process().Duplicate())); | 204 AssertSuccessfulExitCode(client.process().Duplicate())); |
204 } | 205 } |
205 | 206 |
206 } // namespace browser_watcher | 207 } // namespace browser_watcher |
OLD | NEW |