trackable_object has moved to base namespace

This commit is contained in:
Samuel Attard 2017-12-18 10:56:18 +11:00 committed by Aleksei Kuzmin
parent b608152c41
commit ed992ae6a1
2 changed files with 5 additions and 4 deletions

View file

@ -20,7 +20,7 @@ UvTaskRunner::~UvTaskRunner() {
}
}
bool UvTaskRunner::PostDelayedTask(const tracked_objects::Location& from_here,
bool UvTaskRunner::PostDelayedTask(const base::Location& from_here,
base::OnceClosure task,
base::TimeDelta delay) {
auto* timer = new uv_timer_t;
@ -36,7 +36,7 @@ bool UvTaskRunner::RunsTasksInCurrentSequence() const {
}
bool UvTaskRunner::PostNonNestableDelayedTask(
const tracked_objects::Location& from_here,
const base::Location& from_here,
base::OnceClosure task,
base::TimeDelta delay) {
return PostDelayedTask(from_here, std::move(task), delay);

View file

@ -8,6 +8,7 @@
#include <map>
#include "base/callback.h"
#include "base/location.h"
#include "base/single_thread_task_runner.h"
#include "vendor/node/deps/uv/include/uv.h"
@ -20,12 +21,12 @@ class UvTaskRunner : public base::SingleThreadTaskRunner {
~UvTaskRunner() override;
// base::SingleThreadTaskRunner:
bool PostDelayedTask(const tracked_objects::Location& from_here,
bool PostDelayedTask(const base::Location& from_here,
base::OnceClosure task,
base::TimeDelta delay) override;
bool RunsTasksInCurrentSequence() const override;
bool PostNonNestableDelayedTask(
const tracked_objects::Location& from_here,
const base::Location& from_here,
base::OnceClosure task,
base::TimeDelta delay) override;