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

Issue 625993002: Split up streams logic to prepare for PlzNavigate RDH changes. (Closed)

Created:
6 years, 2 months ago by davidben
Modified:
6 years, 2 months ago
Reviewers:
jam, Zachary Kuznia, mmenke
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, darin-cc_chromium.org, zork+watch_chromium.org, jam, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Split up streams logic to prepare for PlzNavigate RDH changes. This was split out from https://codereview.chromium.org/519533002/ StreamHandle is now split into a StreamHandle and StreamInfo. StreamHandle only manages the stream URL. StreamInfo also contains the headers and other metadata that the streams_private mechanism uses. StreamResourceHandler is also split out into a StreamWriter so other resource handlers may also use it. BUG=376015 Committed: https://crrev.com/61814fd5bf4f1febc1c41b608dcbcd8a1e46e2c0 Cr-Commit-Position: refs/heads/master@{#299745}

Patch Set 1 #

Patch Set 2 : --similarity #

Total comments: 1

Patch Set 3 : Unnecessary forward decl #

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Patch Set 6 : rebase #

Patch Set 7 : Remove TestStreamHandle in favor of just making an empty one. #

Total comments: 6

Patch Set 8 : zork comments #

Total comments: 13
Unified diffs Side-by-side diffs Delta from patch set Stats (+307 lines, -198 lines) Patch
M chrome/browser/extensions/api/streams_private/streams_private_api.h View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/streams_private/streams_private_api.cc View 4 chunks +8 lines, -7 lines 0 comments Download
M chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/frame_host/navigator_impl_unittest.cc View 1 2 3 4 5 6 9 chunks +21 lines, -52 lines 0 comments Download
M content/browser/loader/resource_dispatcher_host_impl.cc View 1 2 3 4 5 2 chunks +11 lines, -6 lines 0 comments Download
M content/browser/loader/stream_resource_handler.h View 1 2 3 4 chunks +6 lines, -9 lines 3 comments Download
M content/browser/loader/stream_resource_handler.cc View 3 chunks +10 lines, -47 lines 0 comments Download
A content/browser/loader/stream_writer.h View 1 2 3 1 chunk +83 lines, -0 lines 3 comments Download
A content/browser/loader/stream_writer.cc View 1 2 3 4 5 6 7 1 chunk +82 lines, -0 lines 2 comments Download
M content/browser/streams/stream.h View 1 2 2 chunks +1 line, -5 lines 0 comments Download
M content/browser/streams/stream.cc View 1 chunk +2 lines, -8 lines 0 comments Download
M content/browser/streams/stream_handle_impl.h View 1 2 3 4 5 6 7 2 chunks +1 line, -11 lines 0 comments Download
M content/browser/streams/stream_handle_impl.cc View 3 chunks +2 lines, -29 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M content/public/browser/resource_dispatcher_host_delegate.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/public/browser/resource_dispatcher_host_delegate.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/public/browser/stream_handle.h View 2 chunks +3 lines, -15 lines 0 comments Download
A content/public/browser/stream_info.h View 1 chunk +47 lines, -0 lines 2 comments Download
A content/public/browser/stream_info.cc View 1 1 chunk +16 lines, -0 lines 3 comments Download

Messages

