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

Side by Side Diff: Source/wtf/DateMath.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/DataLog.cpp ('k') | Source/wtf/DecimalNumber.cpp » ('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) 1999-2000 Harri Porten (porten@kde.org) 2 * Copyright (C) 1999-2000 Harri Porten (porten@kde.org)
3 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. 3 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
4 * Copyright (C) 2009 Google Inc. All rights reserved. 4 * Copyright (C) 2009 Google Inc. All rights reserved.
5 * Copyright (C) 2007-2009 Torch Mobile, Inc. 5 * Copyright (C) 2007-2009 Torch Mobile, Inc.
6 * Copyright (C) 2010 &yet, LLC. (nate@andyet.net) 6 * Copyright (C) 2010 &yet, LLC. (nate@andyet.net)
7 * 7 *
8 * The Original Code is Mozilla Communicator client code, released 8 * The Original Code is Mozilla Communicator client code, released
9 * March 31, 1998. 9 * March 31, 1998.
10 * 10 *
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 #include "CurrentTime.h" 77 #include "CurrentTime.h"
78 #include "MathExtras.h" 78 #include "MathExtras.h"
79 #include "StdLibExtras.h" 79 #include "StdLibExtras.h"
80 #include "StringExtras.h" 80 #include "StringExtras.h"
81 81
82 #include <algorithm> 82 #include <algorithm>
83 #include <limits.h> 83 #include <limits.h>
84 #include <limits> 84 #include <limits>
85 #include <stdint.h> 85 #include <stdint.h>
86 #include <time.h> 86 #include <time.h>
87 #include <wtf/text/StringBuilder.h> 87 #include "wtf/text/StringBuilder.h"
88 88
89 #if OS(WINDOWS) 89 #if OS(WINDOWS)
90 #include <windows.h> 90 #include <windows.h>
91 #endif 91 #endif
92 92
93 #if HAVE(ERRNO_H) 93 #if HAVE(ERRNO_H)
94 #include <errno.h> 94 #include <errno.h>
95 #endif 95 #endif
96 96
97 #if HAVE(SYS_TIME_H) 97 #if HAVE(SYS_TIME_H)
(...skipping 988 matching lines...) Expand 10 before | Expand all | Expand 10 after
1086 1086
1087 stringBuilder.append(utcOffset > 0 ? '+' : '-'); 1087 stringBuilder.append(utcOffset > 0 ? '+' : '-');
1088 int absoluteUTCOffset = abs(utcOffset); 1088 int absoluteUTCOffset = abs(utcOffset);
1089 stringBuilder.append(twoDigitStringFromNumber(absoluteUTCOffset / 60)); 1089 stringBuilder.append(twoDigitStringFromNumber(absoluteUTCOffset / 60));
1090 stringBuilder.append(twoDigitStringFromNumber(absoluteUTCOffset % 60)); 1090 stringBuilder.append(twoDigitStringFromNumber(absoluteUTCOffset % 60));
1091 1091
1092 return stringBuilder.toString(); 1092 return stringBuilder.toString();
1093 } 1093 }
1094 1094
1095 } // namespace WTF 1095 } // namespace WTF
OLDNEW
« no previous file with comments | « Source/wtf/DataLog.cpp ('k') | Source/wtf/DecimalNumber.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698