Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(430)

Side by Side Diff: Source/core/html/FormDataList.h

Issue 1325893005: Rename DOMFormData to FormData. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/html/FormData.idl ('k') | Source/core/html/FormDataList.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2005, 2006, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2005, 2006, 2008 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
(...skipping 14 matching lines...) Expand all
25 #include "core/fileapi/Blob.h" 25 #include "core/fileapi/Blob.h"
26 #include "core/fileapi/File.h" 26 #include "core/fileapi/File.h"
27 #include "platform/heap/Handle.h" 27 #include "platform/heap/Handle.h"
28 #include "platform/network/EncodedFormData.h" 28 #include "platform/network/EncodedFormData.h"
29 #include "wtf/Forward.h" 29 #include "wtf/Forward.h"
30 #include "wtf/text/CString.h" 30 #include "wtf/text/CString.h"
31 #include "wtf/text/TextEncoding.h" 31 #include "wtf/text/TextEncoding.h"
32 32
33 namespace blink { 33 namespace blink {
34 34
35 // TODO(tkent): Merge FormDataList into DOMFormData. 35 // TODO(tkent): Merge FormDataList into FormData.
36 class CORE_EXPORT FormDataList : public GarbageCollected<FormDataList> { 36 class CORE_EXPORT FormDataList : public GarbageCollected<FormDataList> {
37 public: 37 public:
38 class Item { 38 class Item {
39 ALLOW_ONLY_INLINE_ALLOCATION(); 39 ALLOW_ONLY_INLINE_ALLOCATION();
40 public: 40 public:
41 Item(const CString& key) : m_key(key) { } 41 Item(const CString& key) : m_key(key) { }
42 Item(const CString& key, const CString& data) : m_key(key), m_data(data) { } 42 Item(const CString& key, const CString& data) : m_key(key), m_data(data) { }
43 Item(const CString& key, Blob* blob, const String& filename) : m_key(key ), m_blob(blob), m_filename(filename) { } 43 Item(const CString& key, Blob* blob, const String& filename) : m_key(key ), m_blob(blob), m_filename(filename) { }
44 44
45 bool isString() const { return !m_blob; } 45 bool isString() const { return !m_blob; }
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 void appendItem(const Item&); 100 void appendItem(const Item&);
101 101
102 WTF::TextEncoding m_encoding; 102 WTF::TextEncoding m_encoding;
103 }; 103 };
104 104
105 } // namespace blink 105 } // namespace blink
106 106
107 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::FormDataList::Item); 107 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::FormDataList::Item);
108 108
109 #endif // FormDataList_h 109 #endif // FormDataList_h
OLDNEW
« no previous file with comments | « Source/core/html/FormData.idl ('k') | Source/core/html/FormDataList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698