/external/chromium_org/content/renderer/media/ |
D | buffered_resource_loader_unittest.cc | 83 loader_.reset(new BufferedResourceLoader( in Initialize() 84 gurl_, BufferedResourceLoader::kUnspecified, in Initialize() 86 BufferedResourceLoader::kCapacityDefer, 0, 0, in Initialize() 105 EXPECT_CALL(*this, LoadingCallback(BufferedResourceLoader::kLoading)); in Start() 117 FullResponse(instance_size, BufferedResourceLoader::kOk); in FullResponse() 121 BufferedResourceLoader::Status status) { in FullResponse() 132 if (status == BufferedResourceLoader::kOk) { in FullResponse() 147 EXPECT_CALL(*this, StartCallback(BufferedResourceLoader::kOk)); in PartialResponse() 227 BufferedResourceLoader::kLoadingDeferred)); in WriteUntilThreshold() 283 MOCK_METHOD1(StartCallback, void(BufferedResourceLoader::Status)); [all …]
|
D | buffered_resource_loader.cc | 97 BufferedResourceLoader::BufferedResourceLoader( in BufferedResourceLoader() function in content::BufferedResourceLoader 134 BufferedResourceLoader::~BufferedResourceLoader() {} in ~BufferedResourceLoader() 136 void BufferedResourceLoader::Start( in Start() 206 void BufferedResourceLoader::Stop() { in Stop() 217 void BufferedResourceLoader::Read( in Read() 313 int64 BufferedResourceLoader::content_length() { in content_length() 317 int64 BufferedResourceLoader::instance_size() { in instance_size() 321 bool BufferedResourceLoader::range_supported() { in range_supported() 327 void BufferedResourceLoader::willSendRequest( in willSendRequest() 347 void BufferedResourceLoader::didSendData( in didSendData() [all …]
|
D | buffered_data_source.cc | 85 : cors_mode_(BufferedResourceLoader::kUnspecified), in BufferedDataSource() 110 BufferedResourceLoader* BufferedDataSource::CreateResourceLoader( in CreateResourceLoader() 114 BufferedResourceLoader::DeferStrategy strategy = preload_ == METADATA ? in CreateResourceLoader() 115 BufferedResourceLoader::kReadThenDefer : in CreateResourceLoader() 116 BufferedResourceLoader::kCapacityDefer; in CreateResourceLoader() 118 return new BufferedResourceLoader(url_, in CreateResourceLoader() 139 BufferedResourceLoader::CORSMode cors_mode, in Initialize() 338 BufferedResourceLoader::Status status) { in StartCallback() 354 bool success = status == BufferedResourceLoader::kOk && in StartCallback() 389 BufferedResourceLoader::Status status) { in PartialReadStartCallback() [all …]
|
D | buffered_data_source.h | 54 BufferedResourceLoader::CORSMode cors_mode, 97 virtual BufferedResourceLoader* CreateResourceLoader( 121 void StartCallback(BufferedResourceLoader::Status status); 125 void PartialReadStartCallback(BufferedResourceLoader::Status status); 128 void ReadCallback(BufferedResourceLoader::Status status, int bytes_read); 129 void LoadingStateChangedCallback(BufferedResourceLoader::LoadingState state); 147 BufferedResourceLoader::CORSMode cors_mode_; 166 scoped_ptr<BufferedResourceLoader> loader_;
|
D | buffered_resource_loader.h | 38 class CONTENT_EXPORT BufferedResourceLoader 88 BufferedResourceLoader( in NON_EXPORTED_BASE() 97 virtual ~BufferedResourceLoader(); in NON_EXPORTED_BASE() 320 DISALLOW_COPY_AND_ASSIGN(BufferedResourceLoader); in NON_EXPORTED_BASE()
|
D | buffered_data_source_unittest.cc | 48 MOCK_METHOD2(CreateResourceLoader, BufferedResourceLoader*(int64, int64)); 49 BufferedResourceLoader* CreateMockResourceLoader(int64 first_byte_position, in CreateMockResourceLoader() 53 BufferedResourceLoader* loader = in CreateMockResourceLoader() 115 gurl, BufferedResourceLoader::kUnspecified, base::Bind( in Initialize() 190 BufferedResourceLoader* loader() { in loader() 198 BufferedResourceLoader::DeferStrategy defer_strategy() { in defer_strategy() 520 EXPECT_EQ(BufferedResourceLoader::kCapacityDefer, defer_strategy()); in TEST_F() 540 BufferedResourceLoader* old_loader = loader(); in TEST_F() 563 BufferedResourceLoader* old_loader = loader(); in TEST_F()
|
D | webmediaplayer_impl.cc | 111 static_cast<int>(BufferedResourceLoader::k ## name), \ 298 url, static_cast<BufferedResourceLoader::CORSMode>(cors_mode), in DoLoad()
|
/external/chromium/webkit/glue/media/ |
D | buffered_resource_loader.cc | 47 BufferedResourceLoader::BufferedResourceLoader( in BufferedResourceLoader() function in webkit_glue::BufferedResourceLoader 74 BufferedResourceLoader::~BufferedResourceLoader() { in ~BufferedResourceLoader() 79 void BufferedResourceLoader::Start(net::CompletionCallback* start_callback, in Start() 123 void BufferedResourceLoader::Stop() { in Stop() 149 void BufferedResourceLoader::Read(int64 position, in Read() 204 int64 BufferedResourceLoader::GetBufferedPosition() { in GetBufferedPosition() 210 int64 BufferedResourceLoader::content_length() { in content_length() 214 int64 BufferedResourceLoader::instance_size() { in instance_size() 218 bool BufferedResourceLoader::range_supported() { in range_supported() 222 bool BufferedResourceLoader::network_activity() { in network_activity() [all …]
|
D | buffered_resource_loader.h | 35 class BufferedResourceLoader : 36 public base::RefCountedThreadSafe<BufferedResourceLoader>, 55 BufferedResourceLoader(const GURL& url, 154 friend class base::RefCountedThreadSafe<BufferedResourceLoader>; 155 virtual ~BufferedResourceLoader(); 263 DISALLOW_COPY_AND_ASSIGN(BufferedResourceLoader);
|
D | buffered_data_source.cc | 78 BufferedResourceLoader* BufferedDataSource::CreateResourceLoader( in CreateResourceLoader() 82 return new BufferedResourceLoader(url_, in CreateResourceLoader() 321 BufferedResourceLoader::DeferStrategy strategy = ChooseDeferStrategy(); in RestartLoadingTask() 358 BufferedResourceLoader::DeferStrategy strategy = ChooseDeferStrategy(); in WatchDogTask() 376 BufferedResourceLoader::DeferStrategy strategy = ChooseDeferStrategy(); in SetPlaybackRateTask() 385 BufferedResourceLoader::DeferStrategy 390 return BufferedResourceLoader::kReadThenDefer; in ChooseDeferStrategy() 397 return BufferedResourceLoader::kNeverDefer; in ChooseDeferStrategy() 403 return BufferedResourceLoader::kThresholdDefer; in ChooseDeferStrategy()
|
D | buffered_data_source.h | 61 virtual BufferedResourceLoader* CreateResourceLoader( 100 BufferedResourceLoader::DeferStrategy ChooseDeferStrategy(); 161 scoped_refptr<BufferedResourceLoader> loader_;
|
D | buffered_resource_loader_unittest.cc | 86 loader_ = new BufferedResourceLoader(gurl_, in Initialize() 232 scoped_refptr<BufferedResourceLoader> loader_; 328 loader_->UpdateDeferStrategy(BufferedResourceLoader::kThresholdDefer); in TEST_F() 379 loader_->UpdateDeferStrategy(BufferedResourceLoader::kThresholdDefer); in TEST_F() 427 loader_->UpdateDeferStrategy(BufferedResourceLoader::kNeverDefer); in TEST_F() 449 loader_->UpdateDeferStrategy(BufferedResourceLoader::kReadThenDefer); in TEST_F() 480 loader_->UpdateDeferStrategy(BufferedResourceLoader::kThresholdDefer); in TEST_F()
|
D | buffered_data_source_unittest.cc | 59 BufferedResourceLoader*(int64 first_position, 66 class MockBufferedResourceLoader : public BufferedResourceLoader { 68 MockBufferedResourceLoader() : BufferedResourceLoader(GURL(), 0, 0) { in MockBufferedResourceLoader() 223 BufferedResourceLoader::NetworkEventCallback* network_callback, in InvokeStartCallback()
|
/external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/ |
D | BufferedResourceLoader.java | 28 public abstract class BufferedResourceLoader extends BaseResourceLoader { class
|
D | ClassLoaderResourceLoader.java | 51 public class ClassLoaderResourceLoader extends BufferedResourceLoader {
|
D | ClassResourceLoader.java | 51 public class ClassResourceLoader extends BufferedResourceLoader {
|
D | FileSystemResourceLoader.java | 32 public class FileSystemResourceLoader extends BufferedResourceLoader {
|