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

Side by Side Diff: third_party/WebKit/Source/wtf/Deque.h

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « third_party/WebKit/Source/wtf/DateMath.cpp ('k') | third_party/WebKit/Source/wtf/DequeTest.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) 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 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 15 matching lines...) Expand all
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */ 28 */
29 29
30 #ifndef WTF_Deque_h 30 #ifndef WTF_Deque_h
31 #define WTF_Deque_h 31 #define WTF_Deque_h
32 32
33 // FIXME: Could move what Vector and Deque share into a separate file. 33 // FIXME: Could move what Vector and Deque share into a separate file.
34 // Deque doesn't actually use Vector. 34 // Deque doesn't actually use Vector.
35 35
36 #include <iterator>
36 #include "wtf/Vector.h" 37 #include "wtf/Vector.h"
37 #include <iterator>
38 38
39 namespace WTF { 39 namespace WTF {
40 40
41 template <typename T, size_t inlineCapacity, typename Allocator> 41 template <typename T, size_t inlineCapacity, typename Allocator>
42 class DequeIteratorBase; 42 class DequeIteratorBase;
43 template <typename T, size_t inlineCapacity, typename Allocator> 43 template <typename T, size_t inlineCapacity, typename Allocator>
44 class DequeIterator; 44 class DequeIterator;
45 template <typename T, size_t inlineCapacity, typename Allocator> 45 template <typename T, size_t inlineCapacity, typename Allocator>
46 class DequeConstIterator; 46 class DequeConstIterator;
47 47
(...skipping 663 matching lines...) Expand 10 before | Expand all | Expand 10 after
711 inline void swap(Deque<T, inlineCapacity, Allocator>& a, 711 inline void swap(Deque<T, inlineCapacity, Allocator>& a,
712 Deque<T, inlineCapacity, Allocator>& b) { 712 Deque<T, inlineCapacity, Allocator>& b) {
713 a.swap(b); 713 a.swap(b);
714 } 714 }
715 715
716 } // namespace WTF 716 } // namespace WTF
717 717
718 using WTF::Deque; 718 using WTF::Deque;
719 719
720 #endif // WTF_Deque_h 720 #endif // WTF_Deque_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/wtf/DateMath.cpp ('k') | third_party/WebKit/Source/wtf/DequeTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698