| 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 BASE_PROCESS_H_ | 5 #ifndef BASE_PROCESS_H_ |
| 6 #define BASE_PROCESS_H_ | 6 #define BASE_PROCESS_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "build/build_config.h" | |
| 10 | 9 |
| 11 #include <sys/types.h> | 10 #include <sys/types.h> |
| 12 #ifdef OS_WIN | 11 #ifdef OS_WIN |
| 13 #include <windows.h> | 12 #include <windows.h> |
| 14 #endif | 13 #endif |
| 15 | 14 |
| 16 namespace base { | 15 namespace base { |
| 17 | 16 |
| 18 // ProcessHandle is a platform specific type which represents the underlying OS | 17 // ProcessHandle is a platform specific type which represents the underlying OS |
| 19 // handle to a process. | 18 // handle to a process. |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 bool EmptyWorkingSet(); | 84 bool EmptyWorkingSet(); |
| 86 | 85 |
| 87 private: | 86 private: |
| 88 ProcessHandle process_; | 87 ProcessHandle process_; |
| 89 size_t last_working_set_size_; | 88 size_t last_working_set_size_; |
| 90 }; | 89 }; |
| 91 | 90 |
| 92 } // namespace base | 91 } // namespace base |
| 93 | 92 |
| 94 #endif // BASE_PROCESS_H_ | 93 #endif // BASE_PROCESS_H_ |
| OLD | NEW |