diff options
author | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-02 22:58:29 +0000 |
---|---|---|
committer | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-02 22:58:29 +0000 |
commit | 3967b2db4a911dc106c09b04ff9840653191064c (patch) | |
tree | 1a2ee7aaa71fc21255089bf2c86bcf48239d8a52 /webkit/glue/multipart_response_delegate.h | |
parent | 42009f379758c9ebfb7e8e97f0159e2f61a66445 (diff) | |
download | chromium_src-3967b2db4a911dc106c09b04ff9840653191064c.zip chromium_src-3967b2db4a911dc106c09b04ff9840653191064c.tar.gz chromium_src-3967b2db4a911dc106c09b04ff9840653191064c.tar.bz2 |
Refactoring BufferedDataSource to work with WebURLLoader instead of a MediaResourceLoaderBridge.
One thing to notice is that both buffered_data_source_unittest and simple_data_source_unittest need to have a way to inject a MockWebURLLoader into the BufferedResourceLoader and the SimpleDataSource. In order to make sure a new one is not created during a Start(), I introduced the function SetURLLoaderForTest and keep_test_loader flag.
Patch by annacc@chromium.org:
http://codereview.chromium.org/3863002/
BUG=16751
TEST=src/xcodebuild/Debug/test_shell_tests --gtest_filter=Buffered*
src/xcodebuild/Debug/test_shell_tests --gtest_filter=Simple*
src/webkit/tools/layout_tests/run_webkit_tests.sh --debug media
webkit/tools/layout_tests/run_webkit_tests.sh --debug http/tests/media
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68094 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/multipart_response_delegate.h')
-rw-r--r-- | webkit/glue/multipart_response_delegate.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/glue/multipart_response_delegate.h b/webkit/glue/multipart_response_delegate.h index aded54a..0500983 100644 --- a/webkit/glue/multipart_response_delegate.h +++ b/webkit/glue/multipart_response_delegate.h @@ -92,7 +92,8 @@ class MultipartResponseDelegate { // Returns true on success. static bool ReadContentRanges(const WebKit::WebURLResponse& response, int* content_range_lower_bound, - int* content_range_upper_bound); + int* content_range_upper_bound, + int* content_range_instance_size); private: friend class MultipartResponseDelegateTester; // For unittests. |