Home | History | Annotate | Download | only in proxy

Lines Matching refs:Thread

10 #include "base/threading/thread.h"
37 // thread and a synchronous ProxyResolver (which will be operated on said
38 // thread.)
46 // |thread_number| is an identifier used when naming the worker thread.
54 // Callback for when a job has completed running on the executor's thread.
57 // Cleanup the executor. Cancels all outstanding work, and frees the thread
84 // The thread where |resolver_| is run on.
88 scoped_ptr<base::Thread> thread_;
143 // This method is called just before the job is posted to the work thread.
146 // This method is called on the worker thread to do the job's work. On
179 // Runs on the worker thread to call ProxyResolver::SetPacScript.
190 // Runs on the worker thread.
202 // Runs the completion callback on the origin thread.
255 // Runs on the worker thread.
268 // Runs the completion callback on the origin thread.
280 // Must only be used on the "origin" thread.
283 // Can be used on either "origin" or worker thread.
287 // Usable from within DoQuery on the worker thread.
304 // Start up the thread.
305 // Note that it is safe to pass a temporary C-String to Thread(), as it will
308 base::StringPrintf("PAC thread #%d", thread_number);
309 thread_.reset(new base::Thread(thread_name.c_str()));
318 // cancelled), it will invoke OnJobCompleted() on this thread.
335 // Give the resolver an opportunity to shutdown from THIS THREAD before
336 // joining on the resolver thread. This allows certain implementations
344 // Join the worker thread.
356 // were using it on the resolver thread have completed.
423 // Otherwise queue this request. (We will schedule it to a thread once one
428 // If we haven't already reached the thread limit, provision a new thread to
515 // lazy thread provisions). User-initiated jobs may !has_user_callback()
549 // The "thread number" is used to give the thread a unique name.