| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 long long offset, | 171 long long offset, |
| 172 long long length, | 172 long long length, |
| 173 double expectedModificationTime); | 173 double expectedModificationTime); |
| 174 void appendBlob(PassRefPtr<BlobDataHandle>, | 174 void appendBlob(PassRefPtr<BlobDataHandle>, |
| 175 long long offset, | 175 long long offset, |
| 176 long long length); | 176 long long length); |
| 177 void appendFileSystemURL(const KURL&, | 177 void appendFileSystemURL(const KURL&, |
| 178 long long offset, | 178 long long offset, |
| 179 long long length, | 179 long long length, |
| 180 double expectedModificationTime); | 180 double expectedModificationTime); |
| 181 void appendText(const String&, bool normalizeLineEndingsToNative); | 181 void appendText(const String&); |
| 182 | 182 |
| 183 // The value of the size property for a Blob who has this data. | 183 // The value of the size property for a Blob who has this data. |
| 184 // BlobDataItem::toEndOfFile if the Blob has a file whose size was not yet | 184 // BlobDataItem::toEndOfFile if the Blob has a file whose size was not yet |
| 185 // determined. | 185 // determined. |
| 186 long long length() const; | 186 long long length() const; |
| 187 | 187 |
| 188 private: | 188 private: |
| 189 FRIEND_TEST_ALL_PREFIXES(BlobDataTest, Consolidation); | 189 FRIEND_TEST_ALL_PREFIXES(BlobDataTest, Consolidation); |
| 190 | 190 |
| 191 enum class FileCompositionStatus { | 191 enum class FileCompositionStatus { |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 BlobDataHandle(const String& uuid, const String& type, long long size); | 236 BlobDataHandle(const String& uuid, const String& type, long long size); |
| 237 | 237 |
| 238 const String m_uuid; | 238 const String m_uuid; |
| 239 const String m_type; | 239 const String m_type; |
| 240 const long long m_size; | 240 const long long m_size; |
| 241 }; | 241 }; |
| 242 | 242 |
| 243 } // namespace blink | 243 } // namespace blink |
| 244 | 244 |
| 245 #endif // BlobData_h | 245 #endif // BlobData_h |
| OLD | NEW |