/external/chromium/base/ |
task.cc | 5 #include "base/task.h" 7 Task::Task() { 10 Task::~Task() {
|
task_queue.h | 12 #include "base/task.h" 15 // the Run method. A task queue is itself a Task so that it can be placed in a 16 // message loop or another task queue. 17 class BASE_API TaskQueue : public Task { 22 // Push the specified task onto the queue. When the queue is run, the tasks 25 // This method takes ownership of |task| and will delete task after it is run 27 void Push(Task* task); [all...] |
message_loop_proxy_impl.h | 26 Task* task); 28 Task* task, int64 delay_ms); 30 Task* task); 33 Task* task, 48 Task* task, int64 delay_ms, bool nestable) [all...] |
task_queue.cc | 18 void TaskQueue::Push(Task* task) { 19 DCHECK(task); 21 // Add the task to the back of the queue. 22 queue_.push_back(task); 39 std::deque<Task*> ready; 43 std::deque<Task*>::const_iterator task; local 44 for (task = ready.begin(); task != ready.end(); ++task) [all...] |
message_loop_proxy.h | 12 #include "base/task.h" 27 // either post the Task to the MessageLoop (if it's still alive), or to 28 // delete the Task otherwise. 29 // They return true iff the thread existed and the task was posted. Note that 30 // even if the task is posted, there's no guarantee that it will run; for 32 // delayed task a Quit message may preempt it in the message loop queue. 33 // Conversely, a return value of false is a guarantee the task will not run. 35 Task* task) = 0; 37 Task* task, int64 delay_ms) = 0 [all...] |
/external/webkit/Source/WebCore/platform/graphics/chromium/cc/ |
CCMainThread.h | 32 // Task wrapper around WTF::callOnMainThreadThread 35 class Task { 36 WTF_MAKE_NONCOPYABLE(Task); 38 virtual ~Task() { } 42 Task(void* instance) : m_instance(instance) { } 46 static void postTask(PassOwnPtr<Task>); // Executes the task on main thread asynchronously.
|
CCThread.h | 46 class Task { 47 WTF_MAKE_NONCOPYABLE(Task); 49 virtual ~Task() { } 53 Task(void* instance) : m_instance(instance) { } 57 void postTask(PassOwnPtr<Task>); // Executes the task on context's thread asynchronously. 68 MessageQueue<Task> m_queue;
|
CCMainThread.cpp | 36 Task* task = static_cast<Task*>(userdata); local 37 task->performTask(); 38 delete task; 41 void CCMainThread::postTask(PassOwnPtr<Task> task) 43 callOnMainThread(performTask, task.leakPtr());
|
/external/chromium/chrome/browser/automation/ |
ui_controls_internal.h | 8 #include "base/task.h" 13 // A utility class to send a mouse click event in a task. 15 class ClickTask : public Task { 17 // A |followup| Task can be specified to notify the caller when the mouse 19 ClickTask(MouseButton button, int state, Task* followup); 26 Task* followup_;
|
ui_controls.h | 25 class Task; 29 // Many of the functions in this class include a variant that takes a Task. 30 // The version that takes a Task waits until the generated event is processed. 31 // Once the generated event is processed the Task is Run (and deleted). Note 33 // type (key down, mouse click, etc.) will trigger the Task to be run. Hence 37 // SendKeyPressNotifyWhenDone(..., task); 39 // might trigger |task| early. 60 Task* task); 64 bool SendMouseMoveNotifyWhenDone(long x, long y, Task* task) [all...] |
/external/chromium/base/threading/ |
worker_pool.h | 12 class Task; 26 // This function posts |task| to run on a worker thread. |task_is_slow| 28 // false if |task| could not be posted to a worker thread. Regardless of 29 // return value, ownership of |task| is transferred to the worker pool. 31 Task* task, bool task_is_slow);
|
worker_pool_win.cc | 8 #include "base/task.h" 15 Task* task = static_cast<Task*>(param); local 16 task->Run(); 17 delete task; 24 Task* task, bool task_is_slow) { 25 task->SetBirthPlace(from_here); 31 if (!QueueUserWorkItem(WorkItemCallback, task, flags)) [all...] |
worker_pool_posix.h | 13 // task queue, it does not own the worker threads. The worker threads ask the 38 class Task; 57 // Adds |task| to the thread pool. PosixDynamicThreadPool assumes ownership 58 // of |task|. 59 void PostTask(Task* task); 63 Task* WaitForTask(); 78 std::queue<Task*> tasks_;
|
/external/chromium/third_party/libjingle/source/talk/base/ |
taskrunner.h | 38 class Task; 58 void StartTask(Task *task); 62 void UpdateTaskTimeout(Task *task, int64 previous_task_timeout_time); 65 bool is_ok_to_delete(Task* task) { 66 return task == deleting_task_; 78 // Returns the next absolute time when a task times out 104 std::vector<Task *> tasks_ [all...] |
taskparent.h | 38 class Task; 43 TaskParent(Task *derived_instance, TaskParent *parent); 63 bool IsChildTask(Task *task); 67 void OnStopped(Task *task); 75 void OnChildStopped(Task *child); 76 void AddChild(Task *child); 81 typedef std::set<Task *> ChildSet;
|
task.cc | 28 #include "talk/base/task.h" 34 int32 Task::unique_id_seed_ = 0; 36 Task::Task(TaskParent *parent) 54 Task::~Task() { 55 // Is this task being deleted in the correct manner? 60 // If the task is being deleted without being done, it 62 // This happens if a task is deleted outside of TaskRunner. 68 int64 Task::CurrentTime() [all...] |
/external/webkit/Source/WebCore/workers/ |
WorkerRunLoop.h | 55 // Waits for a single task and returns. 61 void postTask(PassOwnPtr<ScriptExecutionContext::Task>); 62 void postTaskForMode(PassOwnPtr<ScriptExecutionContext::Task>, const String& mode); 68 class Task { 69 WTF_MAKE_NONCOPYABLE(Task); WTF_MAKE_FAST_ALLOCATED; 71 static PassOwnPtr<Task> create(PassOwnPtr<ScriptExecutionContext::Task> task, const String& mode); 72 ~Task() { } 77 Task(PassOwnPtr<ScriptExecutionContext::Task> task, const String& mode) [all...] |
WorkerLoaderProxy.h | 51 // Posts a task to the thread which runs the loading code (normally, the main thread). 52 virtual void postTaskToLoader(PassOwnPtr<ScriptExecutionContext::Task>) = 0; 56 virtual void postTaskForModeToWorkerContext(PassOwnPtr<ScriptExecutionContext::Task>, const String& mode) = 0;
|
/external/chromium/chrome/browser/chromeos/ |
user_cros_settings_provider.h | 17 class Task; 36 // In latter case passed task will be posted when ready. 37 bool RequestTrustedAllowGuest(Task* callback); 38 bool RequestTrustedAllowNewUser(Task* callback); 39 bool RequestTrustedDataRoamingEnabled(Task* callback); 40 bool RequestTrustedShowUsersOnSignin(Task* callback); 41 bool RequestTrustedOwner(Task* callback);
|
/external/webkit/Source/WebCore/fileapi/ |
FileThread.h | 57 class Task { 58 WTF_MAKE_NONCOPYABLE(Task); 60 virtual ~Task() { } 64 Task(void* instance) : m_instance(instance) { } 68 void postTask(PassOwnPtr<Task> task); 80 MessageQueue<Task> m_queue;
|
/cts/tests/tests/holo/src/android/holo/cts/ |
HoloTestUtilitiesActivity.java | 47 ArrayAdapter<Task> taskAdapter = new ArrayAdapter<Task>(this, 49 taskAdapter.add(new Task(R.string.task_view_display_info, TASK_VIEW_DISPLAY_INFO)); 50 taskAdapter.add(new Task(R.string.task_view_tests, TASK_VIEW_TESTS)); 51 taskAdapter.add(new Task(R.string.task_generate_one_bitmap, TASK_GENERATE_ONE_BITMAP)); 52 taskAdapter.add(new Task(R.string.task_generate_all_bitmaps, TASK_GENERATE_ALL_BITMAPS)); 53 taskAdapter.add(new Task(R.string.task_clear_reference_bitmaps, 55 taskAdapter.add(new Task(R.string.task_clear_failure_bitmaps, 57 taskAdapter.add(new Task(R.string.task_clear_diff_bitmaps, 62 class Task { 85 Task task = getListAdapter().getItem(position); local [all...] |
/external/chromium/chrome/browser/sync/notifier/ |
cache_invalidation_packet_handler.h | 26 class Task; 38 base::WeakPtr<talk_base::Task> base_task, 59 base::WeakPtr<talk_base::Task> base_task_;
|
/external/emma/ant/ant14/com/vladium/emma/ant/ |
StringValue.java | 11 import org.apache.tools.ant.Task; 47 protected StringValue (final Task task) 49 if (task == null) throw new IllegalArgumentException ("null input: task"); 51 m_task = task; 55 protected final Task m_task;
|
/external/chromium/chrome/browser/sync/glue/ |
do_optimistic_refresh_task.h | 13 // A task used by this class and the change processor to inform the
15 class DoOptimisticRefreshForAutofill : public Task {
|
/external/chromium/third_party/libjingle/source/talk/examples/call/ |
friendinvitesendtask.h | 38 FriendInviteSendTask(Task* parent) : XmppTask(parent) {}
|