/external/chromium/base/ |
D | file_util_proxy.cc | 127 callback_(callback), in RelayCreateOrOpen() 152 callback_->Run(error_code(), base::PassPlatformFile(&file_handle_), in RunCallback() 154 delete callback_; in RunCallback() 161 base::FileUtilProxy::CreateOrOpenCallback* callback_; member in __anon7b9c5dc60111::RelayCreateOrOpen 172 callback_(callback), in RelayCreateTemporary() 202 callback_->Run(error_code(), base::PassPlatformFile(&file_handle_), in RunCallback() 204 delete callback_; in RunCallback() 209 base::FileUtilProxy::CreateTemporaryCallback* callback_; member in __anon7b9c5dc60111::RelayCreateTemporary 218 : callback_(callback) { in RelayWithStatusCallback() 225 if (callback_) { in RunCallback() [all …]
|
/external/chromium/base/memory/ |
D | singleton_unittest.cc | 56 if (instance->callback_) in Delete() 57 (instance->callback_)(); in Delete() 64 CallbackSingleton() : callback_(NULL) { } in CallbackSingleton() 65 CallbackFunc callback_; member in __anon18dbaa620111::CallbackSingleton 106 if (instance->callback_) in Delete() 107 (instance->callback_)(); in Delete() 115 CallbackSingletonWithNoLeakTrait::GetInstance()->callback_ = CallOnQuit; in SingletonNoLeak() 119 CallbackSingletonWithLeakTrait::GetInstance()->callback_ = CallOnQuit; in SingletonLeak() 123 return &CallbackSingletonWithLeakTrait::GetInstance()->callback_; in GetLeakySingleton() 132 CallbackSingletonWithStaticTrait::GetInstance()->callback_ = CallOnQuit; in SingletonStatic() [all …]
|
/external/chromium/net/http/ |
D | disk_cache_based_ssl_host_info.cc | 43 callback_(new CallbackImpl(weak_ptr_factory_.GetWeakPtr(), in DiskCacheBasedSSLHostInfo() 94 delete callback_; in ~DiskCacheBasedSSLHostInfo() 149 backend_ = callback_->backend(); in DoGetBackendComplete() 159 entry_ = callback_->entry(); in DoOpenComplete() 185 entry_ = callback_->entry(); in DoCreateComplete() 193 return http_cache_->GetBackend(callback_->backend_pointer(), callback_); in DoGetBackend() 198 return backend_->OpenEntry(key(), callback_->entry_pointer(), callback_); in DoOpen() 211 size, callback_); in DoRead() 220 new_data_.size(), callback_, true /* truncate */); in DoWrite() 226 return backend_->CreateEntry(key(), callback_->entry_pointer(), callback_); in DoCreate()
|
D | http_proxy_client_socket_pool_unittest.cc | 214 TestCompletionCallback callback_; member in net::HttpProxyClientSocketPoolTest 269 int rv = handle_.Init("a", GetTunnelParams(), LOW, &callback_, &pool_, in TEST_P() 276 rv = callback_.WaitForResult(); in TEST_P() 313 int rv = handle_.Init("a", GetTunnelParams(), LOW, &callback_, &pool_, in TEST_P() 350 int rv = handle_.Init("a", GetTunnelParams(), LOW, &callback_, &pool_, in TEST_P() 357 EXPECT_EQ(OK, callback_.WaitForResult()); in TEST_P() 372 int rv = handle_.Init("a", GetTunnelParams(), LOW, &callback_, &pool_, in TEST_P() 378 EXPECT_EQ(ERR_PROXY_CONNECTION_FAILED, callback_.WaitForResult()); in TEST_P() 397 int rv = handle_.Init("a", GetTunnelParams(), LOW, &callback_, &pool_, in TEST_P() 403 EXPECT_EQ(ERR_PROXY_CERTIFICATE_INVALID, callback_.WaitForResult()); in TEST_P() [all …]
|
D | partial_data.cc | 69 net::CompletionCallbackImpl<Core> callback_; member in net::PartialData::Core 75 ALLOW_THIS_IN_INITIALIZER_LIST(callback_(this, &Core::OnIOComplete)) { in Core() 92 int rv = entry->GetAvailableRange(offset, len, &start_, &callback_); in GetAvailableRange() 116 callback_(NULL) { in PartialData() 173 DCHECK(!callback_); in ShouldValidateCache() 179 callback_ = callback; in ShouldValidateCache() 476 DCHECK(callback_); in GetAvailableRangeCompleted() 484 CompletionCallback* cb = callback_; in GetAvailableRangeCompleted() 485 callback_ = NULL; in GetAvailableRangeCompleted()
|
/external/chromium/chrome/browser/printing/ |
D | printer_query.cc | 28 if (callback_.get()) { in ~PrinterQuery() 30 callback_->Cancel(); in ~PrinterQuery() 46 if (callback_.get()) { in GetSettingsDone() 48 callback_->Run(); in GetSettingsDone() 49 callback_.reset(NULL); in GetSettingsDone() 54 DCHECK(!callback_.get()); in DetachWorker() 109 DCHECK(!callback_.get()); in StartWorker() 125 callback_.reset(callback); in StartWorker() 141 return callback_.get() != NULL; in is_callback_pending()
|
/external/chromium/net/socket/ |
D | socks_client_socket_unittest.cc | 41 TestCompletionCallback callback_; member in net::SOCKSClientSocketTest 141 int rv = user_sock_->Connect(&callback_); in TEST_F() 150 rv = callback_.WaitForResult(); in TEST_F() 159 rv = user_sock_->Write(buffer, payload_write.size(), &callback_); in TEST_F() 161 rv = callback_.WaitForResult(); in TEST_F() 165 rv = user_sock_->Read(buffer, payload_read.size(), &callback_); in TEST_F() 167 rv = callback_.WaitForResult(); in TEST_F() 210 int rv = user_sock_->Connect(&callback_); in TEST_F() 218 rv = callback_.WaitForResult(); in TEST_F() 247 int rv = user_sock_->Connect(&callback_); in TEST_F() [all …]
|
D | socks5_client_socket_unittest.cc | 50 TestCompletionCallback callback_; member in net::__anon68e95f290111::SOCKS5ClientSocketTest 131 int rv = user_sock_->Connect(&callback_); in TEST_F() 140 rv = callback_.WaitForResult(); in TEST_F() 151 rv = user_sock_->Write(buffer, payload_write.size(), &callback_); in TEST_F() 153 rv = callback_.WaitForResult(); in TEST_F() 157 rv = user_sock_->Read(buffer, payload_read.size(), &callback_); in TEST_F() 159 rv = callback_.WaitForResult(); in TEST_F() 197 int rv = user_sock_->Connect(&callback_); in TEST_F() 254 int rv = user_sock_->Connect(&callback_); in TEST_F() 262 rv = callback_.WaitForResult(); in TEST_F() [all …]
|
/external/chromium/chrome/browser/chromeos/login/ |
D | signed_settings_helper.cc | 51 callback_ = NULL; in CancelCallback() 68 return callback_; in callback() 80 callback_(callback) { in OpContext() 98 SignedSettingsHelper::Callback* callback_; member in chromeos::__anonc10e177e0111::OpContext 122 if (callback_) { in OnSettingsOpCompleted() 125 callback_->OnCheckWhitelistCompleted(code, email_); in OnSettingsOpCompleted() 128 callback_->OnWhitelistCompleted(code, email_); in OnSettingsOpCompleted() 131 callback_->OnUnwhitelistCompleted(code, email_); in OnSettingsOpCompleted() 183 if (callback_) in OnSettingsOpCompleted() 184 callback_->OnStorePropertyCompleted(code, name_, value_); in OnSettingsOpCompleted() [all …]
|
D | ownership_status_checker.cc | 21 : callback_(callback), in Core() 46 callback_.reset(); in Cancel() 63 if (callback_.get()) { in ReportResult() 64 callback_->Run(status); in ReportResult() 65 callback_.reset(); in ReportResult()
|
/external/chromium/net/base/ |
D | file_stream_posix.cc | 115 : canceled_(false), callback_(callback) {} in CancelableCallbackTask() 119 callback_->Run(); in Run() 128 scoped_ptr<Callback0::Type> callback_; member in net::CancelableCallbackTask 146 CompletionCallback* callback() const { return callback_; } in callback() 163 CompletionCallback* callback_; // The user provided callback. member in net::FileStream::AsyncContext 185 callback_(NULL), in AsyncContext() 194 if (callback_) { in ~AsyncContext() 212 DCHECK(!callback_); in InitiateAsyncRead() 213 callback_ = callback; in InitiateAsyncRead() 226 DCHECK(!callback_); in InitiateAsyncWrite() [all …]
|
D | file_stream_win.cc | 56 : owner_(owner), context_(), callback_(NULL), is_closing_(false) { in AsyncContext() 64 CompletionCallback* callback() const { return callback_; } in callback() 72 CompletionCallback* callback_; member in net::FileStream::AsyncContext 80 while (callback_) { in ~AsyncContext() 93 DCHECK(!callback_); in IOCompletionIsPending() 94 callback_ = callback; in IOCompletionIsPending() 100 DCHECK(callback_); in OnIOCompleted() 103 callback_ = NULL; in OnIOCompleted() 115 std::swap(temp, callback_); in OnIOCompleted()
|
D | cert_verifier.cc | 92 : callback_(callback), in CertVerifierRequest() 98 callback_ = NULL; in Cancel() 105 if (callback_) { in Post() 107 callback_->Run(verify_result.error); in Post() 112 bool canceled() const { return !callback_; } in canceled() 115 CompletionCallback* callback_; member in net::CertVerifierRequest 452 callback_(this, &SingleRequestCertVerifier::OnVerifyCompletion)) { in SingleRequestCertVerifier() 480 cert, hostname, flags, verify_result, &callback_, &request); in Verify()
|
/external/chromium/chrome/browser/extensions/ |
D | file_reader.cc | 14 callback_(callback), in FileReader() 16 DCHECK(callback_); in FileReader() 35 callback_->Run(success, data); in RunCallback() 36 delete callback_; in RunCallback()
|
/external/chromium/chrome/browser/net/ |
D | view_http_cache_job_factory.cc | 28 callback_(NewCallback(this, in ViewHttpCacheJob() 49 callback_(this, &Core::OnIOComplete)), in Core() 75 net::CompletionCallbackImpl<Core> callback_; member in __anon1cc443720111::ViewHttpCacheJob::Core 88 scoped_ptr<Callback0::Type> callback_; member in __anon1cc443720111::ViewHttpCacheJob 112 int rv = core_->Start(*request(), callback_.get()); in StartAsync() 136 &callback_); in Start() 139 &data_, &callback_); in Start()
|
/external/chromium/chrome/browser/ |
D | mock_browsing_data_indexed_db_helper.cc | 20 callback_.reset(callback); in StartFetching() 24 callback_.reset(NULL); in CancelNotification() 48 CHECK(callback_.get()); in Notify() 49 callback_->Run(response_); in Notify()
|
D | mock_browsing_data_database_helper.cc | 20 callback_.reset(callback); in StartFetching() 24 callback_.reset(NULL); in CancelNotification() 49 CHECK(callback_.get()); in Notify() 50 callback_->Run(response_); in Notify()
|
D | mock_browsing_data_local_storage_helper.cc | 21 callback_.reset(callback); in StartFetching() 25 callback_.reset(NULL); in CancelNotification() 49 CHECK(callback_.get()); in Notify() 50 callback_->Run(response_); in Notify()
|
/external/chromium/net/websockets/ |
D | websocket_job.cc | 66 callback_(NULL), in WebSocketJob() 156 if (callback_) { in DetachDelegate() 158 callback_ = NULL; in DetachDelegate() 165 DCHECK(!callback_); in OnStartOpenConnection() 171 callback_ = callback; in OnStartOpenConnection() 248 if (callback_) { in OnClose() 250 callback_ = NULL; in OnClose() 464 DCHECK(callback_); in Wakeup() 473 if (callback_) { in DoCallback() 474 net::CompletionCallback* callback = callback_; in DoCallback() [all …]
|
/external/chromium/webkit/glue/ |
D | alt_error_page_resource_fetcher.cc | 27 callback_(callback), in AltErrorPageResourceFetcher() 46 callback_->Run(frame_, original_error_, data); in OnURLFetchComplete() 48 callback_->Run(frame_, original_error_, std::string()); in OnURLFetchComplete()
|
/external/chromium/net/proxy/ |
D | mock_proxy_resolver.cc | 20 callback_(callback), in Request() 25 CompletionCallback* callback = callback_; in CompleteNow() 42 callback_(callback), in SetPacScriptRequest() 49 CompletionCallback* callback = callback_; in CompleteNow()
|
/external/v8/test/cctest/ |
D | cctest.h | 59 void Run() { callback_(); } in Run() 68 TestFunction* callback_; 139 : fuzzer_(NULL), callback_(callback), name_(name) { in RegisterThreadedTest() 154 CcTest::TestFunction* callback() { return callback_; } in callback() 161 CcTest::TestFunction* callback_; variable
|
/external/chromium/net/ftp/ |
D | ftp_network_transaction_unittest.cc | 763 transaction_.Start(&request_info, &callback_, BoundNetLog())); in ExecuteTransaction() 765 ASSERT_EQ(expected_result, callback_.WaitForResult()); in ExecuteTransaction() 770 transaction_.Read(io_buffer.get(), kBufferSize, &callback_)); in ExecuteTransaction() 772 callback_.WaitForResult()); in ExecuteTransaction() 776 int rv = transaction_.Read(io_buffer.get(), kBufferSize, &callback_); in ExecuteTransaction() 778 EXPECT_EQ(0, callback_.WaitForResult()); in ExecuteTransaction() 801 TestCompletionCallback callback_; member in net::FtpNetworkTransactionTest 809 transaction_.Start(&request_info, &callback_, BoundNetLog())); in TEST_F() 810 ASSERT_EQ(ERR_NAME_NOT_RESOLVED, callback_.WaitForResult()); in TEST_F() 1027 transaction_.Start(&request_info, &callback_, BoundNetLog())); in TEST_F() [all …]
|
/external/chromium/net/url_request/ |
D | view_cache_helper.cc | 83 callback_(NULL), in ViewCacheHelper() 121 DCHECK(!callback_); in GetInfoHTML() 131 callback_ = callback; in GetInfoHTML() 138 DCHECK(callback_); in DoCallback() 140 CompletionCallback* c = callback_; in DoCallback() 141 callback_ = NULL; in DoCallback() 149 if (callback_) in HandleResult()
|
/external/chromium/net/disk_cache/ |
D | file_win.cc | 26 disk_cache::FileIOCallback* callback_; member 50 if (data->callback_) in OnIOCompleted() 51 data->callback_->OnFileIOComplete(static_cast<int>(actual_bytes)); in OnIOCompleted() 62 callback_ = callback; in MyOverlapped() 187 data->callback_ = NULL; in Read() 227 data->callback_ = NULL; in AsyncWrite()
|