Home
last modified time | relevance | path

Searched refs:kMaxBufferCapacity (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/content/renderer/media/
Dbuffered_resource_loader.cc46 static const int kMaxBufferCapacity = 20 * kMegabyte; variable
90 *out_forward_capacity = std::min(*out_forward_capacity, kMaxBufferCapacity); in ComputeTargetBufferWindow()
91 *out_backward_capacity = std::min(*out_backward_capacity, kMaxBufferCapacity); in ComputeTargetBufferWindow()
263 if (read_size_ > kMaxBufferCapacity) { in Read()
Dbuffered_resource_loader_unittest.cc278 static const int kMaxBufferCapacity = 20 * 1024 * 1024; in CheckBufferWindowBounds() local
279 EXPECT_LE(loader_->buffer_.forward_capacity(), kMaxBufferCapacity); in CheckBufferWindowBounds()
280 EXPECT_LE(loader_->buffer_.backward_capacity(), kMaxBufferCapacity); in CheckBufferWindowBounds()