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

Unified Diff: WebCore/html/File.h

Issue 1769002: BlobBuilder/FormData refactor attempt (Closed)
Patch Set: back to simple FormData Created 10 years, 7 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 | « WebCore/html/Blob.cpp ('k') | WebCore/html/File.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: WebCore/html/File.h
diff --git a/WebCore/html/File.h b/WebCore/html/File.h
index 065dd86a7b1ebf77fb40646f9c6e870469d7eb09..582db28503bfff2b958e3d5255ef7abe9a60569a 100644
--- a/WebCore/html/File.h
+++ b/WebCore/html/File.h
@@ -41,18 +41,14 @@ public:
virtual bool isFile() const { return true; }
- const String& name() const { return m_name; }
- const String& type() const { return m_type; }
+ const String& name() const;
// FIXME: obsolete attributes. To be removed.
- const String& fileName() const { return m_name; }
+ const String& fileName() const { return name(); }
unsigned long long fileSize() const { return size(); }
private:
File(const String& path);
-
- String m_name;
- String m_type;
};
} // namespace WebCore
« no previous file with comments | « WebCore/html/Blob.cpp ('k') | WebCore/html/File.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698