OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium 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 #ifndef LinkHeader_h | 5 #ifndef LinkHeader_h |
6 #define LinkHeader_h | 6 #define LinkHeader_h |
7 | 7 |
8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
9 #include "core/html/CrossOriginAttribute.h" | 9 #include "core/html/CrossOriginAttribute.h" |
10 #include "wtf/Allocator.h" | 10 #include "wtf/Allocator.h" |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 LinkHeader& operator[](size_t i) { return m_headerSet[i]; } | 58 LinkHeader& operator[](size_t i) { return m_headerSet[i]; } |
59 size_t size() { return m_headerSet.size(); } | 59 size_t size() { return m_headerSet.size(); } |
60 | 60 |
61 private: | 61 private: |
62 template <typename CharType> | 62 template <typename CharType> |
63 void init(CharType* headerValue, unsigned len); | 63 void init(CharType* headerValue, unsigned len); |
64 | 64 |
65 Vector<LinkHeader> m_headerSet; | 65 Vector<LinkHeader> m_headerSet; |
66 }; | 66 }; |
67 | 67 |
68 } | 68 } // namespace blink |
69 | 69 |
70 #endif | 70 #endif |
OLD | NEW |