| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 #ifndef CHROME_COMMON_PROCESS_WATCHER_H_ | 5 #ifndef CONTENT_COMMON_PROCESS_WATCHER_H_ |
| 6 #define CHROME_COMMON_PROCESS_WATCHER_H_ | 6 #define CONTENT_COMMON_PROCESS_WATCHER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/process.h" | 12 #include "base/process.h" |
| 13 | 13 |
| 14 class ProcessWatcher { | 14 class ProcessWatcher { |
| 15 public: | 15 public: |
| 16 // This method ensures that the specified process eventually terminates, and | 16 // This method ensures that the specified process eventually terminates, and |
| (...skipping 18 matching lines...) Expand all Loading... |
| 35 static void EnsureProcessGetsReaped(base::ProcessHandle process_handle); | 35 static void EnsureProcessGetsReaped(base::ProcessHandle process_handle); |
| 36 #endif | 36 #endif |
| 37 | 37 |
| 38 private: | 38 private: |
| 39 // Do not instantiate this class. | 39 // Do not instantiate this class. |
| 40 ProcessWatcher(); | 40 ProcessWatcher(); |
| 41 | 41 |
| 42 DISALLOW_COPY_AND_ASSIGN(ProcessWatcher); | 42 DISALLOW_COPY_AND_ASSIGN(ProcessWatcher); |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 #endif // CHROME_COMMON_PROCESS_WATCHER_H_ | 45 #endif // CONTENT_COMMON_PROCESS_WATCHER_H_ |
| OLD | NEW |