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

Issue 2214763002: Initial version of new file wrapper (Closed)

Created:
4 years, 4 months ago by palmkvist
Modified:
4 years, 3 months ago
Reviewers:
sprang_webrtc, mflodman
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Initial version of new file wrapper BUG=webrt:6177 R=mflodman@webrtc.org, sprang@webrtc.org Committed: https://crrev.com/d714d19d224b356ab2f14ed7ba6e872a4df6c84f Cr-Commit-Position: refs/heads/master@{#14016}

Patch Set 1 #

Patch Set 2 : Testing + fixing windows specific code #

Total comments: 20

Patch Set 3 : Split platfrom specific code #

Patch Set 4 : More windows #

Patch Set 5 : Wide string for windows #

Patch Set 6 : Details #

Patch Set 7 : size_t does not autoconvert to int #

Patch Set 8 : More numerical conversions #

Patch Set 9 : Did I mention numerical conversions? #

Patch Set 10 : MSVC specific numerical conversion #

Patch Set 11 : Testing no longer assumes the file can be created #

Patch Set 12 : Report error code when file cannot be opened #

Patch Set 13 : Report file path when file cannot be opened #

Patch Set 14 : Use a system_wrapper to convert to Utf16 #

Patch Set 15 : Test random access better #

Total comments: 9

Patch Set 16 : In progress changes #

Patch Set 17 : Remove NoBestEffort #

Patch Set 18 : Correct DCHECK name on windows #

Patch Set 19 : Forgot File::Open #

Patch Set 20 : Missing include on windows #

Patch Set 21 : Use base/win32.h instead of windows.h #

Patch Set 22 : Add to rtc_base_approved #

Patch Set 23 : Remove file from rtc_base (missed the dependency) #

Patch Set 24 : Forgot gyp... #

Total comments: 1

Patch Set 25 : Correct copyright year #

Patch Set 26 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+509 lines, -0 lines) Patch
M webrtc/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/base/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 2 chunks +10 lines, -0 lines 0 comments Download
M webrtc/base/base.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 2 chunks +12 lines, -0 lines 0 comments Download
A webrtc/base/file.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +67 lines, -0 lines 0 comments Download
A webrtc/base/file.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +36 lines, -0 lines 0 comments Download
A webrtc/base/file_posix.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +96 lines, -0 lines 0 comments Download
A webrtc/base/file_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +166 lines, -0 lines 0 comments Download
A webrtc/base/file_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +120 lines, -0 lines 0 comments Download
M webrtc/webrtc_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 27 (12 generated)
palmkvist
4 years, 4 months ago (2016-08-05 13:49:34 UTC) #2
sprang_webrtc
https://codereview.webrtc.org/2214763002/diff/20001/webrtc/base/file.cc File webrtc/base/file.cc (right): https://codereview.webrtc.org/2214763002/diff/20001/webrtc/base/file.cc#newcode40 webrtc/base/file.cc:40: } nit: empty line between methods here and elsewhere ...
4 years, 4 months ago (2016-08-05 14:45:14 UTC) #3
palmkvist
https://codereview.webrtc.org/2214763002/diff/20001/webrtc/base/file.cc File webrtc/base/file.cc (right): https://codereview.webrtc.org/2214763002/diff/20001/webrtc/base/file.cc#newcode40 webrtc/base/file.cc:40: } On 2016/08/05 14:45:14, språng wrote: > nit: empty ...
4 years, 4 months ago (2016-08-08 11:15:35 UTC) #4
sprang_webrtc
https://codereview.webrtc.org/2214763002/diff/270001/webrtc/base/file.h File webrtc/base/file.h (right): https://codereview.webrtc.org/2214763002/diff/270001/webrtc/base/file.h#newcode26 webrtc/base/file.h:26: // The NoBestEffort variants do not do this. I'm ...
4 years, 4 months ago (2016-08-15 09:43:08 UTC) #5
palmkvist
https://codereview.webrtc.org/2214763002/diff/270001/webrtc/base/file.h File webrtc/base/file.h (right): https://codereview.webrtc.org/2214763002/diff/270001/webrtc/base/file.h#newcode26 webrtc/base/file.h:26: // The NoBestEffort variants do not do this. On ...
4 years, 4 months ago (2016-08-16 08:55:36 UTC) #6
sprang
https://codereview.webrtc.org/2214763002/diff/270001/webrtc/base/file.h File webrtc/base/file.h (right): https://codereview.webrtc.org/2214763002/diff/270001/webrtc/base/file.h#newcode26 webrtc/base/file.h:26: // The NoBestEffort variants do not do this. On ...
4 years, 4 months ago (2016-08-16 09:27:44 UTC) #8
palmkvist
This should be a simple replacement for FileWrapper, initially supporting only synchronous reads/writes (no actual ...
4 years, 4 months ago (2016-08-17 11:53:41 UTC) #10
sprang_webrtc
lgtm mflodman, ptal
4 years, 4 months ago (2016-08-24 09:07:12 UTC) #12
mflodman
Quick owner's review, trusting Erik's thorough review for this. LGTM with one comment. https://codereview.webrtc.org/2214763002/diff/450001/webrtc/base/file_unittest.cc File ...
4 years, 3 months ago (2016-08-31 07:53:28 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2214763002/470001
4 years, 3 months ago (2016-08-31 08:59:21 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: mac_baremetal on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/mac_baremetal/builds/13859)
4 years, 3 months ago (2016-08-31 09:00:59 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2214763002/490001
4 years, 3 months ago (2016-08-31 11:10:50 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: ios64_gn_dbg on master.tryserver.webrtc (JOB_FAILED, no build URL) ios64_gn_rel on ...
4 years, 3 months ago (2016-08-31 11:11:41 UTC) #23
palmkvist
Committed patchset #26 (id:490001) manually as d714d19d224b356ab2f14ed7ba6e872a4df6c84f (presubmit successful).
4 years, 3 months ago (2016-09-01 09:44:23 UTC) #25
palmkvist
4 years, 3 months ago (2016-09-01 11:15:21 UTC) #27
Message was sent while issue was closed.
A revert of this CL (patchset #26 id:490001) has been created in
https://codereview.webrtc.org/2299983002/ by palmkvist@webrtc.org.

The reason for reverting is: Breaks things upstream.

Powered by Google App Engine
This is Rietveld 408576698