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

Issue 8843: Add write and read/write support to FileStream (renamed from FileInputStream)... (Closed)

Created:
12 years, 1 month ago by Erik does not do reviews
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

* Add write and read/write support to FileStream (renamed from FileInputStream). * Moved net/disk_cache/os_file to base/platform_file. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=4454

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Patch Set 13 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+535 lines, -1091 lines) Patch
M base/base.xcodeproj/project.pbxproj View 9 10 11 12 11 chunks +6 lines, -10 lines 0 comments Download
M base/base_lib.scons View 8 9 10 11 12 2 chunks +2 lines, -0 lines 0 comments Download
M base/build/base.vcproj View 8 9 10 11 12 1 chunk +8 lines, -0 lines 0 comments Download
A + base/platform_file.h View 8 9 10 1 chunk +30 lines, -24 lines 0 comments Download
A + base/platform_file_posix.cc View 8 9 10 4 chunks +15 lines, -12 lines 0 comments Download
A + base/platform_file_win.cc View 8 9 10 2 chunks +21 lines, -15 lines 0 comments Download
D net/base/file_input_stream.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -92 lines 0 comments Download
D net/base/file_input_stream_posix.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -143 lines 0 comments Download
D net/base/file_input_stream_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -205 lines 0 comments Download
D net/base/file_input_stream_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -230 lines 0 comments Download
A + net/base/file_stream.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +40 lines, -23 lines 0 comments Download
A + net/base/file_stream_posix.cc View 1 2 3 4 5 6 7 8 9 10 11 8 chunks +56 lines, -22 lines 0 comments Download
A + net/base/file_stream_unittest.cc View 1 2 3 4 5 6 7 8 chunks +187 lines, -23 lines 0 comments Download
A + net/base/file_stream_win.cc View 1 2 3 4 5 6 7 8 9 10 chunks +67 lines, -43 lines 0 comments Download
M net/base/upload_data_stream.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +2 lines, -2 lines 0 comments Download
M net/base/upload_data_stream.cc View 3 4 5 6 7 8 9 10 11 12 1 chunk +3 lines, -1 line 0 comments Download
M net/build/net.vcproj View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +2 lines, -10 lines 0 comments Download
M net/build/net_unittests.vcproj View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M net/disk_cache/backend_impl.cc View 8 9 10 11 12 2 chunks +11 lines, -5 lines 0 comments Download
M net/disk_cache/block_files.cc View 8 9 10 11 12 1 chunk +5 lines, -3 lines 0 comments Download
M net/disk_cache/disk_cache_test_util.cc View 8 9 10 11 12 1 chunk +5 lines, -3 lines 0 comments Download
M net/disk_cache/file.h View 8 9 10 11 12 3 chunks +5 lines, -5 lines 0 comments Download
M net/disk_cache/file_posix.cc View 8 9 10 11 12 5 chunks +17 lines, -15 lines 0 comments Download
M net/disk_cache/file_win.cc View 8 9 10 11 12 9 chunks +31 lines, -24 lines 0 comments Download
M net/disk_cache/mapped_file_posix.cc View 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M net/disk_cache/mapped_file_win.cc View 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
D net/disk_cache/os_file.h View 8 9 10 11 12 1 chunk +0 lines, -40 lines 0 comments Download
D net/disk_cache/os_file_posix.cc View 8 9 10 11 12 1 chunk +0 lines, -61 lines 0 comments Download
D net/disk_cache/os_file_win.cc View 8 9 10 11 12 1 chunk +0 lines, -57 lines 0 comments Download
M net/net.xcodeproj/project.pbxproj View 1 2 3 4 5 6 7 8 9 10 11 12 9 chunks +10 lines, -12 lines 0 comments Download
M net/net_lib.scons View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +2 lines, -4 lines 0 comments Download
M net/net_unittests.scons View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M net/url_request/url_request_file_job.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +2 lines, -2 lines 0 comments Download
M net/url_request/url_request_file_job.cc View 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
Erik does not do reviews
I haven't tested on Linux/Mac yet (try server doesn't like svn cp/mv), but I figured ...
12 years, 1 month ago (2008-10-28 20:33:59 UTC) #1
darin (slow to review)
LGTM with the following adjustments: http://codereview.chromium.org/8843/diff/252/267 File net/base/file_stream.h (right): http://codereview.chromium.org/8843/diff/252/267#newcode30 Line 30: enum ReadWrite { ...
12 years, 1 month ago (2008-10-29 20:52:22 UTC) #2
Erik does not do reviews
New snapshot uploaded. I'll submit when the tree reopens. http://codereview.chromium.org/8843/diff/252/261 File net/base/file_stream_posix.cc (right): http://codereview.chromium.org/8843/diff/252/261#newcode88 Line ...
12 years, 1 month ago (2008-10-30 18:00:58 UTC) #3
darin (slow to review)
http://codereview.chromium.org/8843/diff/57/72 File net/base/file_stream.h (right): http://codereview.chromium.org/8843/diff/57/72#newcode9 Line 9: // TODO(erikkay): any reason we shouldn't support multiple ...
12 years, 1 month ago (2008-10-30 18:13:55 UTC) #4
Erik does not do reviews
http://codereview.chromium.org/8843/diff/57/72 File net/base/file_stream.h (right): http://codereview.chromium.org/8843/diff/57/72#newcode9 Line 9: // TODO(erikkay): any reason we shouldn't support multiple ...
12 years, 1 month ago (2008-10-30 18:40:21 UTC) #5
rvargas (doing something else)
http://codereview.chromium.org/8843/diff/76/286 File net/base/file_stream_win.cc (right): http://codereview.chromium.org/8843/diff/76/286#newcode145 Line 145: // TODO(erikkay): do any of the flags (SEQUENTIAL?) ...
12 years, 1 month ago (2008-10-30 20:10:09 UTC) #6
Erik does not do reviews
Per our offline discussion, I made the following changes: * moved net/disk_cache/os_file to base/platform_file * ...
12 years, 1 month ago (2008-10-31 18:23:34 UTC) #7
darin (slow to review)
LGreat! http://codereview.chromium.org/8843/diff/330/156 File base/platform_file.h (right): http://codereview.chromium.org/8843/diff/330/156#newcode21 Line 21: const PlatformFile INVALID_HANDLE_VALUE = -1; Q: is ...
12 years, 1 month ago (2008-10-31 19:36:35 UTC) #8
rvargas (doing something else)
nice. http://codereview.chromium.org/8843/diff/330/156 File base/platform_file.h (right): http://codereview.chromium.org/8843/diff/330/156#newcode21 Line 21: const PlatformFile INVALID_HANDLE_VALUE = -1; On 2008/10/31 ...
12 years, 1 month ago (2008-10-31 20:16:15 UTC) #9
Erik does not do reviews
Assuming no objections, I'll submit this snapshot. http://codereview.chromium.org/8843/diff/330/156 File base/platform_file.h (right): http://codereview.chromium.org/8843/diff/330/156#newcode21 Line 21: const ...
12 years, 1 month ago (2008-10-31 20:39:02 UTC) #10
darin (slow to review)
http://codereview.chromium.org/8843/diff/330/143 File net/base/file_stream.h (right): http://codereview.chromium.org/8843/diff/330/143#newcode104 Line 104: int open_flags_; but that's something you can do ...
12 years, 1 month ago (2008-10-31 20:41:58 UTC) #11
darin (slow to review)
LGTM http://codereview.chromium.org/8843/diff/330/143 File net/base/file_stream.h (right): http://codereview.chromium.org/8843/diff/330/143#newcode104 Line 104: int open_flags_; doh, nevermind. LGTM
12 years, 1 month ago (2008-10-31 20:46:59 UTC) #12
rvargas (doing something else)
12 years, 1 month ago (2008-10-31 20:55:21 UTC) #13
LGTM

Powered by Google App Engine
This is Rietveld 408576698