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

Side by Side Diff: src/base/platform/time.cc

Issue 368363003: Add missing include to timers (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 months 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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project 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 #include "src/base/platform/time.h" 5 #include "src/base/platform/time.h"
6 6
7 #if V8_OS_POSIX 7 #if V8_OS_POSIX
8 #include <fcntl.h> // for O_RDONLY 8 #include <fcntl.h> // for O_RDONLY
9 #include <sys/time.h> 9 #include <sys/time.h>
10 #include <unistd.h>
10 #endif 11 #endif
11 #if V8_OS_MACOSX 12 #if V8_OS_MACOSX
12 #include <mach/mach_time.h> 13 #include <mach/mach_time.h>
13 #endif 14 #endif
14 15
15 #include <string.h> 16 #include <string.h>
16 17
17 #if V8_OS_WIN 18 #if V8_OS_WIN
18 #include "src/base/lazy-instance.h" 19 #include "src/base/lazy-instance.h"
19 #include "src/base/win32-headers.h" 20 #include "src/base/win32-headers.h"
(...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 645
645 646
646 // static 647 // static
647 bool TimeTicks::KernelTimestampAvailable() { 648 bool TimeTicks::KernelTimestampAvailable() {
648 return kernel_tick_clock.Pointer()->Available(); 649 return kernel_tick_clock.Pointer()->Available();
649 } 650 }
650 651
651 #endif // V8_OS_WIN 652 #endif // V8_OS_WIN
652 653
653 } } // namespace v8::base 654 } } // namespace v8::base
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