Lines Matching refs:CookieMonsterTask
347 class CookieMonster::CookieMonsterTask
348 : public base::RefCountedThreadSafe<CookieMonsterTask> {
355 explicit CookieMonsterTask(CookieMonster* cookie_monster);
356 virtual ~CookieMonsterTask();
360 // appropriate thread. Maintains a reference to this CookieMonsterTask
369 friend class base::RefCountedThreadSafe<CookieMonsterTask>;
374 DISALLOW_COPY_AND_ASSIGN(CookieMonsterTask);
377 CookieMonster::CookieMonsterTask::CookieMonsterTask(
383 CookieMonster::CookieMonsterTask::~CookieMonsterTask() {}
389 // CookieMonsterTask subclass. Then, we cannot simply post the callback to a
391 // CookieMonsterTask instance) in the interim. Therefore, we post a callback
392 // bound to the CookieMonsterTask, which *is* reference counted (thus preventing
395 void CookieMonster::CookieMonsterTask::InvokeCallback(base::Closure callback) {
400 &CookieMonsterTask::InvokeCallback, this, callback));
405 class CookieMonster::SetCookieWithDetailsTask : public CookieMonsterTask {
418 : CookieMonsterTask(cookie_monster),
431 // CookieMonsterTask:
463 class CookieMonster::GetAllCookiesTask : public CookieMonsterTask {
467 : CookieMonsterTask(cookie_monster),
471 // CookieMonsterTask
493 : public CookieMonsterTask {
500 : CookieMonsterTask(cookie_monster),
506 // CookieMonsterTask:
539 class CookieMonster::DeleteTask : public CookieMonsterTask {
543 : CookieMonsterTask(cookie_monster),
547 // CookieMonsterTask:
731 class CookieMonster::SetCookieWithOptionsTask : public CookieMonsterTask {
738 : CookieMonsterTask(cookie_monster),
745 // CookieMonsterTask:
770 class CookieMonster::GetCookiesWithOptionsTask : public CookieMonsterTask {
776 : CookieMonsterTask(cookie_monster),
782 // CookieMonsterTask:
858 class CookieMonster::HasCookiesForETLDP1Task : public CookieMonsterTask {
864 : CookieMonsterTask(cookie_monster),
869 // CookieMonsterTask:
1034 const scoped_refptr<CookieMonsterTask>& task_item) {
1048 const scoped_refptr<CookieMonsterTask>& task_item,
1060 std::map<std::string, std::deque<scoped_refptr<CookieMonsterTask> > >
1066 std::deque<scoped_refptr<CookieMonsterTask> >())).first;
1457 std::deque<scoped_refptr<CookieMonsterTask> > tasks_pending_for_key;
1464 std::map<std::string, std::deque<scoped_refptr<CookieMonsterTask> > >
1479 scoped_refptr<CookieMonsterTask> task = tasks_pending_for_key.front();
1546 scoped_refptr<CookieMonsterTask> request_task;