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

Side by Side Diff: Source/wtf/ThreadingWin.cpp

Issue 18095003: Replace #include <wtf/foo.h> with #include "wtf/foo.h" in Source/wtf. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | « Source/wtf/ThreadingPrimitives.h ('k') | Source/wtf/TypeTraits.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Google Inc. All rights reserved. 3 * Copyright (C) 2009 Google Inc. All rights reserved.
4 * Copyright (C) 2009 Torch Mobile, Inc. All rights reserved. 4 * Copyright (C) 2009 Torch Mobile, Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 88
89 #if OS(WINDOWS) 89 #if OS(WINDOWS)
90 90
91 #include "DateMath.h" 91 #include "DateMath.h"
92 #include "dtoa.h" 92 #include "dtoa.h"
93 #include "dtoa/cached-powers.h" 93 #include "dtoa/cached-powers.h"
94 94
95 #include "MainThread.h" 95 #include "MainThread.h"
96 #include "ThreadFunctionInvocation.h" 96 #include "ThreadFunctionInvocation.h"
97 #include <windows.h> 97 #include <windows.h>
98 #include <wtf/CurrentTime.h> 98 #include "wtf/CurrentTime.h"
99 #include <wtf/HashMap.h> 99 #include "wtf/HashMap.h"
100 #include <wtf/MathExtras.h> 100 #include "wtf/MathExtras.h"
101 #include <wtf/OwnPtr.h> 101 #include "wtf/OwnPtr.h"
102 #include <wtf/PassOwnPtr.h> 102 #include "wtf/PassOwnPtr.h"
103 #include <wtf/RandomNumberSeed.h> 103 #include "wtf/RandomNumberSeed.h"
104 #include <wtf/WTFThreadData.h> 104 #include "wtf/WTFThreadData.h"
105 105
106 #if !USE(PTHREADS) && OS(WINDOWS) 106 #if !USE(PTHREADS) && OS(WINDOWS)
107 #include "ThreadSpecific.h" 107 #include "ThreadSpecific.h"
108 #endif 108 #endif
109 109
110 #include <process.h> 110 #include <process.h>
111 111
112 #if HAVE(ERRNO_H) 112 #if HAVE(ERRNO_H)
113 #include <errno.h> 113 #include <errno.h>
114 #endif 114 #endif
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 // Time is too far in the future (and would overflow unsigned long) - wait f orever. 498 // Time is too far in the future (and would overflow unsigned long) - wait f orever.
499 if (absoluteTime - currentTime > static_cast<double>(INT_MAX) / 1000.0) 499 if (absoluteTime - currentTime > static_cast<double>(INT_MAX) / 1000.0)
500 return INFINITE; 500 return INFINITE;
501 501
502 return static_cast<DWORD>((absoluteTime - currentTime) * 1000.0); 502 return static_cast<DWORD>((absoluteTime - currentTime) * 1000.0);
503 } 503 }
504 504
505 } // namespace WTF 505 } // namespace WTF
506 506
507 #endif // OS(WINDOWS) 507 #endif // OS(WINDOWS)
OLDNEW
« no previous file with comments | « Source/wtf/ThreadingPrimitives.h ('k') | Source/wtf/TypeTraits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698