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

Unified Diff: Source/WebCore/fileapi/File.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/fileapi/Blob.cpp ('k') | Source/WebCore/fileapi/File.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/fileapi/File.h
diff --git a/Source/WebCore/fileapi/File.h b/Source/WebCore/fileapi/File.h
index 1242b85fbedaa89bcc62872d46d95c0ac130d873..0153371e969da98d4a74f7967cd6098f66fa8be5 100644
--- a/Source/WebCore/fileapi/File.h
+++ b/Source/WebCore/fileapi/File.h
@@ -60,7 +60,6 @@ public:
static PassRefPtr<File> createWithRelativePath(const String& path, const String& relativePath);
#endif
-#if ENABLE(FILE_SYSTEM)
// If filesystem files live in the remote filesystem, the port might pass the valid metadata (whose length field is non-negative) and cache in the File object.
//
// Otherwise calling size(), lastModifiedTime() and slice() will synchronously query the file metadata.
@@ -75,7 +74,6 @@ public:
}
KURL fileSystemURL() const { return m_fileSystemURL; }
-#endif
// Create a file with a name exposed to the author (via File.name and associated DOM properties) that differs from the one provided in the path.
static PassRefPtr<File> createWithName(const String& path, const String& name, ContentTypeLookupPolicy policy = WellKnownContentTypes)
@@ -108,26 +106,21 @@ private:
// For deserialization.
File(const String& path, const KURL& srcURL, const String& type);
File(const String& path, const String& name, ContentTypeLookupPolicy);
-
-# if ENABLE(FILE_SYSTEM)
File(const String& name, const FileMetadata&);
File(const KURL& fileSystemURL, const FileMetadata&);
// Returns true if this has a valid snapshot metadata (i.e. m_snapshotSize >= 0).
bool hasValidSnapshotMetadata() const { return m_snapshotSize >= 0; }
-#endif
String m_path;
String m_name;
-#if ENABLE(FILE_SYSTEM)
KURL m_fileSystemURL;
// If m_snapshotSize is negative (initialized to -1 by default), the snapshot metadata is invalid and we retrieve the latest metadata synchronously in size(), lastModifiedTime() and slice().
// Otherwise, the snapshot metadata are used directly in those methods.
const long long m_snapshotSize;
const double m_snapshotModificationTime;
-#endif
#if ENABLE(DIRECTORY_UPLOAD)
String m_relativePath;
« no previous file with comments | « Source/WebCore/fileapi/Blob.cpp ('k') | Source/WebCore/fileapi/File.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698