Home | History | Annotate | Download | only in proxy

Lines Matching full:callback

54   // Callback for when a job has completed running on the executor's thread.
131 // Returns true if this job still has a user callback. Some jobs
132 // do not have a user callback, because they were helper jobs
136 // have a non-NULL callback up until the callback is run.
160 CompletionCallback* callback = user_callback_;
161 // Null the callback so has_user_callback() will now return false.
163 callback->Run(result);
184 CompletionCallback* callback)
185 : Job(callback ? TYPE_SET_PAC_SCRIPT : TYPE_SET_PAC_SCRIPT_INTERNAL,
186 callback),
202 // Runs the completion callback on the origin thread.
223 CompletionCallback* callback,
225 : Job(TYPE_GET_PROXY_FOR_URL, callback),
230 DCHECK(callback);
268 // Runs the completion callback on the origin thread.
399 CompletionCallback* callback,
403 DCHECK(callback);
408 new GetProxyForURLJob(url, results, callback, net_log));
410 // Completion will be notified through |callback|, unless the caller cancels
448 // as cancelled so the user callback isn't run on completion.
484 CompletionCallback* callback) {
486 DCHECK(callback);
499 // notification will be sent through |callback|.
501 executor->StartJob(new SetPacScriptJob(script_data, callback));
513 callback
516 // when the callback has already been run. (Since we only clear the
517 // outstanding job AFTER the callback has been invoked, it is possible
518 // for a new request to be started from within the callback).