| 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 "platform/PlatformExport.h" | 8 #include "platform/PlatformExport.h" |
| 9 #include "wtf/Allocator.h" | 9 #include "platform/wtf/Allocator.h" |
| 10 #include "wtf/text/WTFString.h" | 10 #include "platform/wtf/text/WTFString.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class LinkHeader { | 14 class LinkHeader { |
| 15 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); | 15 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
| 16 | 16 |
| 17 public: | 17 public: |
| 18 const String& url() const { return m_url; } | 18 const String& url() const { return m_url; } |
| 19 const String& rel() const { return m_rel; } | 19 const String& rel() const { return m_rel; } |
| 20 const String& as() const { return m_as; } | 20 const String& as() const { return m_as; } |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 LinkHeader& operator[](size_t i) { return m_headerSet[i]; } | 66 LinkHeader& operator[](size_t i) { return m_headerSet[i]; } |
| 67 size_t size() { return m_headerSet.size(); } | 67 size_t size() { return m_headerSet.size(); } |
| 68 | 68 |
| 69 private: | 69 private: |
| 70 Vector<LinkHeader> m_headerSet; | 70 Vector<LinkHeader> m_headerSet; |
| 71 }; | 71 }; |
| 72 | 72 |
| 73 } // namespace blink | 73 } // namespace blink |
| 74 | 74 |
| 75 #endif | 75 #endif |
| OLD | NEW |