| 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 URLSearchParams_h | 5 #ifndef URLSearchParams_h |
| 6 #define URLSearchParams_h | 6 #define URLSearchParams_h |
| 7 | 7 |
| 8 #include <base/gtest_prod_util.h> |
| 9 #include <utility> |
| 8 #include "bindings/core/v8/Iterable.h" | 10 #include "bindings/core/v8/Iterable.h" |
| 9 #include "bindings/core/v8/ScriptWrappable.h" | 11 #include "bindings/core/v8/ScriptWrappable.h" |
| 10 #include "bindings/core/v8/USVStringOrURLSearchParams.h" | 12 #include "bindings/core/v8/USVStringOrURLSearchParams.h" |
| 11 #include "platform/heap/Handle.h" | 13 #include "platform/heap/Handle.h" |
| 12 #include "platform/network/EncodedFormData.h" | 14 #include "platform/network/EncodedFormData.h" |
| 13 #include "wtf/Forward.h" | 15 #include "wtf/Forward.h" |
| 14 #include "wtf/text/WTFString.h" | 16 #include "wtf/text/WTFString.h" |
| 15 #include <base/gtest_prod_util.h> | |
| 16 #include <utility> | |
| 17 | 17 |
| 18 namespace blink { | 18 namespace blink { |
| 19 | 19 |
| 20 class ExceptionState; | 20 class ExceptionState; |
| 21 class DOMURL; | 21 class DOMURL; |
| 22 | 22 |
| 23 typedef USVStringOrURLSearchParams URLSearchParamsInit; | 23 typedef USVStringOrURLSearchParams URLSearchParamsInit; |
| 24 | 24 |
| 25 class CORE_EXPORT URLSearchParams final | 25 class CORE_EXPORT URLSearchParams final |
| 26 : public GarbageCollectedFinalized<URLSearchParams>, | 26 : public GarbageCollectedFinalized<URLSearchParams>, |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 void encodeAsFormData(Vector<char>&) const; | 69 void encodeAsFormData(Vector<char>&) const; |
| 70 | 70 |
| 71 Vector<std::pair<String, String>> m_params; | 71 Vector<std::pair<String, String>> m_params; |
| 72 | 72 |
| 73 WeakMember<DOMURL> m_urlObject; | 73 WeakMember<DOMURL> m_urlObject; |
| 74 }; | 74 }; |
| 75 | 75 |
| 76 } // namespace blink | 76 } // namespace blink |
| 77 | 77 |
| 78 #endif // URLSearchParams_h | 78 #endif // URLSearchParams_h |
| OLD | NEW |