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 <windows.h> | 5 #include <windows.h> |
6 #include <sddl.h> | 6 #include <sddl.h> |
7 | 7 |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/at_exit.h" | 10 #include "base/at_exit.h" |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/bind_helpers.h" | 12 #include "base/bind_helpers.h" |
13 #include "base/callback_helpers.h" | 13 #include "base/callback_helpers.h" |
14 #include "base/command_line.h" | 14 #include "base/command_line.h" |
15 #include "base/environment.h" | 15 #include "base/environment.h" |
16 #include "base/file_version_info.h" | 16 #include "base/file_version_info.h" |
17 #include "base/files/file_path.h" | 17 #include "base/files/file_path.h" |
18 #include "base/logging_win.h" | 18 #include "base/logging_win.h" |
19 #include "base/macros.h" | 19 #include "base/macros.h" |
20 #include "base/memory/ref_counted.h" | 20 #include "base/memory/ref_counted.h" |
| 21 #include "base/message_loop/message_loop.h" |
21 #include "base/process/memory.h" | 22 #include "base/process/memory.h" |
22 #include "base/process/process.h" | 23 #include "base/process/process.h" |
23 #include "base/run_loop.h" | 24 #include "base/run_loop.h" |
24 #include "base/sequenced_task_runner.h" | 25 #include "base/sequenced_task_runner.h" |
25 #include "base/single_thread_task_runner.h" | 26 #include "base/single_thread_task_runner.h" |
26 #include "base/strings/string16.h" | 27 #include "base/strings/string16.h" |
27 #include "base/strings/string_number_conversions.h" | 28 #include "base/strings/string_number_conversions.h" |
28 #include "base/strings/string_piece.h" | 29 #include "base/strings/string_piece.h" |
29 #include "base/strings/utf_string_conversions.h" | 30 #include "base/strings/utf_string_conversions.h" |
30 #include "base/synchronization/waitable_event.h" | 31 #include "base/synchronization/waitable_event.h" |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 | 229 |
229 // Wind logging down. | 230 // Wind logging down. |
230 logging::LogEventProvider::Uninitialize(); | 231 logging::LogEventProvider::Uninitialize(); |
231 | 232 |
232 return 0; | 233 return 0; |
233 } | 234 } |
234 | 235 |
235 static_assert( | 236 static_assert( |
236 std::is_same<decltype(&WatcherMain), ChromeWatcherMainFunction>::value, | 237 std::is_same<decltype(&WatcherMain), ChromeWatcherMainFunction>::value, |
237 "WatcherMain() has wrong type"); | 238 "WatcherMain() has wrong type"); |
OLD | NEW |