#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "base/single_thread_task_runner.h"
namespace base {
class NullTaskRunner : public base::SingleThreadTaskRunner {
public:
NullTaskRunner();
virtual bool PostDelayedTask(const tracked_objects::Location& from_here,
const base::Closure& task,
base::TimeDelta delay) OVERRIDE;
virtual bool PostNonNestableDelayedTask(
const tracked_objects::Location& from_here,
const base::Closure& task,
base::TimeDelta delay) OVERRIDE;
virtual bool RunsTasksOnCurrentThread() const OVERRIDE;
protected:
virtual ~NullTaskRunner();
DISALLOW_COPY_AND_ASSIGN(NullTaskRunner);
};
}