| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2006, 2008, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2004, 2006, 2008, 2011 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
| 6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
| 7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
| 8 * | 8 * |
| 9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 12 * Library General Public License for more details. | 12 * Library General Public License for more details. |
| 13 * | 13 * |
| 14 * You should have received a copy of the GNU Library General Public License | 14 * You should have received a copy of the GNU Library General Public License |
| 15 * along with this library; see the file COPYING.LIB. If not, write to | 15 * along with this library; see the file COPYING.LIB. If not, write to |
| 16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 17 * Boston, MA 02110-1301, USA. | 17 * Boston, MA 02110-1301, USA. |
| 18 */ | 18 */ |
| 19 | 19 |
| 20 #ifndef EncodedFormData_h | 20 #ifndef EncodedFormData_h |
| 21 #define EncodedFormData_h | 21 #define EncodedFormData_h |
| 22 | 22 |
| 23 #include "platform/blob/BlobData.h" | 23 #include "platform/blob/BlobData.h" |
| 24 #include "platform/weborigin/KURL.h" | 24 #include "platform/weborigin/KURL.h" |
| 25 #include "wtf/Allocator.h" | 25 #include "platform/wtf/Allocator.h" |
| 26 #include "wtf/Forward.h" | 26 #include "platform/wtf/Forward.h" |
| 27 #include "wtf/RefCounted.h" | 27 #include "platform/wtf/RefCounted.h" |
| 28 #include "wtf/Vector.h" | 28 #include "platform/wtf/Vector.h" |
| 29 #include "wtf/text/WTFString.h" | 29 #include "platform/wtf/text/WTFString.h" |
| 30 | 30 |
| 31 namespace blink { | 31 namespace blink { |
| 32 | 32 |
| 33 class BlobDataHandle; | 33 class BlobDataHandle; |
| 34 | 34 |
| 35 class PLATFORM_EXPORT FormDataElement final { | 35 class PLATFORM_EXPORT FormDataElement final { |
| 36 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); | 36 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
| 37 | 37 |
| 38 public: | 38 public: |
| 39 FormDataElement() : m_type(data) {} | 39 FormDataElement() : m_type(data) {} |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 return a.elements() == b.elements(); | 178 return a.elements() == b.elements(); |
| 179 } | 179 } |
| 180 | 180 |
| 181 inline bool operator!=(const EncodedFormData& a, const EncodedFormData& b) { | 181 inline bool operator!=(const EncodedFormData& a, const EncodedFormData& b) { |
| 182 return !(a == b); | 182 return !(a == b); |
| 183 } | 183 } |
| 184 | 184 |
| 185 } // namespace blink | 185 } // namespace blink |
| 186 | 186 |
| 187 #endif | 187 #endif |
| OLD | NEW |