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

Issue 10701050: net: Implement canceling of all async operations in FileStream. (Closed)

Created:
8 years, 5 months ago by pivanof
Modified:
8 years, 1 month ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, kinuko+watch, oshima+watch_chromium.org, brettw-cc_chromium.org, erikwright+watch_chromium.org, stevenjb+watch_chromium.org, Lei Zhang
Base URL:
https://src.chromium.org/chrome/trunk/src/
Visibility:
Public.

Description

net: Implement canceling of all async operations in FileStream. Canceling of async operations allows to not wait for their completion in FileStream's destructor. Other related changes include: - Got rid of FileStream::Close() and FileStream::CloseSync() methods because reuse of FileStream object doesn't make much sense, it should be destroyed instead. - Changed FileStream to always acquire ownership of the PlatformFile it was given. Fixed usages of FileStream where no ownership was assumed, introduced new helper functions in base/platform_file.h on the way. - FileStream's destructor now always closes the file. If file was opened with PLATFORM_FILE_ASYNC then actual closing is done asynchronously, destructor doesn't wait for that and returns immediately. When file was opened without PLATFORM_FILE_ASYNC closing is done synchronously and the thread doing that should be allowed to do IO operations. - Implementation of FileStream is refactored. FileStream is now just a wrapper around internal object that does all actual work and that can be easily orphaned in the destructor to not block on the actual file descriptor closing. All platform-independent code is extracted into a special file and amount of platform-dependent code is minimized. BUG=115067, 112474 TEST=net_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=166091

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 5

Patch Set 8 : #

Patch Set 9 : #

Total comments: 6

Patch Set 10 : #

Total comments: 4

Patch Set 11 : #

Total comments: 11

Patch Set 12 : Remove Lock usage. #

Patch Set 13 : #

Total comments: 3

Patch Set 14 : #

Patch Set 15 : #

Total comments: 19

Patch Set 16 : #

Total comments: 4

Patch Set 17 : #

Patch Set 18 : #

Total comments: 8

Patch Set 19 : #

Total comments: 4

Patch Set 20 : #

Patch Set 21 : #

Patch Set 22 : Forgot to add two files #

Patch Set 23 : Addressing some lint errors #

Patch Set 24 : Rebase on current tree after changes in crbug.com/72001 #

Patch Set 25 : Correct fix for UploadFileElementReader #

Total comments: 1

Patch Set 26 : #

Patch Set 27 : From git #

Patch Set 28 : #

Patch Set 29 : #

Patch Set 30 : #

Patch Set 31 : #

Patch Set 32 : Update after http://crrev.com/159454 #

Total comments: 10

Patch Set 33 : #

Patch Set 34 : #

Patch Set 35 : #

Total comments: 4

Patch Set 36 : #

Total comments: 5

Patch Set 37 : #

Patch Set 38 : #

Patch Set 39 : #

Total comments: 1

Patch Set 40 : #

Total comments: 1

