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

Unified Diff: Source/WebCore/platform/network/FormData.h

Issue 13497009: Remove ENABLE(FILE_SYSTEM) compile-time flag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: added CodeGeneratorInspector.py change Created 7 years, 8 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/WebCore/platform/network/BlobRegistryImpl.cpp ('k') | Source/WebCore/platform/network/FormData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/platform/network/FormData.h
diff --git a/Source/WebCore/platform/network/FormData.h b/Source/WebCore/platform/network/FormData.h
index 7de40809ec7d177ec80d6619007e58461ce77552..b9a5adfa597704737bdf6ba619d1d187ca6c56af 100644
--- a/Source/WebCore/platform/network/FormData.h
+++ b/Source/WebCore/platform/network/FormData.h
@@ -43,9 +43,7 @@ public:
#else
FormDataElement(const String& filename, bool shouldGenerateFile) : m_type(encodedFile), m_filename(filename), m_shouldGenerateFile(shouldGenerateFile) { }
#endif
-#if ENABLE(FILE_SYSTEM)
FormDataElement(const KURL& url, long long start, long long length, double expectedFileModificationTime) : m_type(encodedURL), m_url(url), m_fileStart(start), m_fileLength(length), m_expectedFileModificationTime(expectedFileModificationTime), m_shouldGenerateFile(false) { }
-#endif
void reportMemoryUsage(MemoryObjectInfo*) const;
@@ -55,9 +53,7 @@ public:
#if ENABLE(BLOB)
, encodedBlob
#endif
-#if ENABLE(FILE_SYSTEM)
, encodedURL
-#endif
} m_type;
Vector<char> m_data;
String m_filename;
@@ -88,10 +84,8 @@ inline bool operator==(const FormDataElement& a, const FormDataElement& b)
#else
return a.m_filename == b.m_filename;
#endif
-#if ENABLE(FILE_SYSTEM)
if (a.m_type == FormDataElement::encodedURL)
return a.m_url == b.m_url;
-#endif
return true;
}
@@ -128,10 +122,8 @@ public:
void appendFileRange(const String& filename, long long start, long long length, double expectedModificationTime, bool shouldGenerateFile = false);
void appendBlob(const KURL& blobURL);
#endif
-#if ENABLE(FILE_SYSTEM)
void appendURL(const KURL&);
void appendURLRange(const KURL&, long long start, long long length, double expectedModificationTime);
-#endif
void flatten(Vector<char>&) const; // omits files
String flattenToString() const; // omits files
« no previous file with comments | « Source/WebCore/platform/network/BlobRegistryImpl.cpp ('k') | Source/WebCore/platform/network/FormData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698