| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 // This file contains internal routines that are called by other files in | 5 // This file contains internal routines that are called by other files in |
| 6 // base/process/. | 6 // base/process/. |
| 7 | 7 |
| 8 #ifndef BASE_PROCESS_LINUX_INTERNAL_H_ | 8 #ifndef BASE_PROCESS_LINUX_INTERNAL_H_ |
| 9 #define BASE_PROCESS_LINUX_INTERNAL_H_ | 9 #define BASE_PROCESS_LINUX_INTERNAL_H_ |
| 10 | 10 |
| 11 #include <unistd.h> |
| 12 |
| 11 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
| 12 | 14 |
| 13 namespace base { | 15 namespace base { |
| 14 | 16 |
| 15 class Time; | 17 class Time; |
| 16 class TimeDelta; | 18 class TimeDelta; |
| 17 | 19 |
| 18 namespace internal { | 20 namespace internal { |
| 19 | 21 |
| 20 // "/proc" | 22 // "/proc" |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 // Returns the time that the OS started. Clock ticks are relative to this. | 82 // Returns the time that the OS started. Clock ticks are relative to this. |
| 81 Time GetBootTime(); | 83 Time GetBootTime(); |
| 82 | 84 |
| 83 // Converts Linux clock ticks to a wall time delta. | 85 // Converts Linux clock ticks to a wall time delta. |
| 84 TimeDelta ClockTicksToTimeDelta(int clock_ticks); | 86 TimeDelta ClockTicksToTimeDelta(int clock_ticks); |
| 85 | 87 |
| 86 } // namespace internal | 88 } // namespace internal |
| 87 } // namespace base | 89 } // namespace base |
| 88 | 90 |
| 89 #endif // BASE_PROCESS_LINUX_INTERNAL_H_ | 91 #endif // BASE_PROCESS_LINUX_INTERNAL_H_ |
| OLD | NEW |