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

Side by Side Diff: Source/wtf/TypeTraits.h

Issue 23003024: Revert r156542 "Do not include "wtf/Platform.h" directly. " (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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/Uint8ClampedArray.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) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2009, 2010 Google Inc. All rights reserved. 3 * Copyright (C) 2009, 2010 Google Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details. 13 * Library General Public License for more details.
14 * 14 *
15 * You should have received a copy of the GNU Library General Public License 15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to 16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA. 18 * Boston, MA 02110-1301, USA.
19 * 19 *
20 */ 20 */
21 21
22 #ifndef TypeTraits_h 22 #ifndef TypeTraits_h
23 #define TypeTraits_h 23 #define TypeTraits_h
24 24
25 #include "wtf/Platform.h"
26
25 #if (defined(__GLIBCXX__) && (__GLIBCXX__ >= 20070724) && defined(__GXX_EXPERIME NTAL_CXX0X__)) || (defined(_MSC_VER) && (_MSC_VER >= 1600)) 27 #if (defined(__GLIBCXX__) && (__GLIBCXX__ >= 20070724) && defined(__GXX_EXPERIME NTAL_CXX0X__)) || (defined(_MSC_VER) && (_MSC_VER >= 1600))
26 #include <type_traits> 28 #include <type_traits>
27 #if defined(__GLIBCXX__) && (__GLIBCXX__ >= 20070724) && defined(__GXX_EXPERIMEN TAL_CXX0X__) 29 #if defined(__GLIBCXX__) && (__GLIBCXX__ >= 20070724) && defined(__GXX_EXPERIMEN TAL_CXX0X__)
28 #include <tr1/memory> 30 #include <tr1/memory>
29 #endif 31 #endif
30 #endif 32 #endif
31 33
32 namespace WTF { 34 namespace WTF {
33 35
34 // The following are provided in this file: 36 // The following are provided in this file:
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 public: 302 public:
301 enum { 303 enum {
302 Value = true 304 Value = true
303 }; 305 };
304 }; 306 };
305 307
306 } // namespace WTF 308 } // namespace WTF
307 309
308 310
309 #endif // TypeTraits_h 311 #endif // TypeTraits_h
OLDNEW
« no previous file with comments | « Source/wtf/ThreadingPrimitives.h ('k') | Source/wtf/Uint8ClampedArray.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698