trackable_object has moved to base namespace
This commit is contained in:
parent
b608152c41
commit
ed992ae6a1
2 changed files with 5 additions and 4 deletions
|
@ -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::OnceClosure task,
|
||||||
base::TimeDelta delay) {
|
base::TimeDelta delay) {
|
||||||
auto* timer = new uv_timer_t;
|
auto* timer = new uv_timer_t;
|
||||||
|
@ -36,7 +36,7 @@ bool UvTaskRunner::RunsTasksInCurrentSequence() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool UvTaskRunner::PostNonNestableDelayedTask(
|
bool UvTaskRunner::PostNonNestableDelayedTask(
|
||||||
const tracked_objects::Location& from_here,
|
const base::Location& from_here,
|
||||||
base::OnceClosure task,
|
base::OnceClosure task,
|
||||||
base::TimeDelta delay) {
|
base::TimeDelta delay) {
|
||||||
return PostDelayedTask(from_here, std::move(task), delay);
|
return PostDelayedTask(from_here, std::move(task), delay);
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|
||||||
#include "base/callback.h"
|
#include "base/callback.h"
|
||||||
|
#include "base/location.h"
|
||||||
#include "base/single_thread_task_runner.h"
|
#include "base/single_thread_task_runner.h"
|
||||||
#include "vendor/node/deps/uv/include/uv.h"
|
#include "vendor/node/deps/uv/include/uv.h"
|
||||||
|
|
||||||
|
@ -20,12 +21,12 @@ class UvTaskRunner : public base::SingleThreadTaskRunner {
|
||||||
~UvTaskRunner() override;
|
~UvTaskRunner() override;
|
||||||
|
|
||||||
// base::SingleThreadTaskRunner:
|
// base::SingleThreadTaskRunner:
|
||||||
bool PostDelayedTask(const tracked_objects::Location& from_here,
|
bool PostDelayedTask(const base::Location& from_here,
|
||||||
base::OnceClosure task,
|
base::OnceClosure task,
|
||||||
base::TimeDelta delay) override;
|
base::TimeDelta delay) override;
|
||||||
bool RunsTasksInCurrentSequence() const override;
|
bool RunsTasksInCurrentSequence() const override;
|
||||||
bool PostNonNestableDelayedTask(
|
bool PostNonNestableDelayedTask(
|
||||||
const tracked_objects::Location& from_here,
|
const base::Location& from_here,
|
||||||
base::OnceClosure task,
|
base::OnceClosure task,
|
||||||
base::TimeDelta delay) override;
|
base::TimeDelta delay) override;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue