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