Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1031)

Side by Side Diff: base/process/internal_linux.h

Issue 69763003: Include <unistd.h> in base/process/internal_linux.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698