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

Unified Diff: third_party/WebKit/Source/core/html/FormData.h

Issue 1455943002: [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CORE_EXPORT Created 5 years, 1 month 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
Index: third_party/WebKit/Source/core/html/FormData.h
diff --git a/third_party/WebKit/Source/core/html/FormData.h b/third_party/WebKit/Source/core/html/FormData.h
index 503c5d7095c9fdd834c37933cdd666a95c20f02e..0142183f06efeb75be06ddee333b941096f75674 100644
--- a/third_party/WebKit/Source/core/html/FormData.h
+++ b/third_party/WebKit/Source/core/html/FormData.h
@@ -101,17 +101,17 @@ private:
// Represents entry, which is a pair of a name and a value.
// https://xhr.spec.whatwg.org/#concept-formdata-entry
// Entry objects are immutable.
-class FormData::Entry : public GarbageCollectedFinalized<FormData::Entry> {
+class CORE_EXPORT FormData::Entry : public GarbageCollectedFinalized<FormData::Entry> {
public:
- Entry(const CString& name, const CString& value) : m_name(name), m_value(value) { }
- Entry(const CString& name, Blob* blob, const String& filename) : m_name(name), m_blob(blob), m_filename(filename) { }
+ Entry(const CString&, const CString&);
+ Entry(const CString&, Blob*, const String&);
DECLARE_TRACE();
- bool isString() const { return !m_blob; }
- bool isFile() const { return m_blob; }
+ bool isString() const;
+ bool isFile() const;
const CString& name() const { return m_name; }
const CString& value() const { return m_value; }
- Blob* blob() const { return m_blob.get(); }
+ Blob* blob() const;
File* file() const;
const String& filename() const { return m_filename; }
« no previous file with comments | « third_party/WebKit/Source/core/html/FormAssociatedElement.cpp ('k') | third_party/WebKit/Source/core/html/FormData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698