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

Issue 18284005: Make ByteStream independent from DownloadInterruptReason (Closed)

Created:
7 years, 5 months ago by tyoshino (SeeGerritForStatus)
Modified:
7 years, 4 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, asanka, benjhayden+dwatch_chromium.org
Visibility:
Public.

Description

Make ByteStream independent from DownloadInterruptReason Change status type to int to make it portable to other component. After this change, ByteStream could be moved under src/net/base/ or src/base directory. - Comment fix (MaybePostToPeer -> Write) BUG=169957 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=215265

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Templatize #

Patch Set 4 : Remove cc #

Patch Set 5 : #

Patch Set 6 : inline #

Patch Set 7 : Rebase #

Patch Set 8 : Remove CONTENT_EXPORT from CreateByteStream #

Patch Set 9 : Make VC happy #

Patch Set 10 : #

Patch Set 11 : Remove CONTENT_EXPORT #

Patch Set 12 : Remove CONTENT_EXPORT all #

Total comments: 8

Patch Set 13 : rdsmith's comments #

Patch Set 14 : int #

Patch Set 15 : reupload with the change made for rdsmith's comment #

Total comments: 2

Patch Set 16 : #

Patch Set 17 : #

Patch Set 18 : rdsmith's comment #

Patch Set 19 : Typo fix #

Total comments: 2

Patch Set 20 : Rebase #

Patch Set 21 : jam's comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -46 lines) Patch
M content/browser/byte_stream.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 6 chunks +10 lines, -9 lines 0 comments Download
M content/browser/byte_stream.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 13 chunks +15 lines, -17 lines 0 comments Download
M content/browser/byte_stream_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +15 lines, -17 lines 0 comments Download
M content/browser/download/download_file_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/download/download_file_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M content/browser/streams/stream.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 34 (0 generated)
tyoshino (SeeGerritForStatus)
7 years, 5 months ago (2013-07-12 10:53:22 UTC) #1
sky
I'm not too familiar with this code. Is there someone else you can get to ...
7 years, 5 months ago (2013-07-15 18:02:18 UTC) #2
tyoshino (SeeGerritForStatus)
+rdsmith as a main reviewer
7 years, 5 months ago (2013-07-17 03:50:03 UTC) #3
Randy Smith (Not in Mondays)
I'm OOO today, but I would like to review this code; I'll try to get ...
7 years, 5 months ago (2013-07-17 11:02:20 UTC) #4
tyoshino (SeeGerritForStatus)
On 2013/07/17 11:02:20, rdsmith wrote: > One question (without looking at the code): When I ...
7 years, 5 months ago (2013-07-17 18:39:40 UTC) #5
Randy Smith (Not in Mondays)
On 2013/07/17 18:39:40, tyoshino wrote: > On 2013/07/17 11:02:20, rdsmith wrote: > > One question ...
7 years, 5 months ago (2013-07-18 16:09:43 UTC) #6
tyoshino (SeeGerritForStatus)
On 2013/07/18 16:09:43, rdsmith wrote: ... > very easy. If we write it as a ...
7 years, 5 months ago (2013-07-25 07:25:05 UTC) #7
tyoshino (SeeGerritForStatus)
It looks like we need to put most of implementation in .h file. I tried ...
7 years, 5 months ago (2013-07-26 05:31:13 UTC) #8
tyoshino (SeeGerritForStatus)
Done. It's not templatized. -sky +jam for OWNERS review as I've made some changes out ...
7 years, 4 months ago (2013-07-29 07:18:41 UTC) #9
tyoshino (SeeGerritForStatus)
On 2013/07/29 07:18:41, tyoshino wrote: > Done. It's not templatized. s/not/now/
7 years, 4 months ago (2013-07-29 07:19:08 UTC) #10
tyoshino (SeeGerritForStatus)
It's good if we could enclose implementation details in unnamed namespace, but it's prohibited by ...
7 years, 4 months ago (2013-07-29 13:56:04 UTC) #11
jam
The plan is to get rid of src/webkit. Everything there is moving to content. Why ...
7 years, 4 months ago (2013-07-29 16:22:28 UTC) #12
Randy Smith (Not in Mondays)
I'll do a full review in the next day or two, dependent on the results ...
7 years, 4 months ago (2013-07-29 18:01:10 UTC) #13
tyoshino (SeeGerritForStatus)
Moving src/webkit to content likely to happen soon. But regardless of the plan, I think ...
7 years, 4 months ago (2013-07-30 05:12:49 UTC) #14
jam
On 2013/07/30 05:12:49, tyoshino wrote: > Moving src/webkit to content likely to happen soon. > ...
7 years, 4 months ago (2013-07-30 15:54:46 UTC) #15
Randy Smith (Not in Mondays)
On 2013/07/30 15:54:46, jam wrote: > On 2013/07/30 05:12:49, tyoshino wrote: > > Moving src/webkit ...
7 years, 4 months ago (2013-07-30 16:20:04 UTC) #16
Randy Smith (Not in Mondays)
In doing my first quick read-through of this, I realize that I don't have confidence ...
7 years, 4 months ago (2013-07-30 17:43:59 UTC) #17
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/18284005/diff/29022/content/browser/byte_stream.h File content/browser/byte_stream.h (left): https://codereview.chromium.org/18284005/diff/29022/content/browser/byte_stream.h#oldcode187 content/browser/byte_stream.h:187: CONTENT_EXPORT void CreateByteStream( On 2013/07/30 17:43:59, rdsmith wrote: > ...
7 years, 4 months ago (2013-07-30 18:55:59 UTC) #18
tyoshino (SeeGerritForStatus)
On 2013/07/30 17:43:59, rdsmith wrote: > In doing my first quick read-through of this, I ...
7 years, 4 months ago (2013-07-30 19:01:17 UTC) #19
jam
On 2013/07/30 16:20:04, rdsmith wrote: > On 2013/07/30 15:54:46, jam wrote: > > On 2013/07/30 ...
7 years, 4 months ago (2013-07-31 15:05:12 UTC) #20
Randy Smith (Not in Mondays)
I'd very much prefer not using int, just because I care more about the consumer ...
7 years, 4 months ago (2013-07-31 15:24:59 UTC) #21
jam
On 2013/07/31 15:24:59, rdsmith wrote: > I'd very much prefer not using int, just because ...
7 years, 4 months ago (2013-07-31 17:07:17 UTC) #22
Randy Smith (Not in Mondays)
On 2013/07/31 17:07:17, jam wrote: > On 2013/07/31 15:24:59, rdsmith wrote: > > I'd very ...
7 years, 4 months ago (2013-07-31 17:30:50 UTC) #23
jam
On 2013/07/31 17:30:50, rdsmith wrote: > On 2013/07/31 17:07:17, jam wrote: > > On 2013/07/31 ...
7 years, 4 months ago (2013-07-31 17:36:51 UTC) #24
Randy Smith (Not in Mondays)
On 2013/07/31 17:36:51, jam wrote: > On 2013/07/31 17:30:50, rdsmith wrote: > > On 2013/07/31 ...
7 years, 4 months ago (2013-07-31 18:05:40 UTC) #25
tyoshino (SeeGerritForStatus)
On 2013/07/31 18:05:40, rdsmith wrote: > John and I talked, and he convinced me that ...
7 years, 4 months ago (2013-07-31 19:32:00 UTC) #26
tyoshino (SeeGerritForStatus)
Done rebasing. Ready
7 years, 4 months ago (2013-07-31 19:59:29 UTC) #27
Randy Smith (Not in Mondays)
LGTM with nit. https://codereview.chromium.org/18284005/diff/52002/content/browser/byte_stream.h File content/browser/byte_stream.h (right): https://codereview.chromium.org/18284005/diff/52002/content/browser/byte_stream.h#newcode37 content/browser/byte_stream.h:37: // are indicated to the sink ...
7 years, 4 months ago (2013-07-31 22:34:41 UTC) #28
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/18284005/diff/52002/content/browser/byte_stream.h File content/browser/byte_stream.h (right): https://codereview.chromium.org/18284005/diff/52002/content/browser/byte_stream.h#newcode37 content/browser/byte_stream.h:37: // are indicated to the sink via the GetStatus() ...
7 years, 4 months ago (2013-08-01 03:46:40 UTC) #29
tyoshino (SeeGerritForStatus)
Merged typo fix I made. https://codereview.chromium.org/18284005/diff2/79007:88001/content/browser/byte_stream.cc PTAL, jam
7 years, 4 months ago (2013-08-01 03:51:03 UTC) #30
jam
lgtm https://codereview.chromium.org/18284005/diff/88001/content/browser/streams/stream.cc File content/browser/streams/stream.cc (right): https://codereview.chromium.org/18284005/diff/88001/content/browser/streams/stream.cc#newcode75 content/browser/streams/stream.cc:75: writer_->Close(0 /* status */); nit: here and in ...
7 years, 4 months ago (2013-08-01 16:32:23 UTC) #31
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/18284005/diff/88001/content/browser/streams/stream.cc File content/browser/streams/stream.cc (right): https://codereview.chromium.org/18284005/diff/88001/content/browser/streams/stream.cc#newcode75 content/browser/streams/stream.cc:75: writer_->Close(0 /* status */); On 2013/08/01 16:32:23, jam wrote: ...
7 years, 4 months ago (2013-08-02 07:40:09 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoshino@chromium.org/18284005/96001
7 years, 4 months ago (2013-08-02 07:41:12 UTC) #33
commit-bot: I haz the power
7 years, 4 months ago (2013-08-02 11:02:34 UTC) #34
Message was sent while issue was closed.
Change committed as 215265

Powered by Google App Engine
This is Rietveld 408576698