Patch Set 41 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1306 lines, -2093 lines) Patch
M base/platform_file.h 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 26 27 28 29 30 31 32 33 4 chunks +23 lines, -0 lines 0 comments Download
M base/platform_file_posix.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 25 26 4 chunks +33 lines, -0 lines 0 comments Download
M base/platform_file_win.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 25 26 27 28 29 30 31 32 33 3 chunks +25 lines, -0 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_html_writer.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 25 26 27 28 29 30 31 32 5 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/drive/drive_protocol_handler.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 25 26 27 28 29 30 31 32 33 34 35 36 37 2 chunks +1 line, -10 lines 0 comments Download
M chrome/browser/sessions/session_backend.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 25 26 27 28 29 30 31 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/common/zip_reader.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 25 26 27 28 29 30 31 32 1 chunk +0 lines, -1 line 0 comments Download
M chromeos/dbus/debug_daemon_client.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 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 1 chunk +1 line, -3 lines 0 comments Download
M content/browser/download/base_file.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 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 1 chunk +0 lines, -1 line 0 comments Download
content/browser/renderer_host/redirect_to_file_resource_handler.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 25 26 27 28 29 30 31 32 1 chunk +0 lines, -10 lines 0 comments Download
M content/browser/web_contents/web_drag_source_mac.mm 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 26 27 28 29 30 31 32 1 chunk +0 lines, -3 lines 0 comments Download
M net/base/file_stream.h 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 26 27 28 29 30 31 3 chunks +17 lines, -32 lines 0 comments Download
M net/base/file_stream.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 25 26 27 28 29 30 31 32 1 chunk +198 lines, -36 lines 0 comments Download
A net/base/file_stream_context.h 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 26 27 28 29 30 31 32 33 34 35 1 chunk +230 lines, -0 lines 0 comments Download
A net/base/file_stream_context.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 25 26 27 28 29 30 31 32 1 chunk +231 lines, -0 lines 0 comments Download
A net/base/file_stream_context_posix.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 25 26 27 28 29 30 31 1 chunk +176 lines, -0 lines 0 comments Download
A net/base/file_stream_context_win.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 25 26 27 28 29 30 31 1 chunk +237 lines, -0 lines 0 comments Download
D net/base/file_stream_posix.h 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 26 27 28 29 30 31 1 chunk +0 lines, -83 lines 0 comments Download
D net/base/file_stream_posix.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 25 26 27 28 29 30 31 1 chunk +0 lines, -683 lines 0 comments Download
M net/base/file_stream_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 25 26 27 28 29 30 31 32 33 32 chunks +78 lines, -303 lines 0 comments Download
D net/base/file_stream_win.h 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 26 27 28 29 30 31 1 chunk +0 lines, -104 lines 0 comments Download
D net/base/file_stream_win.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 25 26 27 28 29 30 31 1 chunk +0 lines, -778 lines 0 comments Download
M net/base/net_log_event_type_list.h 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 26 27 28 29 30 31 32 1 chunk +0 lines, -4 lines 0 comments Download
M net/base/upload_file_element_reader.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 25 26 27 28 29 30 31 32 33 34 35 36 37 38 1 chunk +0 lines, -1 line 0 comments Download
M net/net.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 26 27 28 29 30 31 32 33 34 35 36 37 38 1 chunk +4 lines, -4 lines 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 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 2 chunks +6 lines, -2 lines 0 comments Download
M net/url_request/url_request_file_job.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 25 26 27 28 29 30 31 32 7 chunks +9 lines, -10 lines 0 comments Download
M tools/valgrind/memcheck/suppressions.txt 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 26 27 28 29 30 31 32 33 34 35 36 37 38 1 chunk +15 lines, -0 lines 1 comment Download
M webkit/glue/webfileutilities_impl.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 25 26 27 28 29 30 31 32 3 chunks +6 lines, -10 lines 0 comments Download
M webkit/tools/test_shell/simple_resource_loader_bridge.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 25 26 27 28 29 30 31 32 7 chunks +7 lines, -7 lines 0 comments Download

Messages

