Home
last modified time | relevance | path

Searched refs:weak_factory_ (Results 1 – 25 of 779) sorted by relevance

12345678910>>...32

/external/chromium_org/base/
Dcancelable_callback.h61 CancelableCallback() : weak_factory_(this) {} in CancelableCallback()
65 : weak_factory_(this), in CancelableCallback()
75 weak_factory_.InvalidateWeakPtrs(); in Cancel()
113 weak_factory_.GetWeakPtr()); in InitializeForwarder()
117 base::WeakPtrFactory<CancelableCallback<void(void)> > weak_factory_; variable
131 CancelableCallback() : weak_factory_(this) {} in CancelableCallback()
135 : weak_factory_(this), in CancelableCallback()
145 weak_factory_.InvalidateWeakPtrs(); in Cancel()
183 weak_factory_.GetWeakPtr()); in InitializeForwarder()
187 base::WeakPtrFactory<CancelableCallback<void(A1)> > weak_factory_; variable
[all …]
/external/chromium/base/memory/
Dscoped_callback_factory.h47 explicit ScopedCallbackFactory(T* obj) : weak_factory_(obj) { in ScopedCallbackFactory()
53 weak_factory_.GetWeakPtr(), method); in NewCallback()
60 weak_factory_.GetWeakPtr(), method); in NewCallback()
67 weak_factory_.GetWeakPtr(), method); in NewCallback()
75 weak_factory_.GetWeakPtr(), method); in NewCallback()
83 weak_factory_.GetWeakPtr(), method); in NewCallback()
92 weak_factory_.GetWeakPtr(), method); in NewCallback()
95 void RevokeAll() { weak_factory_.InvalidateWeakPtrs(); } in RevokeAll()
96 bool HasPendingCallbacks() const { return weak_factory_.HasWeakPtrs(); } in HasPendingCallbacks()
128 WeakPtrFactory<T> weak_factory_; variable
/external/chromium_org/webkit/browser/fileapi/
Dfile_system_operation_impl.cc52 weak_factory_.GetWeakPtr(), url, callback, exclusive), in CreateFile()
64 weak_factory_.GetWeakPtr(), url, callback, in CreateDirectory()
87 weak_factory_.GetWeakPtr(), callback))); in Copy()
105 weak_factory_.GetWeakPtr(), callback))); in Move()
115 weak_factory_.GetWeakPtr(), callback)); in DirectoryExists()
124 weak_factory_.GetWeakPtr(), callback)); in FileExists()
153 weak_factory_.GetWeakPtr(), url, callback)); in Remove()
161 weak_factory_.GetWeakPtr(), callback))); in Remove()
175 weak_factory_.GetWeakPtr(), url, callback)); in Write()
184 weak_factory_.GetWeakPtr(), url, callback, length), in Truncate()
[all …]
Dcopy_or_move_operation_delegate.cc112 weak_factory_(this) { in SnapshotCopyOrMoveImpl()
121 weak_factory_.GetWeakPtr(), callback)); in Run()
158 weak_factory_.GetWeakPtr(), in RunAfterCreateSnapshot()
181 weak_factory_.GetWeakPtr(), file_info, file_ref, callback)); in RunAfterPreWriteValidation()
208 weak_factory_.GetWeakPtr(), callback)); in RunAfterCopyInForeignFile()
231 weak_factory_.GetWeakPtr(), callback)); in RunAfterTouchFile()
247 weak_factory_.GetWeakPtr(), error, callback)); in RunAfterPostWriteValidation()
262 weak_factory_.GetWeakPtr(), callback)); in RunAfterPostWriteValidation()
305 weak_factory_.GetWeakPtr(), callback)); in PostWriteValidation()
328 weak_factory_.GetWeakPtr(), file_ref, callback)); in PostWriteValidationAfterCreateSnapshotFile()
[all …]
Dlocal_file_stream_writer.cc34 weak_factory_.InvalidateWeakPtrs(); in ~LocalFileStreamWriter()
54 weak_factory_.GetWeakPtr(), in Write()
89 weak_factory_(this) {} in LocalFileStreamWriter()
102 weak_factory_.GetWeakPtr(), in InitiateOpen()
141 weak_factory_.GetWeakPtr(), in InitiateSeek()
193 weak_factory_.GetWeakPtr(), in InitiateWrite()
213 weak_factory_.GetWeakPtr(), in InitiateFlush()
/external/chromium_org/chrome/browser/chromeos/attestation/
Dattestation_policy_observer.cc101 weak_factory_(this) { in AttestationPolicyObserver()
120 weak_factory_(this) { in AttestationPolicyObserver()
167 weak_factory_.GetWeakPtr()); in Start()
170 weak_factory_.GetWeakPtr()); in Start()
179 weak_factory_.GetWeakPtr()), in Start()
192 weak_factory_.GetWeakPtr()), in GetNewCertificate()
194 weak_factory_.GetWeakPtr()), in GetNewCertificate()
206 weak_factory_.GetWeakPtr()), in GetExistingCertificate()
208 weak_factory_.GetWeakPtr()), in GetExistingCertificate()
231 weak_factory_.GetWeakPtr(), in CheckCertificateExpiry()
[all …]
/external/chromium_org/content/browser/
Dquota_dispatcher_host.cc69 weak_factory_(this) {} in QueryUsageAndQuotaDispatcher()
76 weak_factory_.GetWeakPtr())); in QueryStorageUsageAndQuota()
93 base::WeakPtrFactory<QueryUsageAndQuotaDispatcher> weak_factory_; member in content::QuotaDispatcherHost::QueryUsageAndQuotaDispatcher
114 weak_factory_(this) {} in RequestQuotaDispatcher()
126 weak_factory_.GetWeakPtr(), host_, type_)); in Start()
131 weak_factory_.GetWeakPtr())); in Start()
164 weak_factory_.GetWeakPtr())); in DidGetHostQuota()
185 base::Bind(&self_type::DidSetHostQuota, weak_factory_.GetWeakPtr())); in DidGetPermissionResponse()
211 base::WeakPtrFactory<self_type> weak_factory_; member in content::QuotaDispatcherHost::RequestQuotaDispatcher
221 weak_factory_(this) { in QuotaDispatcherHost()
[all …]
/external/chromium_org/chrome/browser/sync_file_system/local/
Dsyncable_file_system_operation.cc89 weak_factory_.GetWeakPtr(), in CreateFile()
93 base::Bind(&self::DidFinish, weak_factory_.GetWeakPtr())))); in CreateFile()
115 weak_factory_.GetWeakPtr(), in CreateDirectory()
119 base::Bind(&self::DidFinish, weak_factory_.GetWeakPtr())))); in CreateDirectory()
138 weak_factory_.GetWeakPtr(), in Copy()
142 base::Bind(&self::DidFinish, weak_factory_.GetWeakPtr())))); in Copy()
161 weak_factory_.GetWeakPtr(), in Move()
165 base::Bind(&self::DidFinish, weak_factory_.GetWeakPtr())))); in Move()
212 weak_factory_.GetWeakPtr(), in Remove()
216 base::Bind(&self::DidFinish, weak_factory_.GetWeakPtr())))); in Remove()
[all …]
/external/chromium_org/chrome/browser/chromeos/policy/
Duser_cloud_policy_store_chromeos.cc89 base::WeakPtrFactory<LegacyPolicyCacheLoader> weak_factory_; member in policy::LegacyPolicyCacheLoader
109 : weak_factory_(this), in LegacyPolicyCacheLoader()
112 token_loader_ = new UserPolicyTokenLoader(weak_factory_.GetWeakPtr(), in LegacyPolicyCacheLoader()
115 policy_cache_ = new UserPolicyDiskCache(weak_factory_.GetWeakPtr(), in LegacyPolicyCacheLoader()
183 weak_factory_(this), in UserCloudPolicyStoreChromeOS()
196 weak_factory_.InvalidateWeakPtrs(); in Store()
201 weak_factory_.GetWeakPtr(), in Store()
207 weak_factory_.InvalidateWeakPtrs(); in Load()
211 weak_factory_.GetWeakPtr())); in Load()
281 weak_factory_.GetWeakPtr())); in ValidatePolicyForStore()
[all …]
Ddevice_local_account_policy_store.cc32 weak_factory_(this) {} in DeviceLocalAccountPolicyStore()
37 weak_factory_.InvalidateWeakPtrs(); in Load()
41 weak_factory_.GetWeakPtr())); in Load()
46 weak_factory_.InvalidateWeakPtrs(); in Store()
51 weak_factory_.GetWeakPtr())); in Store()
66 weak_factory_.GetWeakPtr())); in ValidateLoadedPolicyBlob()
139 weak_factory_.GetWeakPtr())); in StoreValidatedPolicy()
157 weak_factory_.GetWeakPtr(), in CheckKeyAndValidate()
Ddevice_cloud_policy_store_chromeos.cc25 weak_factory_(this) { in DeviceCloudPolicyStoreChromeOS()
36 weak_factory_.InvalidateWeakPtrs(); in Store()
56 weak_factory_.GetWeakPtr())); in Store()
66 weak_factory_.InvalidateWeakPtrs(); in InstallInitialPolicy()
80 weak_factory_.GetWeakPtr())); in InstallInitialPolicy()
88 if (!weak_factory_.HasWeakPtrs()) in DeviceSettingsUpdated()
118 weak_factory_.GetWeakPtr())); in OnPolicyToStoreValidated()
/external/chromium_org/chrome/browser/chromeos/login/
Dtpm_password_fetcher.cc23 : weak_factory_(this), in TpmPasswordFetcher()
33 weak_factory_.InvalidateWeakPtrs(); in Fetch()
37 weak_factory_.GetWeakPtr())); in Fetch()
45 weak_factory_.GetWeakPtr())); in OnTpmIsReady()
71 base::Bind(&TpmPasswordFetcher::Fetch, weak_factory_.GetWeakPtr()), in RescheduleFetch()
Donline_attempt.cc38 weak_factory_(this), in OnlineAttempt()
56 base::Bind(&OnlineAttempt::TryClientLogin, weak_factory_.GetWeakPtr())); in Initiate()
64 weak_factory_.InvalidateWeakPtrs(); in OnClientLoginSuccess()
86 weak_factory_.InvalidateWeakPtrs(); in OnClientLoginFailure()
127 base::Bind(&OnlineAttempt::CancelClientLogin, weak_factory_.GetWeakPtr()), in TryClientLogin()
144 weak_factory_.InvalidateWeakPtrs(); in CancelRequest()
/external/chromium_org/content/renderer/
Dload_progress_tracker.cc23 weak_factory_(this) { in LoadProgressTracker()
61 weak_factory_.InvalidateWeakPtrs(); in DidChangeLoadProgress()
68 if (weak_factory_.HasWeakPtrs()) in DidChangeLoadProgress()
74 weak_factory_.GetWeakPtr()), in DidChangeLoadProgress()
88 weak_factory_.InvalidateWeakPtrs(); in ResetStates()
/external/chromium_org/chromeos/attestation/
Dattestation_flow.cc91 weak_factory_(this) { in AttestationFlow()
107 weak_factory_.GetWeakPtr(), in GetCertificate()
115 weak_factory_.GetWeakPtr(), in GetCertificate()
130 weak_factory_.GetWeakPtr(), in StartEnroll()
150 weak_factory_.GetWeakPtr(), in SendEnrollRequestToPCA()
171 weak_factory_.GetWeakPtr(), in SendEnrollResponseToDaemon()
208 weak_factory_.GetWeakPtr(), in StartCertificateRequest()
217 weak_factory_.GetWeakPtr(), in StartCertificateRequest()
226 weak_factory_.GetWeakPtr(), in StartCertificateRequest()
261 weak_factory_.GetWeakPtr(), in SendCertificateRequestToPCA()
/external/chromium_org/chrome/browser/chromeos/settings/
Dsession_manager_operation.cc29 weak_factory_(this), in SessionManagerOperation()
54 weak_factory_.InvalidateWeakPtrs(); in RestartLoad()
65 weak_factory_.GetWeakPtr())); in StartLoading()
85 weak_factory_.GetWeakPtr(), callback)); in EnsureOwnerKey()
137 weak_factory_.GetWeakPtr())); in RetrieveDeviceSettings()
188 weak_factory_.GetWeakPtr())); in ValidateDeviceSettings()
226 weak_factory_(this) {} in StoreSettingsOperation()
234 weak_factory_.GetWeakPtr())); in Run()
251 weak_factory_(this) { in SignAndStoreSettingsOperation()
259 weak_factory_.GetWeakPtr())); in Run()
[all …]
/external/chromium_org/content/browser/service_worker/
Dservice_worker_register_job.cc16 : storage_(storage), callback_(callback), weak_factory_(this) {} in ServiceWorkerRegisterJob()
25 &ServiceWorkerRegisterJob::RegisterComplete, weak_factory_.GetWeakPtr())); in StartRegister()
29 weak_factory_.GetWeakPtr(), in StartRegister()
36 weak_factory_.GetWeakPtr(), in StartRegister()
49 weak_factory_.GetWeakPtr())); in StartUnregister()
53 weak_factory_.GetWeakPtr(), in StartUnregister()
/external/chromium_org/base/files/
Dfile_util_proxy_unittest.cc30 weak_factory_(this) {} in FileUtilProxyTest()
117 WeakPtrFactory<FileUtilProxyTest> weak_factory_; member in base::FileUtilProxyTest
125 Bind(&FileUtilProxyTest::DidCreateOrOpen, weak_factory_.GetWeakPtr())); in TEST_F()
144 Bind(&FileUtilProxyTest::DidCreateOrOpen, weak_factory_.GetWeakPtr())); in TEST_F()
157 Bind(&FileUtilProxyTest::DidCreateOrOpen, weak_factory_.GetWeakPtr())); in TEST_F()
179 Bind(&FileUtilProxyTest::DidFinish, weak_factory_.GetWeakPtr())); in TEST_F()
190 Bind(&FileUtilProxyTest::DidCreateTemporary, weak_factory_.GetWeakPtr())); in TEST_F()
235 Bind(&FileUtilProxyTest::DidGetFileInfo, weak_factory_.GetWeakPtr())); in TEST_F()
258 Bind(&FileUtilProxyTest::DidGetFileInfo, weak_factory_.GetWeakPtr())); in TEST_F()
284 Bind(&FileUtilProxyTest::DidRead, weak_factory_.GetWeakPtr())); in TEST_F()
[all …]
/external/chromium_org/net/quic/
Dquic_connection_helper.cc29 weak_factory_(this) {} in QuicChromeAlarm()
43 weak_factory_.InvalidateWeakPtrs(); in SetImpl()
52 base::Bind(&QuicChromeAlarm::OnAlarm, weak_factory_.GetWeakPtr()), in SetImpl()
89 base::WeakPtrFactory<QuicChromeAlarm> weak_factory_; member in net::__anon00488f200111::QuicChromeAlarm
97 : weak_factory_(this), in QuicConnectionHelper()
/external/chromium_org/chrome/browser/ui/tabs/
Dhover_tab_selector.cc16 weak_factory_(this) { in HoverTabSelector()
26 if (weak_factory_.HasWeakPtrs()) { in StartTabTransition()
41 weak_factory_.GetWeakPtr()), in StartTabTransition()
47 weak_factory_.InvalidateWeakPtrs(); in CancelTabTransition()
/external/chromium_org/chrome/browser/sync_file_system/drive_backend_v1/
Dlocal_sync_delegate.cc32 weak_factory_(this) {} in LocalSyncDelegate()
50 weak_factory_.GetWeakPtr(), in Run()
117 weak_factory_.GetWeakPtr(), callback, google_apis::HTTP_SUCCESS)); in DidGetOriginRoot()
134 weak_factory_.GetWeakPtr(), callback)); in UploadNewFile()
147 weak_factory_.GetWeakPtr(), callback, error)); in DidUploadNewFile()
169 weak_factory_.GetWeakPtr(), callback)); in CreateDirectory()
182 weak_factory_.GetWeakPtr(), callback, error)); in DidCreateDirectory()
213 weak_factory_.GetWeakPtr(), callback)); in UploadExistingFile()
227 weak_factory_.GetWeakPtr(), callback, error)); in DidUploadExistingFile()
269 weak_factory_.GetWeakPtr(), callback)); in Delete()
[all …]
/external/chromium_org/content/gpu/
Dgpu_watchdog_thread.cc41 weak_factory_(this), in GpuWatchdogThread()
87 weak_factory_.InvalidateWeakPtrs(); in CleanUp()
111 DCHECK(!weak_factory_.HasWeakPtrs()); in ~GpuWatchdogThread()
140 weak_factory_.InvalidateWeakPtrs(); in OnAcknowledge()
153 base::Bind(&GpuWatchdogThread::OnCheck, weak_factory_.GetWeakPtr(), in OnAcknowledge()
193 weak_factory_.GetWeakPtr()), in OnCheck()
211 weak_factory_.GetWeakPtr()), in DeliberatelyTerminateToRecoverFromHang()
/external/chromium_org/chrome/browser/ui/webui/quota_internals/
Dquota_internals_proxy.cc21 weak_factory_(this) { in QuotaInternalsProxy()
37 weak_factory_.GetWeakPtr())); in RequestInfo()
41 weak_factory_.GetWeakPtr(), quota::kStorageTypeTemporary)); in RequestInfo()
46 weak_factory_.GetWeakPtr(), in RequestInfo()
52 weak_factory_.GetWeakPtr(), in RequestInfo()
58 weak_factory_.GetWeakPtr(), in RequestInfo()
63 weak_factory_.GetWeakPtr())); in RequestInfo()
67 weak_factory_.GetWeakPtr())); in RequestInfo()
224 weak_factory_.GetWeakPtr(), in GetHostUsage()
/external/chromium_org/net/url_request/
Durl_fetcher_response_writer.cc55 : weak_factory_(this), in URLFetcherFileWriter()
77 weak_factory_.GetWeakPtr(), in Initialize()
86 weak_factory_.GetWeakPtr(), in Initialize()
101 weak_factory_.GetWeakPtr(), in Write()
112 weak_factory_.GetWeakPtr(), callback)); in Finish()
164 weak_factory_.GetWeakPtr(), in DidCreateTempFile()
/external/chromium_org/components/policy/core/common/cloud/
Duser_cloud_policy_store.cc95 weak_factory_(this), in UserCloudPolicyStore()
117 weak_factory_.InvalidateWeakPtrs(); in LoadImmediately()
137 weak_factory_.InvalidateWeakPtrs(); in Load()
146 weak_factory_.GetWeakPtr(), true)); in Load()
170 weak_factory_.GetWeakPtr())); in PolicyLoaded()
200 weak_factory_.InvalidateWeakPtrs(); in Store()
206 weak_factory_.GetWeakPtr())); in Store()

12345678910>>...32