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

Unified Diff: Source/WebCore/platform/network/BlobData.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
Index: Source/WebCore/platform/network/BlobData.h
diff --git a/Source/WebCore/platform/network/BlobData.h b/Source/WebCore/platform/network/BlobData.h
index da774b6a542a5a4dccf9d4449934c0aed609f446..fd87feea4357ce48d61df594fca30cfe67bd940f 100644
--- a/Source/WebCore/platform/network/BlobData.h
+++ b/Source/WebCore/platform/network/BlobData.h
@@ -110,7 +110,6 @@ struct BlobDataItem {
{
}
-#if ENABLE(FILE_SYSTEM)
// Constructor for URL type (e.g. FileSystem files).
BlobDataItem(const KURL& url, long long offset, long long length, double expectedModificationTime)
: type(URL)
@@ -120,7 +119,6 @@ struct BlobDataItem {
, expectedModificationTime(expectedModificationTime)
{
}
-#endif
// Detaches from current thread so that it can be passed to another thread.
void detachFromCurrentThread();
@@ -128,10 +126,8 @@ struct BlobDataItem {
enum {
Data,
File,
- Blob
-#if ENABLE(FILE_SYSTEM)
- , URL
-#endif
+ Blob,
+ URL
} type;
// For Data type.
@@ -184,9 +180,7 @@ public:
void appendFile(const String& path);
void appendFile(const String& path, long long offset, long long length, double expectedModificationTime);
void appendBlob(const KURL&, long long offset, long long length);
-#if ENABLE(FILE_SYSTEM)
void appendURL(const KURL&, long long offset, long long length, double expectedModificationTime);
-#endif
private:
friend class BlobRegistryImpl;
« no previous file with comments | « Source/WebCore/platform/chromium/support/WebHTTPBody.cpp ('k') | Source/WebCore/platform/network/BlobData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698