| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 FetchHeaderList_h | 5 #ifndef FetchHeaderList_h |
| 6 #define FetchHeaderList_h | 6 #define FetchHeaderList_h |
| 7 | 7 |
| 8 #include <memory> |
| 9 #include <utility> |
| 8 #include "modules/ModulesExport.h" | 10 #include "modules/ModulesExport.h" |
| 9 #include "platform/heap/Handle.h" | 11 #include "platform/heap/Handle.h" |
| 10 #include "wtf/PassRefPtr.h" | 12 #include "wtf/PassRefPtr.h" |
| 11 #include "wtf/Vector.h" | 13 #include "wtf/Vector.h" |
| 12 #include "wtf/text/WTFString.h" | 14 #include "wtf/text/WTFString.h" |
| 13 #include <memory> | |
| 14 #include <utility> | |
| 15 | 15 |
| 16 namespace blink { | 16 namespace blink { |
| 17 | 17 |
| 18 class Header; | 18 class Header; |
| 19 | 19 |
| 20 // http://fetch.spec.whatwg.org/#terminology-headers | 20 // http://fetch.spec.whatwg.org/#terminology-headers |
| 21 class MODULES_EXPORT FetchHeaderList final | 21 class MODULES_EXPORT FetchHeaderList final |
| 22 : public GarbageCollectedFinalized<FetchHeaderList> { | 22 : public GarbageCollectedFinalized<FetchHeaderList> { |
| 23 public: | 23 public: |
| 24 typedef std::pair<String, String> Header; | 24 typedef std::pair<String, String> Header; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 52 DEFINE_INLINE_TRACE() {} | 52 DEFINE_INLINE_TRACE() {} |
| 53 | 53 |
| 54 private: | 54 private: |
| 55 FetchHeaderList(); | 55 FetchHeaderList(); |
| 56 Vector<std::unique_ptr<Header>> m_headerList; | 56 Vector<std::unique_ptr<Header>> m_headerList; |
| 57 }; | 57 }; |
| 58 | 58 |
| 59 } // namespace blink | 59 } // namespace blink |
| 60 | 60 |
| 61 #endif // FetchHeaderList_h | 61 #endif // FetchHeaderList_h |
| OLD | NEW |