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

Issue 1017243002: Add File::Duplicate to duplicate a file handle. (Closed)

Created:
5 years, 9 months ago by grt (UTC plus 2)
Modified:
5 years, 9 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add File::Duplicate to duplicate a file handle. BUG=462584 R=rvargas@chromium.org Committed: https://crrev.com/bad5603dd8bbcf7583e8e483f8198e9b88f1c079 Cr-Commit-Position: refs/heads/master@{#321389}

Patch Set 1 #

Patch Set 2 : oops #

Total comments: 10

Patch Set 3 : rvargas feedback #

Total comments: 2

Patch Set 4 : posix fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -0 lines) Patch
M base/files/file.h View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M base/files/file_posix.cc View 1 2 3 1 chunk +14 lines, -0 lines 0 comments Download
M base/files/file_unittest.cc View 1 2 3 1 chunk +43 lines, -0 lines 0 comments Download
M base/files/file_win.cc View 1 2 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (1 generated)
grt (UTC plus 2)
Hi Ricardo. I think this is in-line with our discussion via email. What do you ...
5 years, 9 months ago (2015-03-18 19:41:25 UTC) #1
rvargas (doing something else)
Looks fine https://codereview.chromium.org/1017243002/diff/20001/base/files/file.h File base/files/file.h (right): https://codereview.chromium.org/1017243002/diff/20001/base/files/file.h#newcode290 base/files/file.h:290: // Returns a new handle to this ...
5 years, 9 months ago (2015-03-18 20:56:43 UTC) #2
grt (UTC plus 2)
https://codereview.chromium.org/1017243002/diff/20001/base/files/file.h File base/files/file.h (right): https://codereview.chromium.org/1017243002/diff/20001/base/files/file.h#newcode291 base/files/file.h:291: // POSIX, only the original File will obey FLAG_DELETE_ON_CLOSE. ...
5 years, 9 months ago (2015-03-18 21:06:25 UTC) #3
rvargas (doing something else)
https://codereview.chromium.org/1017243002/diff/20001/base/files/file.h File base/files/file.h (right): https://codereview.chromium.org/1017243002/diff/20001/base/files/file.h#newcode291 base/files/file.h:291: // POSIX, only the original File will obey FLAG_DELETE_ON_CLOSE. ...
5 years, 9 months ago (2015-03-18 21:29:58 UTC) #4
grt (UTC plus 2)
PTAL. Please feel at liberty to check the CQ box if this looks good to ...
5 years, 9 months ago (2015-03-19 03:31:03 UTC) #5
grt (UTC plus 2)
Hmm... https://codereview.chromium.org/1017243002/diff/40001/base/files/file_unittest.cc File base/files/file_unittest.cc (right): https://codereview.chromium.org/1017243002/diff/40001/base/files/file_unittest.cc#newcode482 base/files/file_unittest.cc:482: ASSERT_TRUE(base::PathExists(file_path)); This fails on ios_dbg_simulator_ninja. Is this expected ...
5 years, 9 months ago (2015-03-19 04:07:10 UTC) #6
grt (UTC plus 2)
I think this one should work. Please flit the CQ bit if you approve. Thanks. ...
5 years, 9 months ago (2015-03-19 15:26:27 UTC) #7
rvargas (doing something else)
lgtm
5 years, 9 months ago (2015-03-19 17:48:45 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1017243002/60001
5 years, 9 months ago (2015-03-19 17:49:22 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 9 months ago (2015-03-19 17:54:49 UTC) #11
commit-bot: I haz the power
5 years, 9 months ago (2015-03-19 17:55:27 UTC) #12
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/bad5603dd8bbcf7583e8e483f8198e9b88f1c079
Cr-Commit-Position: refs/heads/master@{#321389}

Powered by Google App Engine
This is Rietveld 408576698