| Index: components/scheduler/child/webthread_base.h
|
| diff --git a/content/child/webthread_base.h b/components/scheduler/child/webthread_base.h
|
| similarity index 85%
|
| rename from content/child/webthread_base.h
|
| rename to components/scheduler/child/webthread_base.h
|
| index 5d6ebb9b0f05ff1855116f80870e2d8fda1ad696..c7f8656249373df76fc54484bab661d9cef229d5 100644
|
| --- a/content/child/webthread_base.h
|
| +++ b/components/scheduler/child/webthread_base.h
|
| @@ -2,24 +2,24 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CONTENT_CHILD_WEBTHREAD_BASE_H_
|
| -#define CONTENT_CHILD_WEBTHREAD_BASE_H_
|
| +#ifndef COMPONENTS_SCHEDULER_CHILD_WEBTHREAD_BASE_H_
|
| +#define COMPONENTS_SCHEDULER_CHILD_WEBTHREAD_BASE_H_
|
|
|
| #include <map>
|
|
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/threading/thread.h"
|
| -#include "content/common/content_export.h"
|
| +#include "components/scheduler/scheduler_export.h"
|
| #include "third_party/WebKit/public/platform/WebThread.h"
|
|
|
| namespace blink {
|
| class WebTraceLocation;
|
| }
|
|
|
| -namespace content {
|
| +namespace scheduler {
|
| class SingleThreadIdleTaskRunner;
|
|
|
| -class CONTENT_EXPORT WebThreadBase : public blink::WebThread {
|
| +class SCHEDULER_EXPORT WebThreadBase : public blink::WebThread {
|
| public:
|
| virtual ~WebThreadBase();
|
|
|
| @@ -48,7 +48,7 @@ class CONTENT_EXPORT WebThreadBase : public blink::WebThread {
|
|
|
| // Returns the base::Bind-compatible task runner for posting idle tasks to
|
| // this thread. Can be called from any thread.
|
| - virtual SingleThreadIdleTaskRunner* IdleTaskRunner() const = 0;
|
| + virtual scheduler::SingleThreadIdleTaskRunner* IdleTaskRunner() const = 0;
|
|
|
| protected:
|
| class TaskObserverAdapter;
|
| @@ -75,6 +75,6 @@ class CONTENT_EXPORT WebThreadBase : public blink::WebThread {
|
| TaskObserverMap task_observer_map_;
|
| };
|
|
|
| -} // namespace content
|
| +} // namespace scheduler
|
|
|
| -#endif // CONTENT_CHILD_WEBTHREAD_BASE_H_
|
| +#endif // COMPONENTS_SCHEDULER_CHILD_WEBTHREAD_BASE_H_
|
|
|