| 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 #ifndef COMPONENTS_BROWSER_WATCHER_WATCHER_WIN_H_ | 4 #ifndef COMPONENTS_BROWSER_WATCHER_EXIT_CODE_WATCHER_WIN_H_ |
| 5 #define COMPONENTS_BROWSER_WATCHER_WATCHER_WIN_H_ | 5 #define COMPONENTS_BROWSER_WATCHER_EXIT_CODE_WATCHER_WIN_H_ |
| 6 | 6 |
| 7 #include "base/macros.h" | 7 #include "base/macros.h" |
| 8 #include "base/process/process_handle.h" | 8 #include "base/process/process_handle.h" |
| 9 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
| 10 #include "base/time/time.h" | 10 #include "base/time/time.h" |
| 11 #include "base/win/scoped_handle.h" | 11 #include "base/win/scoped_handle.h" |
| 12 | 12 |
| 13 namespace base { | 13 namespace base { |
| 14 class CommandLine; | 14 class CommandLine; |
| 15 } | 15 } |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 // Handle, PID, and creation time of the watched process. | 52 // Handle, PID, and creation time of the watched process. |
| 53 base::win::ScopedHandle process_; | 53 base::win::ScopedHandle process_; |
| 54 base::ProcessId process_pid_; | 54 base::ProcessId process_pid_; |
| 55 base::Time process_creation_time_; | 55 base::Time process_creation_time_; |
| 56 | 56 |
| 57 DISALLOW_COPY_AND_ASSIGN(ExitCodeWatcher); | 57 DISALLOW_COPY_AND_ASSIGN(ExitCodeWatcher); |
| 58 }; | 58 }; |
| 59 | 59 |
| 60 } // namespace browser_watcher | 60 } // namespace browser_watcher |
| 61 | 61 |
| 62 #endif // COMPONENTS_BROWSER_WATCHER_WATCHER_WIN_H_ | 62 #endif // COMPONENTS_BROWSER_WATCHER_EXIT_CODE_WATCHER_WIN_H_ |
| OLD | NEW |