BufferedResourceLoader 86 content/renderer/media/buffered_data_source.cc : cors_mode_(BufferedResourceLoader::kUnspecified), BufferedResourceLoader 112 content/renderer/media/buffered_data_source.cc BufferedResourceLoader* BufferedDataSource::CreateResourceLoader( BufferedResourceLoader 116 content/renderer/media/buffered_data_source.cc BufferedResourceLoader::DeferStrategy strategy = preload_ == METADATA ? BufferedResourceLoader 117 content/renderer/media/buffered_data_source.cc BufferedResourceLoader::kReadThenDefer : BufferedResourceLoader 118 content/renderer/media/buffered_data_source.cc BufferedResourceLoader::kCapacityDefer; BufferedResourceLoader 120 content/renderer/media/buffered_data_source.cc return new BufferedResourceLoader(url_, BufferedResourceLoader 132 content/renderer/media/buffered_data_source.cc BufferedResourceLoader::CORSMode cors_mode, BufferedResourceLoader 338 content/renderer/media/buffered_data_source.cc BufferedResourceLoader::Status status) { BufferedResourceLoader 354 content/renderer/media/buffered_data_source.cc bool success = status == BufferedResourceLoader::kOk && BufferedResourceLoader 394 content/renderer/media/buffered_data_source.cc BufferedResourceLoader::Status status) { BufferedResourceLoader 398 content/renderer/media/buffered_data_source.cc if (status == BufferedResourceLoader::kOk) { BufferedResourceLoader 417 content/renderer/media/buffered_data_source.cc BufferedResourceLoader::Status status, BufferedResourceLoader 427 content/renderer/media/buffered_data_source.cc if (status != BufferedResourceLoader::kOk) { BufferedResourceLoader 431 content/renderer/media/buffered_data_source.cc if (status == BufferedResourceLoader::kCacheMiss && BufferedResourceLoader 472 content/renderer/media/buffered_data_source.cc BufferedResourceLoader::LoadingState state) { BufferedResourceLoader 480 content/renderer/media/buffered_data_source.cc case BufferedResourceLoader::kLoading: BufferedResourceLoader 483 content/renderer/media/buffered_data_source.cc case BufferedResourceLoader::kLoadingDeferred: BufferedResourceLoader 484 content/renderer/media/buffered_data_source.cc case BufferedResourceLoader::kLoadingFinished: BufferedResourceLoader 493 content/renderer/media/buffered_data_source.cc case BufferedResourceLoader::kLoadingFailed: BufferedResourceLoader 520 content/renderer/media/buffered_data_source.cc loader_->UpdateDeferStrategy(BufferedResourceLoader::kCapacityDefer); BufferedResourceLoader 529 content/renderer/media/buffered_data_source.cc loader_->UpdateDeferStrategy(BufferedResourceLoader::kNeverDefer); BufferedResourceLoader 536 content/renderer/media/buffered_data_source.cc loader_->UpdateDeferStrategy(BufferedResourceLoader::kCapacityDefer); BufferedResourceLoader 57 content/renderer/media/buffered_data_source.h BufferedResourceLoader::CORSMode cors_mode, BufferedResourceLoader 99 content/renderer/media/buffered_data_source.h virtual BufferedResourceLoader* CreateResourceLoader( BufferedResourceLoader 123 content/renderer/media/buffered_data_source.h void StartCallback(BufferedResourceLoader::Status status); BufferedResourceLoader 127 content/renderer/media/buffered_data_source.h void PartialReadStartCallback(BufferedResourceLoader::Status status); BufferedResourceLoader 130 content/renderer/media/buffered_data_source.h void ReadCallback(BufferedResourceLoader::Status status, int bytes_read); BufferedResourceLoader 131 content/renderer/media/buffered_data_source.h void LoadingStateChangedCallback(BufferedResourceLoader::LoadingState state); BufferedResourceLoader 141 content/renderer/media/buffered_data_source.h BufferedResourceLoader::CORSMode cors_mode_; BufferedResourceLoader 160 content/renderer/media/buffered_data_source.h scoped_ptr<BufferedResourceLoader> loader_; BufferedResourceLoader 50 content/renderer/media/buffered_data_source_unittest.cc MOCK_METHOD2(CreateResourceLoader, BufferedResourceLoader*(int64, int64)); BufferedResourceLoader 51 content/renderer/media/buffered_data_source_unittest.cc BufferedResourceLoader* CreateMockResourceLoader(int64 first_byte_position, BufferedResourceLoader 55 content/renderer/media/buffered_data_source_unittest.cc BufferedResourceLoader* loader = BufferedResourceLoader 117 content/renderer/media/buffered_data_source_unittest.cc gurl, BufferedResourceLoader::kUnspecified, base::Bind( BufferedResourceLoader 192 content/renderer/media/buffered_data_source_unittest.cc BufferedResourceLoader* loader() { BufferedResourceLoader 200 content/renderer/media/buffered_data_source_unittest.cc BufferedResourceLoader::DeferStrategy defer_strategy() { BufferedResourceLoader 523 content/renderer/media/buffered_data_source_unittest.cc EXPECT_EQ(BufferedResourceLoader::kCapacityDefer, defer_strategy()); BufferedResourceLoader 543 content/renderer/media/buffered_data_source_unittest.cc BufferedResourceLoader* old_loader = loader(); BufferedResourceLoader 566 content/renderer/media/buffered_data_source_unittest.cc BufferedResourceLoader* old_loader = loader(); BufferedResourceLoader 97 content/renderer/media/buffered_resource_loader.cc BufferedResourceLoader::BufferedResourceLoader( BufferedResourceLoader 134 content/renderer/media/buffered_resource_loader.cc BufferedResourceLoader::~BufferedResourceLoader() {} BufferedResourceLoader 136 content/renderer/media/buffered_resource_loader.cc void BufferedResourceLoader::Start( BufferedResourceLoader 206 content/renderer/media/buffered_resource_loader.cc void BufferedResourceLoader::Stop() { BufferedResourceLoader 217 content/renderer/media/buffered_resource_loader.cc void BufferedResourceLoader::Read( BufferedResourceLoader 313 content/renderer/media/buffered_resource_loader.cc int64 BufferedResourceLoader::content_length() { BufferedResourceLoader 317 content/renderer/media/buffered_resource_loader.cc int64 BufferedResourceLoader::instance_size() { BufferedResourceLoader 321 content/renderer/media/buffered_resource_loader.cc bool BufferedResourceLoader::range_supported() { BufferedResourceLoader 327 content/renderer/media/buffered_resource_loader.cc void BufferedResourceLoader::willSendRequest( BufferedResourceLoader 347 content/renderer/media/buffered_resource_loader.cc void BufferedResourceLoader::didSendData( BufferedResourceLoader 354 content/renderer/media/buffered_resource_loader.cc void BufferedResourceLoader::didReceiveResponse( BufferedResourceLoader 439 content/renderer/media/buffered_resource_loader.cc void BufferedResourceLoader::didReceiveData( BufferedResourceLoader 470 content/renderer/media/buffered_resource_loader.cc void BufferedResourceLoader::didDownloadData( BufferedResourceLoader 477 content/renderer/media/buffered_resource_loader.cc void BufferedResourceLoader::didReceiveCachedMetadata( BufferedResourceLoader 484 content/renderer/media/buffered_resource_loader.cc void BufferedResourceLoader::didFinishLoading( BufferedResourceLoader 518 content/renderer/media/buffered_resource_loader.cc void BufferedResourceLoader::didFail( BufferedResourceLoader 549 content/renderer/media/buffered_resource_loader.cc bool BufferedResourceLoader::HasSingleOrigin() const { BufferedResourceLoader 555 content/renderer/media/buffered_resource_loader.cc bool BufferedResourceLoader::DidPassCORSAccessCheck() const { BufferedResourceLoader 561 content/renderer/media/buffered_resource_loader.cc void BufferedResourceLoader::UpdateDeferStrategy(DeferStrategy strategy) { BufferedResourceLoader 568 content/renderer/media/buffered_resource_loader.cc void BufferedResourceLoader::SetPlaybackRate(float playback_rate) { BufferedResourceLoader 579 content/renderer/media/buffered_resource_loader.cc void BufferedResourceLoader::SetBitrate(int bitrate) { BufferedResourceLoader 588 content/renderer/media/buffered_resource_loader.cc void BufferedResourceLoader::UpdateBufferWindow() { BufferedResourceLoader 601 content/renderer/media/buffered_resource_loader.cc void BufferedResourceLoader::UpdateDeferBehavior() { BufferedResourceLoader 608 content/renderer/media/buffered_resource_loader.cc void BufferedResourceLoader::SetDeferred(bool deferred) { BufferedResourceLoader 616 content/renderer/media/buffered_resource_loader.cc bool BufferedResourceLoader::ShouldDefer() const { BufferedResourceLoader 633 content/renderer/media/buffered_resource_loader.cc bool BufferedResourceLoader::CanFulfillRead() const { BufferedResourceLoader 655 content/renderer/media/buffered_resource_loader.cc bool BufferedResourceLoader::WillFulfillRead() const { BufferedResourceLoader 672 content/renderer/media/buffered_resource_loader.cc void BufferedResourceLoader::ReadInternal() { BufferedResourceLoader 685 content/renderer/media/buffered_resource_loader.cc int64 BufferedResourceLoader::first_byte_position() const { BufferedResourceLoader 690 content/renderer/media/buffered_resource_loader.cc bool BufferedResourceLoader::ParseContentRange( BufferedResourceLoader 730 content/renderer/media/buffered_resource_loader.cc bool BufferedResourceLoader::VerifyPartialResponse( BufferedResourceLoader 753 content/renderer/media/buffered_resource_loader.cc void BufferedResourceLoader::DoneRead(Status status, int bytes_read) { BufferedResourceLoader 769 content/renderer/media/buffered_resource_loader.cc void BufferedResourceLoader::DoneStart(Status status) { BufferedResourceLoader 773 content/renderer/media/buffered_resource_loader.cc bool BufferedResourceLoader::IsRangeRequest() const { BufferedResourceLoader 777 content/renderer/media/buffered_resource_loader.cc void BufferedResourceLoader::Log() { BufferedResourceLoader 38 content/renderer/media/buffered_resource_loader.h class CONTENT_EXPORT BufferedResourceLoader BufferedResourceLoader 88 content/renderer/media/buffered_resource_loader.h BufferedResourceLoader( BufferedResourceLoader 97 content/renderer/media/buffered_resource_loader.h virtual ~BufferedResourceLoader(); BufferedResourceLoader 321 content/renderer/media/buffered_resource_loader.h DISALLOW_COPY_AND_ASSIGN(BufferedResourceLoader); BufferedResourceLoader 85 content/renderer/media/buffered_resource_loader_unittest.cc loader_.reset(new BufferedResourceLoader( BufferedResourceLoader 86 content/renderer/media/buffered_resource_loader_unittest.cc gurl_, BufferedResourceLoader::kUnspecified, BufferedResourceLoader 88 content/renderer/media/buffered_resource_loader_unittest.cc BufferedResourceLoader::kCapacityDefer, 0, 0, BufferedResourceLoader 107 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, LoadingCallback(BufferedResourceLoader::kLoading)); BufferedResourceLoader 119 content/renderer/media/buffered_resource_loader_unittest.cc FullResponse(instance_size, BufferedResourceLoader::kOk); BufferedResourceLoader 123 content/renderer/media/buffered_resource_loader_unittest.cc BufferedResourceLoader::Status status) { BufferedResourceLoader 134 content/renderer/media/buffered_resource_loader_unittest.cc if (status == BufferedResourceLoader::kOk) { BufferedResourceLoader 149 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, StartCallback(BufferedResourceLoader::kOk)); BufferedResourceLoader 229 content/renderer/media/buffered_resource_loader_unittest.cc BufferedResourceLoader::kLoadingDeferred)); BufferedResourceLoader 285 content/renderer/media/buffered_resource_loader_unittest.cc MOCK_METHOD1(StartCallback, void(BufferedResourceLoader::Status)); BufferedResourceLoader 286 content/renderer/media/buffered_resource_loader_unittest.cc MOCK_METHOD2(ReadCallback, void(BufferedResourceLoader::Status, int)); BufferedResourceLoader 287 content/renderer/media/buffered_resource_loader_unittest.cc MOCK_METHOD1(LoadingCallback, void(BufferedResourceLoader::LoadingState)); BufferedResourceLoader 295 content/renderer/media/buffered_resource_loader_unittest.cc scoped_ptr<BufferedResourceLoader> loader_; BufferedResourceLoader 321 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, StartCallback(BufferedResourceLoader::kFailed)); BufferedResourceLoader 334 content/renderer/media/buffered_resource_loader_unittest.cc FullResponse(1024, BufferedResourceLoader::kFailed); BufferedResourceLoader 380 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, StartCallback(BufferedResourceLoader::kFailed)); BufferedResourceLoader 395 content/renderer/media/buffered_resource_loader_unittest.cc loader_->UpdateDeferStrategy(BufferedResourceLoader::kCapacityDefer); BufferedResourceLoader 404 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 10)); BufferedResourceLoader 410 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 5)); BufferedResourceLoader 413 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 5)); BufferedResourceLoader 418 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 10)); BufferedResourceLoader 423 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kCacheMiss, 0)); BufferedResourceLoader 427 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, LoadingCallback(BufferedResourceLoader::kLoadingFinished)); BufferedResourceLoader 431 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 5)); BufferedResourceLoader 436 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kCacheMiss, 0)); BufferedResourceLoader 440 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 0)); BufferedResourceLoader 456 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, LoadingCallback(BufferedResourceLoader::kLoadingDeferred)); BufferedResourceLoader 459 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 20)); BufferedResourceLoader 460 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, LoadingCallback(BufferedResourceLoader::kLoading)); BufferedResourceLoader 472 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 20)); BufferedResourceLoader 480 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kCacheMiss, 0)); BufferedResourceLoader 487 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kFailed, 0)); BufferedResourceLoader 504 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kCacheMiss, 0)); BufferedResourceLoader 512 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 10)); BufferedResourceLoader 519 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, LoadingCallback(BufferedResourceLoader::kLoadingFinished)); BufferedResourceLoader 520 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 5)); BufferedResourceLoader 534 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, LoadingCallback(BufferedResourceLoader::kLoadingFailed)); BufferedResourceLoader 535 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kFailed, 0)); BufferedResourceLoader 558 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, LoadingCallback(BufferedResourceLoader::kLoadingFailed)); BufferedResourceLoader 562 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kFailed, 0)); BufferedResourceLoader 576 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, LoadingCallback(BufferedResourceLoader::kLoadingFailed)); BufferedResourceLoader 577 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kFailed, 0)); BufferedResourceLoader 588 content/renderer/media/buffered_resource_loader_unittest.cc loader_->UpdateDeferStrategy(BufferedResourceLoader::kNeverDefer); BufferedResourceLoader 599 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kCacheMiss, 0)); BufferedResourceLoader 609 content/renderer/media/buffered_resource_loader_unittest.cc loader_->UpdateDeferStrategy(BufferedResourceLoader::kReadThenDefer); BufferedResourceLoader 622 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, LoadingCallback(BufferedResourceLoader::kLoadingDeferred)); BufferedResourceLoader 623 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 10)); BufferedResourceLoader 630 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, LoadingCallback(BufferedResourceLoader::kLoading)); BufferedResourceLoader 634 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, LoadingCallback(BufferedResourceLoader::kLoadingDeferred)); BufferedResourceLoader 635 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 10)); BufferedResourceLoader 642 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, LoadingCallback(BufferedResourceLoader::kLoading)); BufferedResourceLoader 646 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, LoadingCallback(BufferedResourceLoader::kLoadingDeferred)); BufferedResourceLoader 647 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 10)); BufferedResourceLoader 669 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, LoadingCallback(BufferedResourceLoader::kLoadingDeferred)); BufferedResourceLoader 673 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 1)); BufferedResourceLoader 674 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, LoadingCallback(BufferedResourceLoader::kLoading)); BufferedResourceLoader 678 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, LoadingCallback(BufferedResourceLoader::kLoadingDeferred)); BufferedResourceLoader 695 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 1)); BufferedResourceLoader 696 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, LoadingCallback(BufferedResourceLoader::kLoading)); BufferedResourceLoader 719 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 4)); BufferedResourceLoader 752 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kCacheMiss, 0)); BufferedResourceLoader 792 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, LoadingCallback(BufferedResourceLoader::kLoading)); BufferedResourceLoader 800 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 4)); BufferedResourceLoader 845 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, LoadingCallback(BufferedResourceLoader::kLoading)); BufferedResourceLoader 854 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 12)); BufferedResourceLoader 876 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 10)); BufferedResourceLoader 877 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, LoadingCallback(BufferedResourceLoader::kLoading)); BufferedResourceLoader 903 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, LoadingCallback(BufferedResourceLoader::kLoading)); BufferedResourceLoader 912 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kOk, 18)); BufferedResourceLoader 949 content/renderer/media/buffered_resource_loader_unittest.cc EXPECT_CALL(*this, ReadCallback(BufferedResourceLoader::kCacheMiss, 0)); BufferedResourceLoader 1094 content/renderer/media/buffered_resource_loader_unittest.cc ASSERT_EQ(expect_success, BufferedResourceLoader::ParseContentRange( BufferedResourceLoader 126 content/renderer/media/webmediaplayer_impl.cc static_cast<int>(BufferedResourceLoader::k ## name), \ BufferedResourceLoader 320 content/renderer/media/webmediaplayer_impl.cc url, static_cast<BufferedResourceLoader::CORSMode>(cors_mode),