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

Issue 10735016: Collapse HTTP and non-HTTP codepaths into single methods. (Closed)

Created:
8 years, 5 months ago by scherkus (not reviewing)
Modified:
8 years, 5 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Collapse HTTP and non-HTTP codepaths into single methods. Duplicating ~100 lines of code for the ~5 lines of code that are different isn't worth it. BUG=none TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=146242

Patch Set 1 #

Total comments: 19

Patch Set 2 : rebase over commit #

Patch Set 3 : fix stuff #

Total comments: 4

Patch Set 4 : fix bugs due to my tests #

Total comments: 3

Patch Set 5 : rebase on tot #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -145 lines) Patch
M webkit/media/buffered_data_source.h View 1 2 3 4 1 chunk +8 lines, -20 lines 0 comments Download
M webkit/media/buffered_data_source.cc View 1 2 3 4 8 chunks +37 lines, -123 lines 0 comments Download
M webkit/media/buffered_data_source_unittest.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M webkit/media/buffered_resource_loader.h View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
scherkus (not reviewing)
Depends on http://codereview.chromium.org/10692106/ -- after some investigation I realized that the HTTP and non-HTTP codepaths ...
8 years, 5 months ago (2012-07-06 16:28:02 UTC) #1
Ami GONE FROM CHROMIUM
minor comments. I love this CL. https://chromiumcodereview.appspot.com/10735016/diff/1/webkit/media/buffered_data_source.cc File webkit/media/buffered_data_source.cc (left): https://chromiumcodereview.appspot.com/10735016/diff/1/webkit/media/buffered_data_source.cc#oldcode276 webkit/media/buffered_data_source.cc:276: base::Bind(&BufferedDataSource::NonHttpInitialStartCallback, this), On ...
8 years, 5 months ago (2012-07-09 03:30:57 UTC) #2
scherkus (not reviewing)
https://chromiumcodereview.appspot.com/10735016/diff/1/webkit/media/buffered_data_source.cc File webkit/media/buffered_data_source.cc (left): https://chromiumcodereview.appspot.com/10735016/diff/1/webkit/media/buffered_data_source.cc#oldcode276 webkit/media/buffered_data_source.cc:276: base::Bind(&BufferedDataSource::NonHttpInitialStartCallback, this), On 2012/07/09 03:30:57, Ami Fischman wrote: > ...
8 years, 5 months ago (2012-07-10 18:37:27 UTC) #3
scherkus (not reviewing)
You'll want to deal with https://chromiumcodereview.appspot.com/10698139/ first https://chromiumcodereview.appspot.com/10735016/diff/1005/webkit/media/buffered_data_source.cc File webkit/media/buffered_data_source.cc (right): https://chromiumcodereview.appspot.com/10735016/diff/1005/webkit/media/buffered_data_source.cc#newcode111 webkit/media/buffered_data_source.cc:111: assume_fully_buffered_ = ...
8 years, 5 months ago (2012-07-11 00:25:44 UTC) #4
Ami GONE FROM CHROMIUM
https://chromiumcodereview.appspot.com/10735016/diff/6002/webkit/media/buffered_data_source.cc File webkit/media/buffered_data_source.cc (right): https://chromiumcodereview.appspot.com/10735016/diff/6002/webkit/media/buffered_data_source.cc#newcode386 webkit/media/buffered_data_source.cc:386: assume_fully_buffered_ = true; you want this for ftp?? https://chromiumcodereview.appspot.com/10735016/diff/6002/webkit/media/buffered_data_source.h ...
8 years, 5 months ago (2012-07-11 00:56:41 UTC) #5
scherkus (not reviewing)
READY TO REVIEW! rebased on trunk + comments + etc https://chromiumcodereview.appspot.com/10735016/diff/6002/webkit/media/buffered_data_source.cc File webkit/media/buffered_data_source.cc (right): https://chromiumcodereview.appspot.com/10735016/diff/6002/webkit/media/buffered_data_source.cc#newcode386 ...
8 years, 5 months ago (2012-07-11 18:39:01 UTC) #6
Ami GONE FROM CHROMIUM
LGTM
8 years, 5 months ago (2012-07-11 18:50:21 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scherkus@chromium.org/10735016/1006
8 years, 5 months ago (2012-07-11 22:21:34 UTC) #8
commit-bot: I haz the power
8 years, 5 months ago (2012-07-11 23:39:20 UTC) #9
Try job failure for 10735016-1006 (retry) on mac_rel for step "browser_tests".
It's a second try, previously, step "browser_tests" failed.
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&nu...

Powered by Google App Engine
This is Rietveld 408576698