| Index: base/thread_task_runner_handle.h
|
| diff --git a/base/thread_task_runner_handle.h b/base/thread_task_runner_handle.h
|
| index d00f61a81e7df9715ffad69f9e1a242803d96d55..28992bbad7789f831ecb51249e018cf76181af11 100644
|
| --- a/base/thread_task_runner_handle.h
|
| +++ b/base/thread_task_runner_handle.h
|
| @@ -5,40 +5,7 @@
|
| #ifndef BASE_THREAD_TASK_RUNNER_HANDLE_H_
|
| #define BASE_THREAD_TASK_RUNNER_HANDLE_H_
|
|
|
| -#include "base/base_export.h"
|
| -#include "base/macros.h"
|
| -#include "base/memory/ref_counted.h"
|
| -
|
| -namespace base {
|
| -
|
| -class SingleThreadTaskRunner;
|
| -
|
| -// ThreadTaskRunnerHandle stores a reference to a thread's TaskRunner
|
| -// in thread-local storage. Callers can then retrieve the TaskRunner
|
| -// for the current thread by calling ThreadTaskRunnerHandle::Get().
|
| -// At most one TaskRunner may be bound to each thread at a time.
|
| -// Prefer SequenceTaskRunnerHandle to this unless thread affinity is required.
|
| -class BASE_EXPORT ThreadTaskRunnerHandle {
|
| - public:
|
| - // Gets the SingleThreadTaskRunner for the current thread.
|
| - static scoped_refptr<SingleThreadTaskRunner> Get();
|
| -
|
| - // Returns true if the SingleThreadTaskRunner is already created for
|
| - // the current thread.
|
| - static bool IsSet();
|
| -
|
| - // Binds |task_runner| to the current thread. |task_runner| must belong
|
| - // to the current thread for this to succeed.
|
| - explicit ThreadTaskRunnerHandle(
|
| - scoped_refptr<SingleThreadTaskRunner> task_runner);
|
| - ~ThreadTaskRunnerHandle();
|
| -
|
| - private:
|
| - scoped_refptr<SingleThreadTaskRunner> task_runner_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(ThreadTaskRunnerHandle);
|
| -};
|
| -
|
| -} // namespace base
|
| +// This header has moved, include the new one directly instead of this one.
|
| +#include "base/threading/thread_task_runner_handle.h"
|
|
|
| #endif // BASE_THREAD_TASK_RUNNER_HANDLE_H_
|
|
|