Home
last modified time | relevance | path

Searched refs:loader_ (Results 1 – 25 of 33) sorted by relevance

12

/external/chromium/webkit/glue/media/
Dbuffered_resource_loader_unittest.cc86 loader_ = new BufferedResourceLoader(gurl_, in Initialize()
88 loader_->SetURLLoaderForTest(url_loader_); in Initialize()
92 loader_->buffer_.reset( in SetLoaderBuffer()
98 EXPECT_CALL(*url_loader_, loadAsynchronously(_, loader_.get())); in Start()
99 loader_->Start( in Start()
113 .WillOnce(RequestCanceled(loader_)); in FullResponse()
122 loader_->didReceiveResponse(url_loader_, response); in FullResponse()
125 EXPECT_EQ(instance_size, loader_->content_length()); in FullResponse()
126 EXPECT_EQ(instance_size, loader_->instance_size()); in FullResponse()
129 EXPECT_FALSE(loader_->range_supported()); in FullResponse()
[all …]
Dbuffered_data_source.cc53 loader_(NULL), in BufferedDataSource()
97 if (loader_.get()) in set_host()
205 return loader_.get() ? loader_->HasSingleOrigin() : true; in HasSingleOrigin()
219 DCHECK(!loader_.get()); in InitializeTask()
234 loader_ = CreateResourceLoader(0, kPositionNotSpecified); in InitializeTask()
235 loader_->Start( in InitializeTask()
243 loader_ = CreateResourceLoader(kPositionNotSpecified, in InitializeTask()
245 loader_->Start( in InitializeTask()
297 if (loader_.get()) in CleanupTask()
298 loader_->Stop(); in CleanupTask()
[all …]
Dbuffered_data_source_unittest.cc107 .WillOnce(Return(loader_.get())); in ExpectCreateAndStartResourceLoader()
109 EXPECT_CALL(*loader_, Start(NotNull(), NotNull(), NotNull())) in ExpectCreateAndStartResourceLoader()
132 loader_ = first_loader; in InitializeDataSource()
144 EXPECT_CALL(*loader_, url()) in InitializeDataSource()
146 EXPECT_CALL(*loader_, Stop()); in InitializeDataSource()
149 loader_ = new NiceMock<MockBufferedResourceLoader>(); in InitializeDataSource()
162 ON_CALL(*loader_, Read(_, _, _ , _)) in InitializeDataSource()
165 ON_CALL(*loader_, instance_size()) in InitializeDataSource()
169 ON_CALL(*loader_, range_supported()) in InitializeDataSource()
172 ON_CALL(*loader_, url()) in InitializeDataSource()
[all …]
/external/chromium/chrome/browser/policy/
Dasynchronous_policy_provider.cc15 loader_(loader) { in AsynchronousPolicyProvider()
16 loader_->Init(); in AsynchronousPolicyProvider()
21 loader_->Stop(); in ~AsynchronousPolicyProvider()
27 DCHECK(loader_->policy()); in Provide()
28 ApplyPolicyValueTree(loader_->policy(), store); in Provide()
34 loader_->AddObserver(observer); in AddObserver()
39 loader_->RemoveObserver(observer); in RemoveObserver()
43 return loader_; in loader()
Dfile_based_policy_loader.cc41 : loader_(loader) {} in FileBasedPolicyWatcherDelegate()
46 loader_->OnFilePathChanged(path); in OnFilePathChanged()
50 loader_->OnFilePathError(path); in OnFilePathError()
54 scoped_refptr<FileBasedPolicyLoader> loader_; member in policy::FileBasedPolicyWatcherDelegate
Dasynchronous_policy_loader.cc59 : loader_(loader), in UpdatePolicyTask()
63 loader_->UpdatePolicy(new_policy_.release()); in Run()
67 scoped_refptr<AsynchronousPolicyLoader> loader_; member in policy::UpdatePolicyTask
Dasynchronous_policy_provider.h49 scoped_refptr<AsynchronousPolicyLoader> loader_;
/external/chromium/webkit/glue/
Dresource_fetcher.cc39 if (!completed_ && loader_.get()) in ~ResourceFetcher()
40 loader_->cancel(); in ~ResourceFetcher()
45 loader_->cancel(); in Cancel()
55 loader_.reset(WebKit::webKitClient()->createURLLoader()); in Start()
56 loader_->loadAsynchronously(request, this); in Start()
139 loader_->cancel(); in TimeoutFired()
Dweburlloader_impl.cc320 WebURLLoaderImpl* loader_; member in webkit_glue::WebURLLoaderImpl::Context
333 : loader_(loader), in Context()
350 loader_ = NULL; in Cancel()
500 client_->didSendData(loader_, position, size); in OnUploadProgress()
529 client_->willSendRequest(loader_, new_request, response); in OnReceivedRedirect()
565 client_->didReceiveResponse(loader_, response); in OnReceivedResponse()
586 new MultipartResponseDelegate(client_, loader_, response, boundary)); in OnReceivedResponse()
591 new FtpDirectoryListingResponseDelegate(client_, loader_, response)); in OnReceivedResponse()
599 client_->didDownloadData(loader_, len); in OnDownloadedData()
620 client_->didReceiveData(loader_, data, data_length, encoded_data_length); in OnReceivedData()
[all …]
Dmultipart_response_delegate.cc63 loader_(loader), in MultipartResponseDelegate()
144 client_->didReceiveData(loader_, in OnReceivedData()
179 client_->didReceiveData(loader_, in OnReceivedData()
192 client_->didReceiveData(loader_, in OnCompletedRequest()
275 client_->didReceiveResponse(loader_, response); in ParseHeaders()
Dmultipart_response_delegate.h81 loader_ = NULL; in Cancel()
104 WebKit::WebURLLoader* loader_; variable
Dftp_directory_listing_response_delegate.cc62 loader_(loader) { in FtpDirectoryListingResponseDelegate()
113 client_->didReceiveData(loader_, data.data(), data.length(), -1); in SendDataToClient()
Dftp_directory_listing_response_delegate.h43 WebKit::WebURLLoader* loader_; variable
/external/chromium/chrome/browser/instant/
Dinstant_loader.cc70 : loader_(loader), in FrameLoadObserver()
91 InstantLoader* loader_; member in InstantLoader::FrameLoadObserver
124 loader_->SendBoundsToPage(true); in Observe()
236 InstantLoader* loader_; member in InstantLoader::TabContentsDelegateImpl
266 loader_(loader), in TabContentsDelegateImpl()
286 loader_->PreviewPainted(); in PreviewPainted()
306 TabContents* tab = loader_->preview_contents()->tab_contents(); in CommitHistory()
379 if (Details<ProvisionalLoadDetails>(details)->url() == loader_->url_) { in Observe()
383 loader_->needs_reload_ = true; in Observe()
411 if (!loader_->ready() && !registered_render_widget_host_ && in NavigationStateChanged()
[all …]
/external/chromium/chrome/browser/
Duser_style_sheet_watcher.cc130 loader_(new UserStyleSheetLoader) { in UserStyleSheetWatcher()
155 loader_.get())) { in Init()
158 loader_->LoadStyleSheet(style_sheet_file); in Init()
163 return loader_->user_style_sheet(); in user_style_sheet()
169 loader_->NotifyLoaded(); in Observe()
Duser_style_sheet_watcher.h48 scoped_refptr<UserStyleSheetLoader> loader_;
/external/chromium/chrome/browser/extensions/
Dimage_loading_tracker.cc131 if (loader_) in ~ImageLoadingTracker()
132 loader_->StopTracking(); in ~ImageLoadingTracker()
162 if (!loader_) in LoadImage()
163 loader_ = new ImageLoader(this); in LoadImage()
164 loader_->LoadImage(resource, max_size, id); in LoadImage()
Dexternal_extension_provider_impl.cc44 loader_(loader) { in ExternalExtensionProviderImpl()
45 loader_->Init(this); in ExternalExtensionProviderImpl()
50 loader_->OwnerShutdown(); in ~ExternalExtensionProviderImpl()
55 loader_->StartLoading(); in VisitRegisteredExtension()
128 FilePath base_path = loader_->GetBaseCrxFilePath(); in SetPrefs()
Dexternal_extension_provider_impl.h94 scoped_refptr<ExternalExtensionLoader> loader_; variable
Dimage_loading_tracker.h100 scoped_refptr<ImageLoader> loader_; variable
/external/chromium/chrome/browser/chromeos/cros/
Dcros_mock.cc38 : loader_(NULL), in CrosMock()
67 if (loader_) in InitMockLibraryLoader()
69 loader_ = new StrictMock<MockLibraryLoader>(); in InitMockLibraryLoader()
70 EXPECT_CALL(*loader_, Load(_)) in InitMockLibraryLoader()
73 test_api()->SetLibraryLoader(loader_, true); in InitMockLibraryLoader()
386 if (loader_) in TearDownMocks()
/external/chromium/chrome/browser/chromeos/login/
Dparallel_authenticator_unittest.cc86 loader_ = new MockLibraryLoader(); in SetUp()
87 ON_CALL(*loader_, Load(_)) in SetUp()
89 EXPECT_CALL(*loader_, Load(_)) in SetUp()
92 test_api->SetLibraryLoader(loader_, true); in SetUp()
222 MockLibraryLoader* loader_; member in chromeos::ParallelAuthenticatorTest
Dgoogle_authenticator_unittest.cc73 loader_ = new MockLibraryLoader(); in SetUp()
74 ON_CALL(*loader_, Load(_)) in SetUp()
76 EXPECT_CALL(*loader_, Load(_)) in SetUp()
79 test_api->SetLibraryLoader(loader_, true); in SetUp()
162 MockLibraryLoader* loader_; member in chromeos::GoogleAuthenticatorTest
/external/chromium/chrome/browser/ui/webui/options/
Dabout_page_handler.h53 chromeos::VersionLoader loader_; variable
Dabout_page_handler.cc276 loader_.EnablePlatformVersions(true); in PageReady()
277 loader_.GetVersion(&consumer_, in PageReady()
280 loader_.GetFirmware(&consumer_, in PageReady()

12