Lines Matching refs:done

40 void DaemonController::GetConfig(const GetConfigCallback& done) {
44 &DaemonController::InvokeConfigCallbackAndScheduleNext, this, done);
50 void DaemonController::InstallHost(const CompletionCallback& done) {
54 &DaemonController::InvokeCompletionCallbackAndScheduleNext, this, done);
63 const CompletionCallback& done) {
67 &DaemonController::InvokeCompletionCallbackAndScheduleNext, this, done);
75 const CompletionCallback& done) {
79 &DaemonController::InvokeCompletionCallbackAndScheduleNext, this, done);
86 void DaemonController::Stop(const CompletionCallback& done) {
90 &DaemonController::InvokeCompletionCallbackAndScheduleNext, this, done);
99 base::Closure done = base::Bind(&DaemonController::ScheduleNext, this);
101 &DaemonController::DoSetWindow, this, window_handle, done);
105 void DaemonController::GetVersion(const GetVersionCallback& done) {
109 &DaemonController::InvokeVersionCallbackAndScheduleNext, this, done);
116 const GetUsageStatsConsentCallback& done) {
120 &DaemonController::InvokeConsentCallbackAndScheduleNext, this, done);
135 void DaemonController::DoGetConfig(const GetConfigCallback& done) {
140 base::Bind(done, base::Passed(&config)));
143 void DaemonController::DoInstallHost(const CompletionCallback& done) {
146 delegate_->InstallHost(done);
152 const CompletionCallback& done) {
155 delegate_->SetConfigAndStart(config.Pass(), consent, done);
160 const CompletionCallback& done) {
163 delegate_->UpdateConfig(config.Pass(), done);
166 void DaemonController::DoStop(const CompletionCallback& done) {
169 delegate_->Stop(done);
173 const base::Closure& done) {
177 caller_task_runner_->PostTask(FROM_HERE, done);
180 void DaemonController::DoGetVersion(const GetVersionCallback& done) {
184 caller_task_runner_->PostTask(FROM_HERE, base::Bind(done, version));
188 const GetUsageStatsConsentCallback& done) {
193 caller_task_runner_->PostTask(FROM_HERE, base::Bind(done, consent));
197 const CompletionCallback& done,
203 this, done, result));
207 done.Run(result);
212 const GetConfigCallback& done,
216 done.Run(config.Pass());
221 const GetUsageStatsConsentCallback& done,
225 done.Run(consent);
230 const GetVersionCallback& done,
234 done.Run(version);