Total messages: 87 (0 generated)
pivanof
This patch looks like it's a huge change but it mostly consists of shuffling code ...
8 years, 5 months ago (2012-06-30 23:29:31 UTC) #1
willchan no longer on Chromium
On Sat, Jun 30, 2012 at 4:29 PM, <paivanof@gmail.com> wrote: > Reviewers: willchan, satorux1, > ...
8 years, 5 months ago (2012-07-02 08:18:50 UTC) #2
pivanof
On 2012/07/02 08:18:50, willchan wrote: > On Sat, Jun 30, 2012 at 4:29 PM, <mailto:paivanof@gmail.com> ...
8 years, 5 months ago (2012-07-02 11:38:18 UTC) #3
pivanof
So I fixed Close*() methods to work correctly when FileStream created from existing file descriptor ...
8 years, 5 months ago (2012-07-05 01:51:55 UTC) #4
pivanof
wtc, could you review this patch while Will is on vacation?
8 years, 5 months ago (2012-07-12 01:40:13 UTC) #5
wtc
Review comments on patch set 7: https://chromiumcodereview.appspot.com/10701050/diff/13/net/base/file_stream_posix.cc File net/base/file_stream_posix.cc (right): https://chromiumcodereview.appspot.com/10701050/diff/13/net/base/file_stream_posix.cc#newcode52 net/base/file_stream_posix.cc:52: Nit: delete a ...
8 years, 5 months ago (2012-07-13 23:40:21 UTC) #6
pivanof
https://chromiumcodereview.appspot.com/10701050/diff/13/net/base/file_stream_posix.cc File net/base/file_stream_posix.cc (right): https://chromiumcodereview.appspot.com/10701050/diff/13/net/base/file_stream_posix.cc#newcode123 net/base/file_stream_posix.cc:123: void OnAsyncCompleted(const base::Callback<void(R)>& callback, R* result); On 2012/07/13 23:40:21, ...
8 years, 5 months ago (2012-07-14 00:13:58 UTC) #7
willchan no longer on Chromium
FYI, I'm back and plan on taking over this review again as I'm probably more ...
8 years, 5 months ago (2012-07-18 18:20:38 UTC) #8
willchan no longer on Chromium
On 2012/07/02 11:38:18, pivanof wrote: > On 2012/07/02 08:18:50, willchan wrote: > > On Sat, ...
8 years, 5 months ago (2012-07-19 22:10:22 UTC) #9
pivanof
On 2012/07/19 22:10:22, willchan wrote: > On 2012/07/02 11:38:18, pivanof wrote: > > On 2012/07/02 ...
8 years, 5 months ago (2012-07-19 22:58:00 UTC) #10
willchan no longer on Chromium
https://chromiumcodereview.appspot.com/10701050/diff/23002/net/base/file_stream.h File net/base/file_stream.h (right): https://chromiumcodereview.appspot.com/10701050/diff/23002/net/base/file_stream.h#newcode47 net/base/file_stream.h:47: // - You wait for completion of all async ...
8 years, 5 months ago (2012-07-23 20:57:37 UTC) #11
pivanof
https://chromiumcodereview.appspot.com/10701050/diff/23002/net/base/file_stream.h File net/base/file_stream.h (right): https://chromiumcodereview.appspot.com/10701050/diff/23002/net/base/file_stream.h#newcode47 net/base/file_stream.h:47: // - You wait for completion of all async ...
8 years, 5 months ago (2012-07-23 21:18:28 UTC) #12
willchan no longer on Chromium
https://chromiumcodereview.appspot.com/10701050/diff/23002/net/base/file_stream.h File net/base/file_stream.h (right): https://chromiumcodereview.appspot.com/10701050/diff/23002/net/base/file_stream.h#newcode47 net/base/file_stream.h:47: // - You wait for completion of all async ...
8 years, 5 months ago (2012-07-23 21:32:02 UTC) #13
pivanof
On 2012/07/23 21:32:02, willchan wrote: > https://chromiumcodereview.appspot.com/10701050/diff/23002/net/base/file_stream.h > File net/base/file_stream.h (right): > > https://chromiumcodereview.appspot.com/10701050/diff/23002/net/base/file_stream.h#newcode47 > ...
8 years, 5 months ago (2012-07-23 21:44:25 UTC) #14
willchan no longer on Chromium
On 2012/07/23 21:44:25, pivanof wrote: > On 2012/07/23 21:32:02, willchan wrote: > > > https://chromiumcodereview.appspot.com/10701050/diff/23002/net/base/file_stream.h ...
8 years, 5 months ago (2012-07-23 21:58:31 UTC) #15
pivanof
On 2012/07/23 21:58:31, willchan wrote: > On 2012/07/23 21:44:25, pivanof wrote: > > There's usage ...
8 years, 5 months ago (2012-07-24 00:24:06 UTC) #16
pivanof
I've updated the patch for FileStream to always maintain ownership of file descriptor and removed ...
8 years, 5 months ago (2012-07-24 04:46:01 UTC) #17
willchan no longer on Chromium
I need to review the FileStream implementation stuff next. I may need to hand off ...
8 years, 4 months ago (2012-07-27 21:19:47 UTC) #18
pivanof
On 2012/07/27 21:19:47, willchan wrote: > https://chromiumcodereview.appspot.com/10701050/diff/24002/net/base/file_stream.h > File net/base/file_stream.h (right): > > https://chromiumcodereview.appspot.com/10701050/diff/24002/net/base/file_stream.h#newcode67 > ...
8 years, 4 months ago (2012-07-29 03:10:33 UTC) #19
pivanof
willchan, wtc, mmenke: Is anybody reviewing this now?
8 years, 4 months ago (2012-08-08 04:41:17 UTC) #20
mmenke
On 2012/08/08 04:41:17, pivanof wrote: > willchan, wtc, mmenke: Is anybody reviewing this now? Will's ...
8 years, 4 months ago (2012-08-08 16:53:00 UTC) #21
wtc
On 2012/08/08 16:53:00, Matt Menke wrote: > > Will's on vacation, not sure when he'll ...
8 years, 4 months ago (2012-08-08 18:28:54 UTC) #22
pivanof
On 2012/08/08 18:28:54, wtc wrote: > willchan gets back on August 14th. Can you wait ...
8 years, 4 months ago (2012-08-08 22:17:34 UTC) #23
willchan no longer on Chromium
I'm back, sorry folks! Looking. On Wed, Aug 8, 2012 at 3:17 PM, <paivanof@gmail.com> wrote: ...
8 years, 4 months ago (2012-08-14 17:55:22 UTC) #24
willchan no longer on Chromium
Not sure why I didn't send these out earlier. Here's some leftover draft comments from ...
8 years, 4 months ago (2012-08-14 17:55:46 UTC) #25
willchan no longer on Chromium
http://codereview.chromium.org/10701050/diff/38001/net/base/file_stream.h File net/base/file_stream.h (right): http://codereview.chromium.org/10701050/diff/38001/net/base/file_stream.h#newcode44 net/base/file_stream.h:44: // Note: new FileStream object takes ownership of the ...
8 years, 4 months ago (2012-08-14 19:23:26 UTC) #26
mmenke
http://codereview.chromium.org/10701050/diff/38001/net/base/file_stream_posix.cc File net/base/file_stream_posix.cc (right): http://codereview.chromium.org/10701050/diff/38001/net/base/file_stream_posix.cc#newcode129 net/base/file_stream_posix.cc:129: base::Lock net_log_lock_; On 2012/08/14 19:23:26, willchan wrote: > This ...
8 years, 4 months ago (2012-08-14 20:31:01 UTC) #27
willchan no longer on Chromium
http://codereview.chromium.org/10701050/diff/38001/net/base/file_stream_posix.cc File net/base/file_stream_posix.cc (right): http://codereview.chromium.org/10701050/diff/38001/net/base/file_stream_posix.cc#newcode129 net/base/file_stream_posix.cc:129: base::Lock net_log_lock_; On 2012/08/14 20:31:01, Matt Menke wrote: > ...
8 years, 4 months ago (2012-08-14 20:34:12 UTC) #28
willchan no longer on Chromium
OK, I read the windows code now too. It looks like my same general comments ...
8 years, 4 months ago (2012-08-14 20:40:18 UTC) #29
pivanof
On 2012/08/14 20:40:18, willchan wrote: > OK, I read the windows code now too. It ...
8 years, 4 months ago (2012-08-14 21:04:24 UTC) #30
pivanof
On 2012/08/14 20:34:12, willchan wrote: > http://codereview.chromium.org/10701050/diff/38001/net/base/file_stream_posix.cc > File net/base/file_stream_posix.cc (right): > > http://codereview.chromium.org/10701050/diff/38001/net/base/file_stream_posix.cc#newcode129 > ...
8 years, 4 months ago (2012-08-14 21:06:25 UTC) #31
willchan no longer on Chromium
On Tue, Aug 14, 2012 at 2:06 PM, <paivanof@gmail.com> wrote: > On 2012/08/14 20:34:12, willchan ...
8 years, 4 months ago (2012-08-14 21:15:04 UTC) #32
pivanof
On 2012/08/14 21:15:04, willchan wrote: > On Tue, Aug 14, 2012 at 2:06 PM, <mailto:paivanof@gmail.com> ...
8 years, 4 months ago (2012-08-14 21:54:59 UTC) #33
willchan no longer on Chromium
On Tue, Aug 14, 2012 at 2:54 PM, <paivanof@gmail.com> wrote: > On 2012/08/14 21:15:04, willchan ...
8 years, 4 months ago (2012-08-14 22:04:31 UTC) #34
pivanof
Sorry for the long delay. I've put some of code shared between Win and Posix ...
8 years, 4 months ago (2012-08-25 07:35:53 UTC) #35
willchan no longer on Chromium
http://codereview.chromium.org/10701050/diff/38001/net/base/file_stream_posix.cc File net/base/file_stream_posix.cc (right): http://codereview.chromium.org/10701050/diff/38001/net/base/file_stream_posix.cc#newcode120 net/base/file_stream_posix.cc:120: void OnAsyncCompleted(const base::Callback<void(R)>& callback, R* result); On 2012/08/25 07:35:53, ...
8 years, 3 months ago (2012-08-26 22:33:59 UTC) #36
pivanof
On 2012/08/26 22:33:59, willchan wrote: > http://code.google.com/searchframe#OAMlx_jo-ck/src/base/threading/worker_pool.h&exact_package=chromium&q=worker_pool.h&type=cs&l=55 > has a base::WorkerPool::GetTaskRunner(). I thought TaskRunner is ...
8 years, 3 months ago (2012-08-27 00:13:00 UTC) #37
willchan no longer on Chromium
On 2012/08/27 00:13:00, pivanof wrote: > On 2012/08/26 22:33:59, willchan wrote: > > > http://code.google.com/searchframe#OAMlx_jo-ck/src/base/threading/worker_pool.h&exact_package=chromium&q=worker_pool.h&type=cs&l=55 ...
8 years, 3 months ago (2012-08-27 05:24:52 UTC) #38
willchan no longer on Chromium
http://codereview.chromium.org/10701050/diff/61002/net/base/file_stream.cc File net/base/file_stream.cc (right): http://codereview.chromium.org/10701050/diff/61002/net/base/file_stream.cc#newcode6 net/base/file_stream.cc:6: #include "net/base/file_stream.h" foo.h always goes first in foo.cc according ...
8 years, 3 months ago (2012-08-27 06:24:06 UTC) #39
willchan no longer on Chromium
http://codereview.chromium.org/10701050/diff/60006/net/base/file_stream_posix.cc File net/base/file_stream_posix.cc (right): http://codereview.chromium.org/10701050/diff/60006/net/base/file_stream_posix.cc#newcode70 net/base/file_stream_posix.cc:70: void FileStream::AsyncContext::Destroy() { Oops, earlier I neglected to mention ...
8 years, 3 months ago (2012-08-27 06:59:10 UTC) #40
pivanof
willchan, I'm not sure that I understood your idea with orphaning exactly as you intended ...
8 years, 3 months ago (2012-08-27 08:43:30 UTC) #41
willchan no longer on Chromium
http://codereview.chromium.org/10701050/diff/60006/net/base/file_stream.cc File net/base/file_stream.cc (right): http://codereview.chromium.org/10701050/diff/60006/net/base/file_stream.cc#newcode80 net/base/file_stream.cc:80: int FileStream::OpenSync(const FilePath& path, int open_flags) { On 2012/08/27 ...
8 years, 3 months ago (2012-09-05 00:03:38 UTC) #42
willchan no longer on Chromium
http://codereview.chromium.org/10701050/diff/61006/net/base/file_stream.cc File net/base/file_stream.cc (right): http://codereview.chromium.org/10701050/diff/61006/net/base/file_stream.cc#newcode36 net/base/file_stream.cc:36: CloseSync(); Can you change this to: if (IsOpen() && ...
8 years, 3 months ago (2012-09-05 00:15:48 UTC) #43
pivanof
On 2012/09/05 00:03:38, willchan wrote: > I see. We generally try to prevent separation of ...
8 years, 3 months ago (2012-09-05 08:41:18 UTC) #44
willchan no longer on Chromium
http://codereview.chromium.org/10701050/diff/77001/net/base/file_stream.cc File net/base/file_stream.cc (right): http://codereview.chromium.org/10701050/diff/77001/net/base/file_stream.cc#newcode22 net/base/file_stream.cc:22: void FileStream::Context::Orphan() { DCHECK(!orphaned_); We shouldn't call this twice. ...
8 years, 3 months ago (2012-09-05 23:20:31 UTC) #45
pivanof
On 2012/09/05 23:20:31, willchan wrote: > http://codereview.chromium.org/10701050/diff/77001/net/base/file_stream.cc#newcode129 > net/base/file_stream.cc:129: void FileStream::Context::CheckForOpenError(int* > result) { > ...
8 years, 3 months ago (2012-09-05 23:35:46 UTC) #46
willchan no longer on Chromium
On 2012/09/05 23:35:46, pivanof wrote: > On 2012/09/05 23:20:31, willchan wrote: > > > http://codereview.chromium.org/10701050/diff/77001/net/base/file_stream.cc#newcode129 ...
8 years, 3 months ago (2012-09-06 00:25:02 UTC) #47
willchan no longer on Chromium
On 2012/09/05 23:35:46, pivanof wrote: > On 2012/09/05 23:20:31, willchan wrote: > > > http://codereview.chromium.org/10701050/diff/77001/net/base/file_stream.cc#newcode129 ...
8 years, 3 months ago (2012-09-06 00:45:20 UTC) #48
pivanof
On 2012/09/06 00:45:20, willchan wrote: > http://codereview.chromium.org/10701050/diff/77001/net/base/file_stream.cc#newcode141 > > > net/base/file_stream.cc:141: OnAsyncCompleted(callback, result); > > ...
8 years, 3 months ago (2012-09-06 08:08:23 UTC) #49
willchan no longer on Chromium
OK, there are definitely some bugs that the tests uncovered when I hit the tryservers. ...
8 years, 3 months ago (2012-09-11 23:05:02 UTC) #50
pivanof
On 2012/09/11 23:05:02, willchan wrote: > OK, there are definitely some bugs that the tests ...
8 years, 3 months ago (2012-09-12 06:52:44 UTC) #51
willchan no longer on Chromium
On 2012/09/12 06:52:44, pivanof wrote: > On 2012/09/11 23:05:02, willchan wrote: > > OK, there ...
8 years, 3 months ago (2012-09-12 17:49:04 UTC) #52
pivanof
willchan, could you please take a look at test failures in try jobs (except valgrind ...
8 years, 3 months ago (2012-09-12 22:31:17 UTC) #53
willchan no longer on Chromium
RtlInitializeExceptionChain() is the Windows exception handler. We unfortunately do not get symbolized stacktraces on Windows. ...
8 years, 3 months ago (2012-09-12 23:05:13 UTC) #54
willchan no longer on Chromium
So, I talked to wtc. We came to the conclusion that we'd rather use a ...
8 years, 3 months ago (2012-09-12 23:28:06 UTC) #55
pivanof
On 2012/09/12 23:28:06, willchan wrote: > Alternatively, we could completely > remove the Close() API, ...
8 years, 3 months ago (2012-09-16 04:59:55 UTC) #56
willchan no longer on Chromium
On 2012/09/16 04:59:55, pivanof wrote: > On 2012/09/12 23:28:06, willchan wrote: > > Alternatively, we ...
8 years, 3 months ago (2012-09-17 17:40:45 UTC) #57
pivanof
willchan, I've updated the patch (why doesn't it show file deletions?). Please take a look ...
8 years, 3 months ago (2012-09-18 23:34:44 UTC) #58
willchan no longer on Chromium
On 2012/09/18 23:34:44, pivanof wrote: > willchan, I've updated the patch (why doesn't it show ...
8 years, 3 months ago (2012-09-20 18:33:42 UTC) #59
pivanof
On 2012/09/20 18:33:42, willchan wrote: > The tryjobs are failing to patch. You probably need ...
8 years, 3 months ago (2012-09-20 18:39:44 UTC) #60
willchan no longer on Chromium
On 2012/09/20 18:39:44, pivanof wrote: > On 2012/09/20 18:33:42, willchan wrote: > > The tryjobs ...
8 years, 3 months ago (2012-09-20 18:46:38 UTC) #61
pivanof
I rebased, fixed conflict in suppressions.txt and uploaded the patch again. It looks much better ...
8 years, 3 months ago (2012-09-20 20:43:00 UTC) #62
pivanof
Okay, the rest of tryjob failures look completely unrelated. So willchan, please review it.
8 years, 2 months ago (2012-09-30 23:26:06 UTC) #63
willchan no longer on Chromium
FYI I'm going to be out at the chrome networking offsite all week! That means ...
8 years, 2 months ago (2012-10-01 04:45:18 UTC) #64
willchan no longer on Chromium
Sorry Pavel, put away your shotgun, I'll look at this on Monday for sure :) ...
8 years, 1 month ago (2012-10-28 05:58:14 UTC) #65
willchan no longer on Chromium
OK, I'm basically done with this review. Do you remember all the things we discussed ...
8 years, 1 month ago (2012-10-30 18:01:26 UTC) #66
pivanof
> Do you remember all the things we > discussed for future followup work here? ...
8 years, 1 month ago (2012-10-30 18:54:21 UTC) #67
willchan no longer on Chromium
I can't seem to find any references to future followup work here. I must have ...
8 years, 1 month ago (2012-10-31 06:11:44 UTC) #68
pivanof
On 2012/10/31 06:11:44, willchan wrote: > I can't seem to find any references to future ...
8 years, 1 month ago (2012-11-02 16:52:06 UTC) #69
willchan no longer on Chromium
base/ && net/ LGTM. Thanks for all the cleanup! Good luck landing this, I suspect ...
8 years, 1 month ago (2012-11-02 19:06:04 UTC) #70
pivanof
sky: Please take a quick look at content/browser/, chrome/common/, chrome/browser/sessions/ and chrome/browser/bookmarks/ hashimoto: Please take ...
8 years, 1 month ago (2012-11-03 07:31:52 UTC) #71
willchan no longer on Chromium
CL desc looks great to me, thanks. On Sat, Nov 3, 2012 at 12:31 AM, ...
8 years, 1 month ago (2012-11-03 16:52:08 UTC) #72
jamesr
webkit/ lgtm
8 years, 1 month ago (2012-11-03 20:25:03 UTC) #73
hashimoto
chrome/browser/chromeos/drve lgtm with a nit. https://codereview.chromium.org/10701050/diff/169004/chrome/browser/chromeos/drive/drive_protocol_handler.cc File chrome/browser/chromeos/drive/drive_protocol_handler.cc (right): https://codereview.chromium.org/10701050/diff/169004/chrome/browser/chromeos/drive/drive_protocol_handler.cc#newcode832 chrome/browser/chromeos/drive/drive_protocol_handler.cc:832: if (!stream_.get()) nit: Since ...
8 years, 1 month ago (2012-11-05 02:29:19 UTC) #74
satorux1
http://codereview.chromium.org/10701050/diff/169004/chrome/browser/chromeos/drive/drive_protocol_handler.cc File chrome/browser/chromeos/drive/drive_protocol_handler.cc (right): http://codereview.chromium.org/10701050/diff/169004/chrome/browser/chromeos/drive/drive_protocol_handler.cc#newcode832 chrome/browser/chromeos/drive/drive_protocol_handler.cc:832: if (!stream_.get()) On 2012/11/05 02:29:19, hashimoto wrote: > nit: ...
8 years, 1 month ago (2012-11-05 03:18:34 UTC) #75
pivanof
http://codereview.chromium.org/10701050/diff/169004/chrome/browser/chromeos/drive/drive_protocol_handler.cc File chrome/browser/chromeos/drive/drive_protocol_handler.cc (right): http://codereview.chromium.org/10701050/diff/169004/chrome/browser/chromeos/drive/drive_protocol_handler.cc#newcode832 chrome/browser/chromeos/drive/drive_protocol_handler.cc:832: if (!stream_.get()) On 2012/11/05 02:29:19, hashimoto wrote: > nit: ...
8 years, 1 month ago (2012-11-05 05:17:46 UTC) #76
hashimoto
chrome/browser/chromeos/drve lgtm, thanks. On 2012/11/05 05:17:46, pivanof wrote: > http://codereview.chromium.org/10701050/diff/169004/chrome/browser/chromeos/drive/drive_protocol_handler.cc > File chrome/browser/chromeos/drive/drive_protocol_handler.cc (right): > ...
8 years, 1 month ago (2012-11-05 05:20:45 UTC) #77
satorux1
chromeos/ LGTM with a nit: http://codereview.chromium.org/10701050/diff/199063/chromeos/dbus/debug_daemon_client.cc File chromeos/dbus/debug_daemon_client.cc (right): http://codereview.chromium.org/10701050/diff/199063/chromeos/dbus/debug_daemon_client.cc#newcode53 chromeos/dbus/debug_daemon_client.cc:53: virtual ~PipeReader() { I'd ...
8 years, 1 month ago (2012-11-05 05:30:37 UTC) #78
pivanof
On 2012/11/05 05:30:37, satorux1 wrote: > http://codereview.chromium.org/10701050/diff/199063/chromeos/dbus/debug_daemon_client.cc > File chromeos/dbus/debug_daemon_client.cc (right): > > http://codereview.chromium.org/10701050/diff/199063/chromeos/dbus/debug_daemon_client.cc#newcode53 > ...
8 years, 1 month ago (2012-11-05 06:11:34 UTC) #79
sky
https://codereview.chromium.org/10701050/diff/169006/content/browser/download/base_file.cc File content/browser/download/base_file.cc (right): https://codereview.chromium.org/10701050/diff/169006/content/browser/download/base_file.cc#newcode202 content/browser/download/base_file.cc:202: DCHECK(deleted); Why the DCHECK? We know delete can fail ...
8 years, 1 month ago (2012-11-05 16:12:52 UTC) #80
pivanof
On 2012/11/05 16:12:52, sky wrote: > https://codereview.chromium.org/10701050/diff/169006/content/browser/download/base_file.cc > File content/browser/download/base_file.cc (right): > > https://codereview.chromium.org/10701050/diff/169006/content/browser/download/base_file.cc#newcode202 > ...
8 years, 1 month ago (2012-11-05 18:51:53 UTC) #81
sky
My rationale is that the failure can happen for reasons outside of Chromes control. Because ...
8 years, 1 month ago (2012-11-05 21:57:44 UTC) #82
pivanof
On 2012/11/05 21:57:44, sky wrote: > My rationale is that the failure can happen for ...
8 years, 1 month ago (2012-11-05 22:01:00 UTC) #83
sky
LGTM
8 years, 1 month ago (2012-11-05 22:14:50 UTC) #84
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/paivanof@gmail.com/10701050/204035
8 years, 1 month ago (2012-11-05 22:19:11 UTC) #85
commit-bot: I haz the power
Change committed as 166091
8 years, 1 month ago (2012-11-06 00:29:54 UTC) #86
Lei Zhang
8 years, 1 month ago (2012-11-06 01:58:27 UTC) #87
https://chromiumcodereview.appspot.com/10701050/diff/204035/tools/valgrind/me...
File tools/valgrind/memcheck/suppressions.txt (right):

https://chromiumcodereview.appspot.com/10701050/diff/204035/tools/valgrind/me...
tools/valgrind/memcheck/suppressions.txt:5886: FileStream::Context can leak
through WorkerPool by design
This is in the wrong section, and you also need to suppress the same leaks for
Heapchecker. I'll take care of it.

Powered by Google App Engine
This is Rietveld 408576698