| Index: third_party/WebKit/Source/platform/blob/BlobData.h
|
| diff --git a/third_party/WebKit/Source/platform/blob/BlobData.h b/third_party/WebKit/Source/platform/blob/BlobData.h
|
| index 4e6aa56e8e887dbd2e7bc8a3c41879400f0531fd..0c2a6eac281ad6219d8be6e2946557e84c1c706d 100644
|
| --- a/third_party/WebKit/Source/platform/blob/BlobData.h
|
| +++ b/third_party/WebKit/Source/platform/blob/BlobData.h
|
| @@ -185,6 +185,10 @@ class PLATFORM_EXPORT BlobData {
|
| // determined.
|
| long long length() const;
|
|
|
| + bool isSingleUnknownSizeFile() const {
|
| + return m_fileComposition == FileCompositionStatus::SINGLE_UNKNOWN_SIZE_FILE;
|
| + }
|
| +
|
| private:
|
| FRIEND_TEST_ALL_PREFIXES(BlobDataTest, Consolidation);
|
|
|
| @@ -228,6 +232,8 @@ class PLATFORM_EXPORT BlobDataHandle
|
| String type() const { return m_type.isolatedCopy(); }
|
| unsigned long long size() const { return m_size; }
|
|
|
| + bool isSingleUnknownSizeFile() const { return m_isSingleUnknownSizeFile; }
|
| +
|
| ~BlobDataHandle();
|
|
|
| private:
|
| @@ -238,6 +244,7 @@ class PLATFORM_EXPORT BlobDataHandle
|
| const String m_uuid;
|
| const String m_type;
|
| const long long m_size;
|
| + const bool m_isSingleUnknownSizeFile;
|
| };
|
|
|
| } // namespace blink
|
|
|