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

Issue 11098067: fileapi: Add modification time check for FileSystemFileStreamReader (Closed)

Created:
8 years, 2 months ago by hashimoto
Modified:
8 years, 2 months ago
Reviewers:
kinuko, jam
CC:
chromium-reviews, stevenjb+watch_chromium.org, kinuko+watch, darin-cc_chromium.org, oshima+watch_chromium.org, tzik+watch_chromium.org
Visibility:
Public.

Description

fileapi: Add modification time check for FileSystemFileStreamReader The check is added since BlobData has expected_modification_time field. Add tests (mostly copied from LocalFileStreamReaderTest). BUG=141835 TEST=content_unittests --gtest_filter="FileSystemFileStreamReaderTest.*" TBR=jam@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=161853

Patch Set 1 : _ #

Patch Set 2 : rebase #

Total comments: 4

Patch Set 3 : Use LocalFileStreamReader's code #

Patch Set 4 : Fix leak in test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+174 lines, -112 lines) Patch
M content/content_tests.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M webkit/chromeos/fileapi/cros_mount_point_provider.h View 1 chunk +1 line, -0 lines 0 comments Download
M webkit/chromeos/fileapi/cros_mount_point_provider.cc View 1 chunk +3 lines, -1 line 0 comments Download
M webkit/fileapi/file_system_context.h View 1 1 chunk +7 lines, -2 lines 0 comments Download
M webkit/fileapi/file_system_context.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M webkit/fileapi/file_system_file_stream_reader.h View 3 chunks +11 lines, -2 lines 0 comments Download
M webkit/fileapi/file_system_file_stream_reader.cc View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
A + webkit/fileapi/file_system_file_stream_reader_unittest.cc View 1 2 3 11 chunks +124 lines, -98 lines 0 comments Download
M webkit/fileapi/file_system_mount_point_provider.h View 1 chunk +6 lines, -1 line 0 comments Download
M webkit/fileapi/file_system_url_request_job.cc View 1 chunk +2 lines, -1 line 0 comments Download
M webkit/fileapi/isolated_mount_point_provider.h View 1 chunk +1 line, -0 lines 0 comments Download
M webkit/fileapi/isolated_mount_point_provider.cc View 1 chunk +2 lines, -1 line 0 comments Download
M webkit/fileapi/sandbox_mount_point_provider.h View 1 chunk +1 line, -0 lines 0 comments Download
M webkit/fileapi/sandbox_mount_point_provider.cc View 1 chunk +3 lines, -1 line 0 comments Download
M webkit/fileapi/test_mount_point_provider.h View 1 chunk +1 line, -0 lines 0 comments Download
M webkit/fileapi/test_mount_point_provider.cc View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
hashimoto
Could you review this?
8 years, 2 months ago (2012-10-15 06:48:05 UTC) #1
kinuko
looking good http://codereview.chromium.org/11098067/diff/13001/webkit/fileapi/file_system_file_stream_reader.cc File webkit/fileapi/file_system_file_stream_reader.cc (right): http://codereview.chromium.org/11098067/diff/13001/webkit/fileapi/file_system_file_stream_reader.cc#newcode134 webkit/fileapi/file_system_file_stream_reader.cc:134: platform_path, initial_offset_, base::Time())); I guess it might ...
8 years, 2 months ago (2012-10-15 07:24:06 UTC) #2
hashimoto
http://codereview.chromium.org/11098067/diff/13001/webkit/fileapi/file_system_file_stream_reader.cc File webkit/fileapi/file_system_file_stream_reader.cc (right): http://codereview.chromium.org/11098067/diff/13001/webkit/fileapi/file_system_file_stream_reader.cc#newcode134 webkit/fileapi/file_system_file_stream_reader.cc:134: platform_path, initial_offset_, base::Time())); On 2012/10/15 07:24:07, kinuko wrote: > ...
8 years, 2 months ago (2012-10-15 08:05:04 UTC) #3
kinuko
lgtm
8 years, 2 months ago (2012-10-15 08:30:05 UTC) #4
hashimoto
TBR-ing jam@ for one-line content_tests.gypi change.
8 years, 2 months ago (2012-10-15 11:29:16 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/11098067/22003
8 years, 2 months ago (2012-10-15 11:29:26 UTC) #6
commit-bot: I haz the power
8 years, 2 months ago (2012-10-15 13:28:08 UTC) #7
Change committed as 161853

Powered by Google App Engine
This is Rietveld 408576698