 Chromium Code Reviews
 Chromium Code Reviews Issue 
            3863002:
    Refactoring BufferedDataSource to work with WebURLLoader instead of a MediaResourceLoaderBridge.  (Closed)
    
  
    Issue 
            3863002:
    Refactoring BufferedDataSource to work with WebURLLoader instead of a MediaResourceLoaderBridge.  (Closed) 
  | DescriptionRefactoring BufferedDataSource to work with WebURLLoader instead of a MediaResourceLoaderBridge. + 2 unit test modifications.
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.
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
(but arg, the video-referer.html test still fails, any ideas?)
   Patch Set 1 #
      Total comments: 23
      
     Patch Set 2 : Modifying unittests to match the new refactored loading system. #Patch Set 3 : merged #Patch Set 4 : removed a weird include line #Patch Set 5 : Removed unnecessary WebURLLoaders in the two unittests because windows compilation complains. #
      Total comments: 16
      
     Patch Set 6 : addressing alpha's comments #Patch Set 7 : moved webframe.h in git #Patch Set 8 : delete slightly unsightly comments #Patch Set 9 : . #
      Total comments: 66
      
     Patch Set 10 : addressing andrew's comments #
      Total comments: 18
      
     Patch Set 11 : merged and updated mock_webframe.h + addressed andrew's comments #Patch Set 12 : . #
      Total comments: 2
      
     Patch Set 13 : little indent #Messages
    Total messages: 16 (0 generated)
     |