| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 BASE_PROCESS_H_ | 5 #ifndef BASE_PROCESS_PROCESS_PROCESS_H_ |
| 6 #define BASE_PROCESS_H_ | 6 #define BASE_PROCESS_PROCESS_PROCESS_H_ |
| 7 | 7 |
| 8 #include "base/base_export.h" | 8 #include "base/base_export.h" |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/process/process_handle.h" | 10 #include "base/process/process_handle.h" |
| 11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
| 12 | 12 |
| 13 namespace base { | 13 namespace base { |
| 14 | 14 |
| 15 class BASE_EXPORT Process { | 15 class BASE_EXPORT Process { |
| 16 public: | 16 public: |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 // Returns an integer representing the priority of a process. The meaning | 60 // Returns an integer representing the priority of a process. The meaning |
| 61 // of this value is OS dependent. | 61 // of this value is OS dependent. |
| 62 int GetPriority() const; | 62 int GetPriority() const; |
| 63 | 63 |
| 64 private: | 64 private: |
| 65 ProcessHandle process_; | 65 ProcessHandle process_; |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 } // namespace base | 68 } // namespace base |
| 69 | 69 |
| 70 #endif // BASE_PROCESS_H_ | 70 #endif // BASE_PROCESS_PROCESS_PROCESS_H_ |
| OLD | NEW |