| Index: content/child/scheduler/scheduler_message_loop_delegate.h
|
| diff --git a/content/renderer/scheduler/renderer_scheduler_message_loop_delegate.h b/content/child/scheduler/scheduler_message_loop_delegate.h
|
| similarity index 62%
|
| rename from content/renderer/scheduler/renderer_scheduler_message_loop_delegate.h
|
| rename to content/child/scheduler/scheduler_message_loop_delegate.h
|
| index 7b30f092f978803deced0e59e0dc0a71bfbf851f..05e405b2a889358908c8ee731507a392421d0a76 100644
|
| --- a/content/renderer/scheduler/renderer_scheduler_message_loop_delegate.h
|
| +++ b/content/child/scheduler/scheduler_message_loop_delegate.h
|
| @@ -2,20 +2,20 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CONTENT_RENDERER_SCHEDULER_RENDERER_SCHEDULER_MESSAGE_LOOP_DELEGATE_H_
|
| -#define CONTENT_RENDERER_SCHEDULER_RENDERER_SCHEDULER_MESSAGE_LOOP_DELEGATE_H_
|
| +#ifndef CONTENT_CHILD_SCHEDULER_SCHEDULER_MESSAGE_LOOP_DELEGATE_H_
|
| +#define CONTENT_CHILD_SCHEDULER_SCHEDULER_MESSAGE_LOOP_DELEGATE_H_
|
|
|
| #include "base/message_loop/message_loop.h"
|
| +#include "content/child/scheduler/nestable_single_thread_task_runner.h"
|
| #include "content/common/content_export.h"
|
| -#include "content/renderer/scheduler/nestable_single_thread_task_runner.h"
|
|
|
| namespace content {
|
|
|
| -class CONTENT_EXPORT RendererSchedulerMessageLoopDelegate
|
| +class CONTENT_EXPORT SchedulerMessageLoopDelegate
|
| : public NestableSingleThreadTaskRunner {
|
| public:
|
| // |message_loop| is not owned and must outlive the lifetime of this object.
|
| - static scoped_refptr<RendererSchedulerMessageLoopDelegate> Create(
|
| + static scoped_refptr<SchedulerMessageLoopDelegate> Create(
|
| base::MessageLoop* message_loop);
|
|
|
| // NestableSingleThreadTaskRunner implementation
|
| @@ -29,17 +29,17 @@ class CONTENT_EXPORT RendererSchedulerMessageLoopDelegate
|
| bool IsNested() const override;
|
|
|
| protected:
|
| - ~RendererSchedulerMessageLoopDelegate() override;
|
| + ~SchedulerMessageLoopDelegate() override;
|
|
|
| private:
|
| - RendererSchedulerMessageLoopDelegate(base::MessageLoop* message_loop);
|
| + SchedulerMessageLoopDelegate(base::MessageLoop* message_loop);
|
|
|
| // Not owned.
|
| base::MessageLoop* message_loop_;
|
|
|
| - DISALLOW_COPY_AND_ASSIGN(RendererSchedulerMessageLoopDelegate);
|
| + DISALLOW_COPY_AND_ASSIGN(SchedulerMessageLoopDelegate);
|
| };
|
|
|
| } // namespace content
|
|
|
| -#endif // CONTENT_RENDERER_SCHEDULER_RENDERER_SCHEDULER_MESSAGE_LOOP_DELEGATE_H_
|
| +#endif // CONTENT_CHILD_SCHEDULER_SCHEDULER_MESSAGE_LOOP_DELEGATE_H_
|
|
|