TaskTracker 11 base/test/task_runner_test_template.cc TaskTracker::TaskTracker() : task_runs_(0), task_runs_cv_(&lock_) {} TaskTracker 13 base/test/task_runner_test_template.cc TaskTracker::~TaskTracker() {} TaskTracker 15 base/test/task_runner_test_template.cc Closure TaskTracker::WrapTask(const Closure& task, int i) { TaskTracker 16 base/test/task_runner_test_template.cc return Bind(&TaskTracker::RunTask, this, task, i); TaskTracker 19 base/test/task_runner_test_template.cc void TaskTracker::RunTask(const Closure& task, int i) { TaskTracker 29 base/test/task_runner_test_template.cc std::map<int, int> TaskTracker::GetTaskRunCounts() const { TaskTracker 34 base/test/task_runner_test_template.cc void TaskTracker::WaitForCompletedTasks(int count) { TaskTracker 70 base/test/task_runner_test_template.h class TaskTracker : public RefCountedThreadSafe<TaskTracker> { TaskTracker 72 base/test/task_runner_test_template.h TaskTracker(); TaskTracker 85 base/test/task_runner_test_template.h friend class RefCountedThreadSafe<TaskTracker>; TaskTracker 87 base/test/task_runner_test_template.h ~TaskTracker(); TaskTracker 96 base/test/task_runner_test_template.h DISALLOW_COPY_AND_ASSIGN(TaskTracker); TaskTracker 104 base/test/task_runner_test_template.h TaskRunnerTest() : task_tracker_(new internal::TaskTracker()) {} TaskTracker 106 base/test/task_runner_test_template.h const scoped_refptr<internal::TaskTracker> task_tracker_; TaskTracker 55 components/dom_distiller/core/dom_distiller_service.cc TaskTracker* task_tracker; TaskTracker 95 components/dom_distiller/core/dom_distiller_service.cc TaskTracker* task_tracker = GetTaskTrackerForEntry(*entry); TaskTracker 118 components/dom_distiller/core/dom_distiller_service.cc TaskTracker* task_tracker = GetOrCreateTaskTrackerForEntry(entry); TaskTracker 132 components/dom_distiller/core/dom_distiller_service.cc TaskTracker* task_tracker = GetOrCreateTaskTrackerForUrl(url); TaskTracker 139 components/dom_distiller/core/dom_distiller_service.cc TaskTracker* DomDistillerService::GetOrCreateTaskTrackerForUrl( TaskTracker 153 components/dom_distiller/core/dom_distiller_service.cc TaskTracker* task_tracker = CreateTaskTracker(skeleton_entry); TaskTracker 157 components/dom_distiller/core/dom_distiller_service.cc TaskTracker* DomDistillerService::GetTaskTrackerForEntry( TaskTracker 168 components/dom_distiller/core/dom_distiller_service.cc TaskTracker* DomDistillerService::GetOrCreateTaskTrackerForEntry( TaskTracker 170 components/dom_distiller/core/dom_distiller_service.cc TaskTracker* task_tracker = GetTaskTrackerForEntry(entry); TaskTracker 177 components/dom_distiller/core/dom_distiller_service.cc TaskTracker* DomDistillerService::CreateTaskTracker(const ArticleEntry& entry) { TaskTracker 178 components/dom_distiller/core/dom_distiller_service.cc TaskTracker::CancelCallback cancel_callback = TaskTracker 180 components/dom_distiller/core/dom_distiller_service.cc TaskTracker* tracker = new TaskTracker(entry, cancel_callback); TaskTracker 185 components/dom_distiller/core/dom_distiller_service.cc void DomDistillerService::CancelTask(TaskTracker* task) { TaskTracker 29 components/dom_distiller/core/dom_distiller_service.h class TaskTracker; TaskTracker 102 components/dom_distiller/core/dom_distiller_service.h void CancelTask(TaskTracker* task); TaskTracker 107 components/dom_distiller/core/dom_distiller_service.h TaskTracker* CreateTaskTracker(const ArticleEntry& entry); TaskTracker 109 components/dom_distiller/core/dom_distiller_service.h TaskTracker* GetTaskTrackerForEntry(const ArticleEntry& entry) const; TaskTracker 114 components/dom_distiller/core/dom_distiller_service.h TaskTracker* GetOrCreateTaskTrackerForUrl(const GURL& url); TaskTracker 115 components/dom_distiller/core/dom_distiller_service.h TaskTracker* GetOrCreateTaskTrackerForEntry(const ArticleEntry& entry); TaskTracker 120 components/dom_distiller/core/dom_distiller_service.h typedef ScopedVector<TaskTracker> TaskList; TaskTracker 23 components/dom_distiller/core/task_tracker.cc TaskTracker::TaskTracker(const ArticleEntry& entry, CancelCallback callback) TaskTracker 31 components/dom_distiller/core/task_tracker.cc TaskTracker::~TaskTracker() { TaskTracker 36 components/dom_distiller/core/task_tracker.cc void TaskTracker::StartDistiller(DistillerFactory* factory) { TaskTracker 49 components/dom_distiller/core/task_tracker.cc base::Bind(&TaskTracker::OnDistillerFinished, TaskTracker 51 components/dom_distiller/core/task_tracker.cc base::Bind(&TaskTracker::OnArticleDistillationUpdated, TaskTracker 55 components/dom_distiller/core/task_tracker.cc void TaskTracker::StartBlobFetcher() { TaskTracker 61 components/dom_distiller/core/task_tracker.cc void TaskTracker::AddSaveCallback(const SaveCallback& callback) { TaskTracker 71 components/dom_distiller/core/task_tracker.cc scoped_ptr<ViewerHandle> TaskTracker::AddViewer(ViewRequestDelegate* delegate) { TaskTracker 78 components/dom_distiller/core/task_tracker.cc base::Bind(&TaskTracker::NotifyViewer, TaskTracker 83 components/dom_distiller/core/task_tracker.cc &TaskTracker::RemoveViewer, weak_ptr_factory_.GetWeakPtr(), delegate))); TaskTracker 86 components/dom_distiller/core/task_tracker.cc const std::string& TaskTracker::GetEntryId() const { return entry_.entry_id(); } TaskTracker 88 components/dom_distiller/core/task_tracker.cc bool TaskTracker::HasEntryId(const std::string& entry_id) const { TaskTracker 92 components/dom_distiller/core/task_tracker.cc bool TaskTracker::HasUrl(const GURL& url) const { TaskTracker 101 components/dom_distiller/core/task_tracker.cc void TaskTracker::RemoveViewer(ViewRequestDelegate* delegate) { TaskTracker 108 components/dom_distiller/core/task_tracker.cc void TaskTracker::MaybeCancel() { TaskTracker 119 components/dom_distiller/core/task_tracker.cc void TaskTracker::CancelSaveCallbacks() { ScheduleSaveCallbacks(false); } TaskTracker 121 components/dom_distiller/core/task_tracker.cc void TaskTracker::ScheduleSaveCallbacks(bool distillation_succeeded) { TaskTracker 124 components/dom_distiller/core/task_tracker.cc base::Bind(&TaskTracker::DoSaveCallbacks, TaskTracker 129 components/dom_distiller/core/task_tracker.cc void TaskTracker::DoSaveCallbacks(bool distillation_succeeded) { TaskTracker 142 components/dom_distiller/core/task_tracker.cc void TaskTracker::NotifyViewer(ViewRequestDelegate* delegate) { TaskTracker 147 components/dom_distiller/core/task_tracker.cc void TaskTracker::OnDistillerFinished( TaskTracker 152 components/dom_distiller/core/task_tracker.cc void TaskTracker::OnDistilledArticleReady( TaskTracker 177 components/dom_distiller/core/task_tracker.cc void TaskTracker::OnArticleDistillationUpdated( TaskTracker 71 components/dom_distiller/core/task_tracker.h class TaskTracker { TaskTracker 73 components/dom_distiller/core/task_tracker.h typedef base::Callback<void(TaskTracker*)> CancelCallback; TaskTracker 78 components/dom_distiller/core/task_tracker.h TaskTracker(const ArticleEntry& entry, CancelCallback callback); TaskTracker 79 components/dom_distiller/core/task_tracker.h ~TaskTracker(); TaskTracker 133 components/dom_distiller/core/task_tracker.h base::WeakPtrFactory<TaskTracker> weak_ptr_factory_; TaskTracker 135 components/dom_distiller/core/task_tracker.h DISALLOW_COPY_AND_ASSIGN(TaskTracker); TaskTracker 31 components/dom_distiller/core/task_tracker_unittest.cc TaskTracker::CancelCallback GetCallback() { TaskTracker 34 components/dom_distiller/core/task_tracker_unittest.cc void Cancel(TaskTracker*) { cancelled_ = true; } TaskTracker 76 components/dom_distiller/core/task_tracker_unittest.cc TaskTracker task_tracker(GetDefaultEntry(), cancel_callback.GetCallback()); TaskTracker 84 components/dom_distiller/core/task_tracker_unittest.cc TaskTracker task_tracker(GetDefaultEntry(), cancel_callback.GetCallback()); TaskTracker 93 components/dom_distiller/core/task_tracker_unittest.cc TaskTracker task_tracker(GetDefaultEntry(), cancel_callback.GetCallback()); TaskTracker 110 components/dom_distiller/core/task_tracker_unittest.cc TaskTracker task_tracker(GetDefaultEntry(), cancel_callback.GetCallback()); TaskTracker 131 components/dom_distiller/core/task_tracker_unittest.cc TaskTracker task_tracker(GetDefaultEntry(), cancel_callback.GetCallback()); TaskTracker 152 components/dom_distiller/core/task_tracker_unittest.cc TaskTracker task_tracker(GetDefaultEntry(), cancel_callback.GetCallback());