Total messages: 22 (4 generated)
davidben
This is the streams refactoring split out from the original CL. https://codereview.chromium.org/625993002/diff/20001/content/browser/loader/stream_writer.h File content/browser/loader/stream_writer.h (right): ...
6 years, 2 months ago (2014-10-03 16:52:39 UTC) #2
davidben
+mmenke for main (re-)review. It appears zork is OOO for the next week. It's the ...
6 years, 2 months ago (2014-10-03 20:57:16 UTC) #4
mmenke
On 2014/10/03 20:57:16, David Benjamin wrote: > +mmenke for main (re-)review. It appears zork is ...
6 years, 2 months ago (2014-10-03 21:03:18 UTC) #5
mmenke
On 2014/10/03 21:03:18, mmenke wrote: > On 2014/10/03 20:57:16, David Benjamin wrote: > > +mmenke ...
6 years, 2 months ago (2014-10-06 19:46:49 UTC) #6
mmenke
On 2014/10/06 19:46:49, mmenke wrote: > On 2014/10/03 21:03:18, mmenke wrote: > > On 2014/10/03 ...
6 years, 2 months ago (2014-10-10 14:31:34 UTC) #7
Zachary Kuznia
https://chromiumcodereview.appspot.com/625993002/diff/310001/content/browser/loader/stream_writer.cc File content/browser/loader/stream_writer.cc (right): https://chromiumcodereview.appspot.com/625993002/diff/310001/content/browser/loader/stream_writer.cc#newcode17 content/browser/loader/stream_writer.cc:17: StreamWriter::StreamWriter() { Initialize controller_ to nullptr. https://chromiumcodereview.appspot.com/625993002/diff/310001/content/browser/loader/stream_writer.cc#newcode38 content/browser/loader/stream_writer.cc:38: int ...
6 years, 2 months ago (2014-10-13 23:42:35 UTC) #8
davidben
https://codereview.chromium.org/625993002/diff/310001/content/browser/loader/stream_writer.cc File content/browser/loader/stream_writer.cc (right): https://codereview.chromium.org/625993002/diff/310001/content/browser/loader/stream_writer.cc#newcode17 content/browser/loader/stream_writer.cc:17: StreamWriter::StreamWriter() { On 2014/10/13 23:42:35, Zachary Kuznia wrote: > ...
6 years, 2 months ago (2014-10-14 18:37:15 UTC) #9
Zachary Kuznia
lgtm
6 years, 2 months ago (2014-10-14 19:45:08 UTC) #10
davidben
+jam for OWNERS. (chrome/browser/renderer_host is the missing one, but there's a bunch of content/ stuff ...
6 years, 2 months ago (2014-10-14 19:48:38 UTC) #12
jam
On 2014/10/14 19:48:38, David Benjamin wrote: > +jam for OWNERS. (chrome/browser/renderer_host is the missing one, ...
6 years, 2 months ago (2014-10-15 16:11:00 UTC) #13
davidben
https://codereview.chromium.org/625993002/diff/410001/content/public/browser/stream_info.cc File content/public/browser/stream_info.cc (right): https://codereview.chromium.org/625993002/diff/410001/content/public/browser/stream_info.cc#newcode12 content/public/browser/stream_info.cc:12: StreamInfo::StreamInfo() {} On 2014/10/15 16:11:00, jam wrote: > nit: ...
6 years, 2 months ago (2014-10-15 16:12:29 UTC) #14
davidben
https://codereview.chromium.org/625993002/diff/410001/content/public/browser/stream_info.cc File content/public/browser/stream_info.cc (right): https://codereview.chromium.org/625993002/diff/410001/content/public/browser/stream_info.cc#newcode12 content/public/browser/stream_info.cc:12: StreamInfo::StreamInfo() {} On 2014/10/15 16:12:29, David Benjamin wrote: > ...
6 years, 2 months ago (2014-10-15 19:28:54 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/625993002/410001
6 years, 2 months ago (2014-10-15 19:30:45 UTC) #17
commit-bot: I haz the power
Committed patchset #8 (id:410001)
6 years, 2 months ago (2014-10-15 19:45:27 UTC) #18
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/61814fd5bf4f1febc1c41b608dcbcd8a1e46e2c0 Cr-Commit-Position: refs/heads/master@{#299745}
6 years, 2 months ago (2014-10-15 19:46:09 UTC) #19
mmenke
Ah, well...guess it's not worth finishinh my review, now. These were all pretty minor. https://codereview.chromium.org/625993002/diff/410001/content/browser/loader/stream_resource_handler.h ...
6 years, 2 months ago (2014-10-15 20:05:44 UTC) #20
davidben
Oops. I'll resolve your comments in a follow-up.
6 years, 2 months ago (2014-10-15 20:10:13 UTC) #21
davidben
6 years, 2 months ago (2014-10-15 22:56:24 UTC) #22
Message was sent while issue was closed.
On 2014/10/15 20:10:13, David Benjamin wrote:
> Oops. I'll resolve your comments in a follow-up.

...except I'm going to be out Thursday and Friday. I'll do this Monday.

Powered by Google App Engine
This is Rietveld 408576698