| Index: chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc
|
| diff --git a/chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc b/chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc
|
| index 3ec83bc8718fc80835e0b9a2b13efe2accb3a1a6..990f7742987c84366fffed6d0c2acc32c760b867 100644
|
| --- a/chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc
|
| +++ b/chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc
|
| @@ -67,12 +67,13 @@ MTPFileStreamReader::MTPFileStreamReader(
|
| fileapi::FileSystemContext* file_system_context,
|
| const fileapi::FileSystemURL& url,
|
| int64 initial_offset,
|
| - const base::Time& expected_modification_time)
|
| + const base::Time& expected_modification_time,
|
| + bool do_media_header_validation)
|
| : file_system_context_(file_system_context),
|
| url_(url),
|
| current_offset_(initial_offset),
|
| expected_modification_time_(expected_modification_time),
|
| - media_header_validated_(false),
|
| + media_header_validated_(!do_media_header_validation),
|
| weak_factory_(this) {
|
| }
|
|
|
|
|