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

Unified Diff: Source/core/html/FormDataList.h

Issue 1320463010: Move FormDataList::setEntry to DOMFormData. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/DOMFormData.cpp ('k') | Source/core/html/FormDataList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/FormDataList.h
diff --git a/Source/core/html/FormDataList.h b/Source/core/html/FormDataList.h
index 555d26be0318142a71e7305aeced665366c16b43..63d12bf37668a4f249e60bf7655d6a119157818d 100644
--- a/Source/core/html/FormDataList.h
+++ b/Source/core/html/FormDataList.h
@@ -111,8 +111,6 @@ public:
Entry getEntry(size_t index) const;
HeapVector<Entry> getAll(const String& key) const;
bool hasEntry(const String& key) const;
- void setBlob(const String& key, Blob*, const String& filename);
- void setData(const String& key, const String& value);
size_t size() const { return m_items.size(); }
const FormDataListItems& items() const { return m_items; }
@@ -125,17 +123,17 @@ public:
protected:
explicit FormDataList(const WTF::TextEncoding&);
+ CString encodeAndNormalize(const String& key) const;
+
+ FormDataListItems m_items;
private:
void appendKeyValuePairItemsTo(FormData*, const WTF::TextEncoding&, bool isMultiPartForm, FormData::EncodingType = FormData::FormURLEncoded);
void appendItem(const Item&);
- void setEntry(const Item&);
Entry itemsToEntry(const Item&) const;
- CString encodeAndNormalize(const String& key) const;
WTF::TextEncoding m_encoding;
- FormDataListItems m_items;
};
} // namespace blink
« no previous file with comments | « Source/core/html/DOMFormData.cpp ('k') | Source/core/html/FormDataList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698