Home
last modified time | relevance | path

Searched refs:AsWeakPtr (Results 1 – 25 of 358) sorted by relevance

12345678910>>...15

/external/chromium_org/base/memory/
Dweak_ptr_unittest.nc21 WeakPtr<Producer> ptr = f.AsWeakPtr();
29 WeakPtr<Producer> ptr = f.AsWeakPtr();
38 WeakPtr<Producer> ptr = f.AsWeakPtr();
46 WeakPtr<Producer> ptr = f.AsWeakPtr();
63 WeakPtr<DerivedProducer> ptr = AsWeakPtr(&f);
70 WeakPtr<DerivedProducer> ptr = AsWeakPtr<DerivedProducer>(&f);
77 WeakPtr<DerivedProducer> ptr = AsWeakPtr<Producer>(&f);
84 WeakPtr<OtherDerivedProducer> ptr = AsWeakPtr(&f);
91 WeakPtr<OtherDerivedProducer> ptr = AsWeakPtr<OtherDerivedProducer>(&f);
98 WeakPtr<OtherDerivedProducer> ptr = AsWeakPtr<DerivedProducer>(&f);
[all …]
Dweak_ptr_unittest.cc144 (*arrow)->target = target->AsWeakPtr(); in DoCreateArrowFromTarget()
261 WeakPtr<Target> ptr = target.AsWeakPtr(); in TEST()
267 WeakPtr<DerivedTarget> ptr = AsWeakPtr(&target); in TEST()
307 WeakPtr<Target> weak_ptr = target->AsWeakPtr(); in TEST()
317 arrow->target = target.AsWeakPtr(); in TEST()
330 WeakPtr<Target> weak_ptr = target->AsWeakPtr(); in TEST()
344 arrow.target = target->AsWeakPtr(); in TEST()
372 arrow->target = target.AsWeakPtr(); in TEST()
416 arrow.target = target.AsWeakPtr(); in TEST()
436 arrow.target = target.AsWeakPtr(); in TEST()
[all …]
/external/chromium_org/storage/browser/fileapi/
Dfile_system_operation_runner.cc51 OperationHandle handle = BeginOperation(operation, scope.AsWeakPtr()); in CreateFile()
59 base::Bind(&FileSystemOperationRunner::DidFinish, AsWeakPtr(), in CreateFile()
73 OperationHandle handle = BeginOperation(operation, scope.AsWeakPtr()); in CreateDirectory()
81 base::Bind(&FileSystemOperationRunner::DidFinish, AsWeakPtr(), in CreateDirectory()
96 OperationHandle handle = BeginOperation(operation, scope.AsWeakPtr()); in Copy()
107 base::Bind(&FileSystemOperationRunner::OnCopyProgress, AsWeakPtr(), in Copy()
109 base::Bind(&FileSystemOperationRunner::DidFinish, AsWeakPtr(), in Copy()
123 OperationHandle handle = BeginOperation(operation, scope.AsWeakPtr()); in Move()
132 base::Bind(&FileSystemOperationRunner::DidFinish, AsWeakPtr(), in Move()
144 OperationHandle handle = BeginOperation(operation, scope.AsWeakPtr()); in DirectoryExists()
[all …]
Drecursive_operation_delegate.cc45 AsWeakPtr(), root)); in StartRecursiveOperation()
85 &RecursiveOperationDelegate::DidProcessDirectory, AsWeakPtr())); in ProcessNextDirectory()
106 AsWeakPtr(), parent)); in DidProcessDirectory()
161 AsWeakPtr(), pending_files_.front(), in ProcessPendingFiles()
163 AsWeakPtr()))); in ProcessPendingFiles()
211 AsWeakPtr())); in ProcessSubDirectory()
/external/chromium_org/content/browser/service_worker/
Dservice_worker_dispatcher_host_unittest.cc130 kRenderProcessId, kProviderId, context()->AsWeakPtr(), NULL)); in TEST_F()
132 base::WeakPtr<ServiceWorkerProviderHost> provider_host = host->AsWeakPtr(); in TEST_F()
144 kRenderProcessId, kProviderId, context()->AsWeakPtr(), NULL)); in TEST_F()
146 base::WeakPtr<ServiceWorkerProviderHost> provider_host = host->AsWeakPtr(); in TEST_F()
189 kRenderProcessId, kProviderId, context()->AsWeakPtr(), NULL)); in TEST_F()
191 base::WeakPtr<ServiceWorkerProviderHost> provider_host = host->AsWeakPtr(); in TEST_F()
202 kRenderProcessId, kProviderId, context()->AsWeakPtr(), NULL)); in TEST_F()
204 base::WeakPtr<ServiceWorkerProviderHost> provider_host = host->AsWeakPtr(); in TEST_F()
257 kRenderProcessId, kProviderId, context()->AsWeakPtr(), NULL)); in TEST_F()
259 base::WeakPtr<ServiceWorkerProviderHost> provider_host = host->AsWeakPtr(); in TEST_F()
[all …]
Dservice_worker_provider_host_unittest.cc33 pattern_, 1L, context_->AsWeakPtr()); in SetUp()
35 registration_.get(), script_url_, 1L, context_->AsWeakPtr()); in SetUp()
40 context_->AsWeakPtr(), NULL)); in SetUp()
43 context_->AsWeakPtr(), NULL)); in SetUp()
44 provider_host1_ = host1->AsWeakPtr(); in SetUp()
45 provider_host2_ = host2->AsWeakPtr(); in SetUp()
Dservice_worker_context_request_handler_unittest.cc44 scope_, 1L, context()->AsWeakPtr()); in SetUp()
46 registration_.get(), script_url_, 1L, context()->AsWeakPtr()); in SetUp()
51 context()->AsWeakPtr(), NULL)); in SetUp()
52 provider_host_ = host->AsWeakPtr(); in SetUp()
95 context()->AsWeakPtr(), in TEST_F()
126 context()->AsWeakPtr(), in TEST_F()
Dservice_worker_controllee_request_handler_unittest.cc46 scope_, 1L, context()->AsWeakPtr()); in SetUp()
48 registration_.get(), script_url_, 1L, context()->AsWeakPtr()); in SetUp()
53 context()->AsWeakPtr(), NULL)); in SetUp()
54 provider_host_ = host->AsWeakPtr(); in SetUp()
100 context()->AsWeakPtr(), in TEST_F()
150 context()->AsWeakPtr(), in TEST_F()
Dservice_worker_url_request_job_unittest.cc105 helper_->context()->AsWeakPtr()); in SetUpWithHelper()
110 helper_->context()->AsWeakPtr()); in SetUpWithHelper()
114 kProcessID, kProviderID, helper_->context()->AsWeakPtr(), NULL)); in SetUpWithHelper()
128 new MockHttpProtocolHandler(provider_host->AsWeakPtr(), in SetUpWithHelper()
129 blob_storage_context->AsWeakPtr())); in SetUpWithHelper()
Dservice_worker_context_core.cc96 AsWeakPtr(), in ServiceWorkerContextCore()
103 embedded_worker_registry_(EmbeddedWorkerRegistry::Create(AsWeakPtr())), in ServiceWorkerContextCore()
104 job_coordinator_(new ServiceWorkerJobCoordinator(AsWeakPtr())), in ServiceWorkerContextCore()
117 ServiceWorkerStorage::Create(AsWeakPtr(), old_context->storage())), in ServiceWorkerContextCore()
121 AsWeakPtr(), in ServiceWorkerContextCore()
123 job_coordinator_(new ServiceWorkerJobCoordinator(AsWeakPtr())), in ServiceWorkerContextCore()
193 AsWeakPtr(), in RegisterServiceWorker()
210 AsWeakPtr(), in UnregisterServiceWorker()
Dservice_worker_request_handler_unittest.cc42 GURL("http://host/scope/"), 1L, context()->AsWeakPtr()); in SetUp()
46 context()->AsWeakPtr()); in SetUp()
50 kMockRenderProcessId, kMockProviderId, context()->AsWeakPtr(), NULL)); in SetUp()
51 provider_host_ = host->AsWeakPtr(); in SetUp()
Dservice_worker_handle_unittest.cc53 helper_->context()->AsWeakPtr()); in SetUp()
58 helper_->context()->AsWeakPtr()); in SetUp()
82 ServiceWorkerHandle::Create(helper_->context()->AsWeakPtr(), in TEST_F()
/external/chromium_org/chrome/browser/sync/
Dprofile_sync_components_factory_impl.cc458 ->AsWeakPtr(); in GetSyncableServiceForType()
461 profile_)->GetSyncableService(syncer::PREFERENCES)->AsWeakPtr(); in GetSyncableServiceForType()
464 syncer::PRIORITY_PREFERENCES)->AsWeakPtr(); in GetSyncableServiceForType()
471 web_data_service_.get())->AsWeakPtr(); in GetSyncableServiceForType()
474 web_data_service_.get())->AsWeakPtr(); in GetSyncableServiceForType()
478 return TemplateURLServiceFactory::GetForProfile(profile_)->AsWeakPtr(); in GetSyncableServiceForType()
482 return ExtensionSyncService::Get(profile_)->AsWeakPtr(); in GetSyncableServiceForType()
486 ->AsWeakPtr(); in GetSyncableServiceForType()
491 AsWeakPtr(); in GetSyncableServiceForType()
496 GetThemeSyncableService()->AsWeakPtr(); in GetSyncableServiceForType()
[all …]
/external/chromium_org/content/renderer/pepper/
Dpepper_media_device_manager.cc35 return handler->AsWeakPtr(); in GetForRenderFrame()
58 AsWeakPtr(), in EnumerateDevices()
65 AsWeakPtr(), in EnumerateDevices()
82 AsWeakPtr(), in StopEnumerateDevices()
94 GetMediaStreamDispatcher()->StopEnumerateDevices(request_id, AsWeakPtr()); in StopEnumerateDevicesDelayed()
108 AsWeakPtr(), in OpenDevice()
116 AsWeakPtr(), in OpenDevice()
127 GetMediaStreamDispatcher()->CancelOpenDevice(request_id, AsWeakPtr()); in CancelOpenDevice()
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
Dsync_worker_unittest.cc125 extension_service_->AsWeakPtr(), in SetUp()
292 AsWeakPtr(), in TEST_F()
301 AsWeakPtr(), in TEST_F()
310 AsWeakPtr(), in TEST_F()
319 AsWeakPtr(), in TEST_F()
328 AsWeakPtr(), in TEST_F()
337 AsWeakPtr(), in TEST_F()
346 AsWeakPtr(), in TEST_F()
355 AsWeakPtr(), in TEST_F()
364 AsWeakPtr(), in TEST_F()
[all …]
/external/chromium_org/jingle/notifier/listener/
Dxmpp_push_client_unittest.cc74 xmpp_push_client_->OnConnect(fake_base_task_.AsWeakPtr()); in TEST_F()
110 xmpp_push_client_->OnConnect(fake_base_task_.AsWeakPtr()); in TEST_F()
121 xmpp_push_client_->OnConnect(fake_base_task_.AsWeakPtr()); in TEST_F()
138 xmpp_push_client_->OnConnect(fake_base_task_.AsWeakPtr()); in TEST_F()
/external/chromium_org/content/browser/renderer_host/pepper/
Dpepper_file_io_host.cc210 AsWeakPtr(), in OnHostMsgOpen()
222 AsWeakPtr(), in OnHostMsgOpen()
258 AsWeakPtr(), in GotUIThreadStuffForInternalFileSystems()
260 AsWeakPtr(), in GotUIThreadStuffForInternalFileSystems()
277 AsWeakPtr(), in DidOpenInternalFile()
302 AsWeakPtr(), in GotResolvedRenderProcessId()
319 AsWeakPtr(), in OnHostMsgTouch()
344 AsWeakPtr(), in OnHostMsgSetLength()
362 AsWeakPtr(), in OnHostMsgFlush()
381 AsWeakPtr())); in OnHostMsgClose()
[all …]
/external/chromium_org/content/renderer/media/
Dmedia_stream_dispatcher_unittest.cc129 dispatcher_->GenerateStream(request_id, handler_.get()->AsWeakPtr(), in GenerateStream()
228 kRequestId1, handler1.get()->AsWeakPtr(), in TEST_F()
234 kRequestId2, handler2.get()->AsWeakPtr(), in TEST_F()
260 dispatcher->OpenDevice(kRequestId3, handler1.get()->AsWeakPtr(), in TEST_F()
266 dispatcher->OpenDevice(kRequestId4, handler1.get()->AsWeakPtr(), in TEST_F()
316 dispatcher->GenerateStream(kRequestId1, handler.get()->AsWeakPtr(), in TEST_F()
327 dispatcher->GenerateStream(kRequestId1, handler.get()->AsWeakPtr(), in TEST_F()
361 dispatcher->GenerateStream(kRequestId1, handler.get()->AsWeakPtr(), in TEST_F()
363 dispatcher->GenerateStream(kRequestId2, handler.get()->AsWeakPtr(), in TEST_F()
367 dispatcher->CancelGenerateStream(kRequestId2, handler.get()->AsWeakPtr()); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/chromeos/login/signin/
Doauth2_token_fetcher.cc60 AsWeakPtr(), in StartExchangeFromCookies()
85 AsWeakPtr(), in StartExchangeFromAuthCode()
108 AsWeakPtr(), in OnClientOAuthFailure()
112 AsWeakPtr(), in OnClientOAuthFailure()
Doauth2_login_verifier.cc73 AsWeakPtr()), in VerifyUserCookies()
84 &OAuth2LoginVerifier::VerifyProfileTokensImpl, AsWeakPtr(), profile), in VerifyProfileTokens()
141 AsWeakPtr()), in OnUberAuthTokenFailure()
169 &OAuth2LoginVerifier::StartAuthCookiesVerification, AsWeakPtr()), in SchedulePostMergeVerification()
190 AsWeakPtr()), in OnMergeSessionFailure()
240 AsWeakPtr()), in OnListAccountsFailure()
/external/chromium_org/win8/test/
Dopen_with_dialog_controller.cc51 base::WeakPtr<Context> AsWeakPtr();
109 OpenWithDialogController::Context::AsWeakPtr() { in AsWeakPtr() function in win8::OpenWithDialogController::Context
142 base::Bind(&OpenWithDialogController::Context::OnTimeout, AsWeakPtr()), in Begin()
149 AsWeakPtr()), in Begin()
151 AsWeakPtr())); in Begin()
261 context_ = (new Context())->AsWeakPtr(); in Begin()
/external/chromium_org/chrome/browser/local_discovery/wifi/
Dwifi_manager_nonchromeos.cc69 base::WeakPtr<WifiManagerNonChromeos::WifiServiceWrapper> AsWeakPtr();
153 base::Bind(&WifiServiceWrapper::OnNetworksChangedEvent, AsWeakPtr()), in Start()
154 base::Bind(&WifiServiceWrapper::OnNetworkListChangedEvent, AsWeakPtr())); in Start()
232 WifiManagerNonChromeos::WifiServiceWrapper::AsWeakPtr() { in AsWeakPtr() function in local_discovery::wifi::WifiManagerNonChromeos::WifiServiceWrapper
331 AsWeakPtr(), in RequestNetworkCredentials()
485 base::Bind(&WifiServiceWrapper::Start, wifi_wrapper_->AsWeakPtr())); in Start()
492 wifi_wrapper_->AsWeakPtr(), in GetSSIDList()
500 base::Bind(&WifiServiceWrapper::RequestScan, wifi_wrapper_->AsWeakPtr())); in RequestScan()
530 wifi_wrapper_->AsWeakPtr(), in ConfigureAndConnectNetwork()
542 wifi_wrapper_->AsWeakPtr(), in ConnectToNetworkByID()
[all …]
/external/chromium_org/cloud_print/gcp20/prototype/
Dcloud_print_requester.cc177 base::Bind(&CloudPrintRequester::ParseRegisterStart, AsWeakPtr())); in StartRegistration()
184 base::Bind(&CloudPrintRequester::ParseRegisterComplete, AsWeakPtr())); in CompleteRegistration()
199 base::Bind(&CloudPrintRequester::ParseFetch, AsWeakPtr())); in FetchPrintJobs()
216 base::Bind(&CloudPrintRequester::ParsePrintJobInProgress, AsWeakPtr())); in RequestPrintJob()
224 base::Bind(&CloudPrintRequester::ParsePrintJobDone, AsWeakPtr())); in SendPrintJobDone()
232 base::Bind(&CloudPrintRequester::ParseLocalSettings, AsWeakPtr())); in RequestLocalSettings()
250 base::Bind(&CloudPrintRequester::ParseLocalSettingUpdated, AsWeakPtr())); in SendLocalSettings()
418 base::Bind(&CloudPrintRequester::ParseGetPrintJobData, AsWeakPtr())); in ParseGetPrintJobTicket()
441 base::Bind(&CloudPrintRequester::ParseGetPrintJobTicket, AsWeakPtr())); in ParsePrintJobInProgress()
/external/chromium_org/chrome/utility/image_writer/
Dimage_writer.cc48 PostTask(base::Bind(&ImageWriter::WriteChunk, AsWeakPtr())); in Write()
57 PostTask(base::Bind(&ImageWriter::VerifyChunk, AsWeakPtr())); in Verify()
140 PostTask(base::Bind(&ImageWriter::WriteChunk, AsWeakPtr())); in WriteChunk()
185 PostTask(base::Bind(&ImageWriter::VerifyChunk, AsWeakPtr())); in VerifyChunk()
/external/chromium_org/content/child/fileapi/
Dwebfilewriter_impl.cc136 base::Bind(&WebFileWriterImpl::DidFinish, AsWeakPtr()))); in DoTruncate()
143 base::Bind(&WebFileWriterImpl::DidWrite, AsWeakPtr()), in DoWrite()
144 base::Bind(&WebFileWriterImpl::DidFinish, AsWeakPtr()))); in DoWrite()
149 base::Bind(&WebFileWriterImpl::DidFinish, AsWeakPtr()))); in DoCancel()

12345678910>>...15