tracked_objects::Location --> base::Location
This commit is contained in:
parent
1158d35021
commit
6402b23041
6 changed files with 12 additions and 13 deletions
|
@ -424,7 +424,7 @@ bool PrintJobWorker::IsRunning() const {
|
|||
return thread_.IsRunning();
|
||||
}
|
||||
|
||||
bool PrintJobWorker::PostTask(const tracked_objects::Location& from_here,
|
||||
bool PrintJobWorker::PostTask(const base::Location& from_here,
|
||||
const base::Closure& task) {
|
||||
if (task_runner_.get())
|
||||
return task_runner_->PostTask(from_here, task);
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
#include <memory>
|
||||
|
||||
#include "base/location.h"
|
||||
#include "base/macros.h"
|
||||
#include "base/memory/ref_counted.h"
|
||||
#include "base/memory/weak_ptr.h"
|
||||
|
@ -76,7 +77,7 @@ class PrintJobWorker {
|
|||
bool IsRunning() const;
|
||||
|
||||
// Posts the given task to be run.
|
||||
bool PostTask(const tracked_objects::Location& from_here,
|
||||
bool PostTask(const base::Location& from_here,
|
||||
const base::Closure& task);
|
||||
|
||||
// Signals the thread to exit in the near future.
|
||||
|
|
|
@ -20,7 +20,7 @@ bool PrintJobWorkerOwner::RunsTasksInCurrentSequence() const {
|
|||
return task_runner_->RunsTasksInCurrentSequence();
|
||||
}
|
||||
|
||||
bool PrintJobWorkerOwner::PostTask(const tracked_objects::Location& from_here,
|
||||
bool PrintJobWorkerOwner::PostTask(const base::Location& from_here,
|
||||
const base::Closure& task) {
|
||||
return task_runner_->PostTask(from_here, task);
|
||||
}
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
#include <memory>
|
||||
|
||||
#include "base/location.h"
|
||||
#include "base/memory/ref_counted.h"
|
||||
#include "printing/printing_context.h"
|
||||
|
||||
|
@ -15,10 +16,6 @@ class MessageLoop;
|
|||
class SequencedTaskRunner;
|
||||
}
|
||||
|
||||
namespace tracked_objects {
|
||||
class Location;
|
||||
}
|
||||
|
||||
namespace printing {
|
||||
|
||||
class PrintJobWorker;
|
||||
|
@ -51,7 +48,7 @@ class PrintJobWorkerOwner
|
|||
bool RunsTasksInCurrentSequence() const;
|
||||
|
||||
// Posts the given task to be run.
|
||||
bool PostTask(const tracked_objects::Location& from_here,
|
||||
bool PostTask(const base::Location& from_here,
|
||||
const base::Closure& task);
|
||||
|
||||
protected:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue