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 * Copyright (C) 2009 Google Inc. All rights reserved. | 3 * Copyright (C) 2009 Google Inc. All rights reserved. |
4 * Copyright (C) 2012 Digia Plc. and/or its subsidiary(-ies) | 4 * Copyright (C) 2012 Digia Plc. and/or its subsidiary(-ies) |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
11 * This library is distributed in the hope that it will be useful, | 11 * This library is distributed in the hope that it will be useful, |
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
14 * Library General Public License for more details. | 14 * Library General Public License for more details. |
15 * | 15 * |
16 * You should have received a copy of the GNU Library General Public License | 16 * You should have received a copy of the GNU Library General Public License |
17 * along with this library; see the file COPYING.LIB. If not, write to | 17 * along with this library; see the file COPYING.LIB. If not, write to |
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
19 * Boston, MA 02110-1301, USA. | 19 * Boston, MA 02110-1301, USA. |
20 */ | 20 */ |
21 | 21 |
22 #include "config.h" | 22 #include "config.h" |
23 #include "core/platform/network/FormData.h" | 23 #include "core/platform/network/FormData.h" |
24 | 24 |
25 #include "core/dom/Document.h" | |
26 #include "core/fileapi/BlobURL.h" | |
27 #include "core/fileapi/File.h" | 25 #include "core/fileapi/File.h" |
28 #include "core/html/FormDataList.h" | 26 #include "core/html/FormDataList.h" |
29 #include "core/page/Chrome.h" | |
30 #include "core/page/ChromeClient.h" | |
31 #include "core/page/Page.h" | |
32 #include "core/platform/FileSystem.h" | 27 #include "core/platform/FileSystem.h" |
33 #include "core/platform/MIMETypeRegistry.h" | |
34 #include "core/platform/PlatformMemoryInstrumentation.h" | 28 #include "core/platform/PlatformMemoryInstrumentation.h" |
35 #include "core/platform/network/BlobData.h" | 29 #include "core/platform/network/BlobData.h" |
36 #include "core/platform/network/FormDataBuilder.h" | 30 #include "core/platform/network/FormDataBuilder.h" |
37 #include "wtf/MemoryInstrumentationVector.h" | 31 #include "wtf/MemoryInstrumentationVector.h" |
38 #include "wtf/text/TextEncoding.h" | 32 #include "wtf/text/TextEncoding.h" |
39 | 33 |
40 namespace WebCore { | 34 namespace WebCore { |
41 | 35 |
42 inline FormData::FormData() | 36 inline FormData::FormData() |
43 : m_identifier(0) | 37 : m_identifier(0) |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 | 271 |
278 void FormDataElement::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) cons
t | 272 void FormDataElement::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) cons
t |
279 { | 273 { |
280 MemoryClassInfo info(memoryObjectInfo, this, PlatformMemoryTypes::Loader); | 274 MemoryClassInfo info(memoryObjectInfo, this, PlatformMemoryTypes::Loader); |
281 info.addMember(m_data, "data"); | 275 info.addMember(m_data, "data"); |
282 info.addMember(m_filename, "filename"); | 276 info.addMember(m_filename, "filename"); |
283 info.addMember(m_url, "url"); | 277 info.addMember(m_url, "url"); |
284 } | 278 } |
285 | 279 |
286 } // namespace WebCore | 280 } // namespace WebCore |
OLD | NEW |