Searched refs:url_loader_ (Results 1 – 6 of 6) sorted by relevance
/external/chromium/webkit/glue/media/ |
D | buffered_resource_loader_unittest.cc | 85 url_loader_ = new NiceMock<MockWebURLLoader>(); in Initialize() 88 loader_->SetURLLoaderForTest(url_loader_); in Initialize() 98 EXPECT_CALL(*url_loader_, loadAsynchronously(_, loader_.get())); in Start() 112 EXPECT_CALL(*url_loader_, cancel()) in FullResponse() 122 loader_->didReceiveResponse(url_loader_, response); in FullResponse() 166 loader_->didReceiveResponse(url_loader_, response); in PartialResponse() 185 loader_->willSendRequest(url_loader_, newRequest, redirectResponse); in Redirect() 192 EXPECT_CALL(*url_loader_, cancel()) in StopWhenLoad() 202 loader_->didReceiveData(url_loader_, in WriteLoader() 233 NiceMock<MockWebURLLoader>* url_loader_; member in webkit_glue::BufferedResourceLoaderTest [all …]
|
D | buffered_resource_loader.cc | 75 if (!completed_ && url_loader_.get()) in ~BufferedResourceLoader() 76 url_loader_->cancel(); in ~BufferedResourceLoader() 117 url_loader_.reset(frame->createAssociatedURLLoader()); in Start() 120 url_loader_->loadAsynchronously(request, this); in Start() 137 if (url_loader_.get()) { in Stop() 139 url_loader_->setDefersLoading(false); in Stop() 143 url_loader_->cancel(); in Stop() 231 url_loader_.reset(mock_loader); in SetURLLoaderForTest() 416 url_loader_.reset(); in didFinishLoading() 440 url_loader_.reset(); in didFail() [all …]
|
D | simple_data_source_unittest.cc | 66 url_loader_ = new NiceMock<MockWebURLLoader>(); in InitializeDataSource() 73 data_source_->SetURLLoaderForTest(url_loader_); in InitializeDataSource() 120 data_source_->willSendRequest(url_loader_, newRequest, redirectResponse); in Redirect() 149 NiceMock<MockWebURLLoader>* url_loader_; member in webkit_glue::SimpleDataSourceTest 182 url_loader_ = new NiceMock<MockWebURLLoader>(); in TEST_F() 188 data_source_->SetURLLoaderForTest(url_loader_); in TEST_F() 217 EXPECT_CALL(*url_loader_, cancel()); in TEST_F()
|
D | simple_data_source.cc | 145 url_loader_.reset(mock_loader); in SetURLLoaderForTest() 305 url_loader_.reset(frame_->createAssociatedURLLoader()); in StartTask() 308 url_loader_->loadAsynchronously(request, this); in StartTask() 319 if (url_loader_.get()) { in CancelTask() 320 url_loader_->cancel(); in CancelTask() 321 url_loader_.reset(); in CancelTask() 335 url_loader_.reset(); in DoneInitialization_Locked()
|
D | simple_data_source.h | 119 scoped_ptr<WebKit::WebURLLoader> url_loader_; variable
|
D | buffered_resource_loader.h | 232 scoped_ptr<WebKit::WebURLLoader> url_loader_; variable
|