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

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

Issue 1323043002: Define "opaque" FormData objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Dropping makeOpaque again. Created 5 years, 4 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/core.gypi ('k') | Source/core/html/DOMFormData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/DOMFormData.h
diff --git a/Source/core/html/DOMFormData.h b/Source/core/html/DOMFormData.h
index bd92523b9c36079c78dc9f8370b8605d7364892c..bb9d64455ed00d268c93feb950c035d43a556eef 100644
--- a/Source/core/html/DOMFormData.h
+++ b/Source/core/html/DOMFormData.h
@@ -70,14 +70,18 @@ public:
void append(ExecutionContext*, const String& name, Blob*, const String& filename = String());
void get(const String& name, FormDataEntryValue& result);
HeapVector<FormDataEntryValue> getAll(const String& name);
+ bool has(const String& name);
void set(const String& name, const String& value);
void set(const String& name, Blob*, const String& filename = String());
+ void makeOpaque() { m_opaque = true; }
+
private:
explicit DOMFormData(const WTF::TextEncoding&);
explicit DOMFormData(HTMLFormElement*);
IterationSource* startIteration(ScriptState*, ExceptionState&) override;
+ bool m_opaque;
};
} // namespace blink
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/html/DOMFormData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698