| Index: cc/base/blocking_task_runner.h
|
| diff --git a/cc/trees/blocking_task_runner.h b/cc/base/blocking_task_runner.h
|
| similarity index 93%
|
| rename from cc/trees/blocking_task_runner.h
|
| rename to cc/base/blocking_task_runner.h
|
| index eb43b91441cc7320ea34e2f5f7cb26ab27b4708c..f74e21f5b73d4cccc601d3fa2eb04ac70dfd97d3 100644
|
| --- a/cc/trees/blocking_task_runner.h
|
| +++ b/cc/base/blocking_task_runner.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CC_TREES_BLOCKING_TASK_RUNNER_H_
|
| -#define CC_TREES_BLOCKING_TASK_RUNNER_H_
|
| +#ifndef CC_BASE_BLOCKING_TASK_RUNNER_H_
|
| +#define CC_BASE_BLOCKING_TASK_RUNNER_H_
|
|
|
| #include <vector>
|
|
|
| @@ -12,7 +12,6 @@
|
| #include "base/single_thread_task_runner.h"
|
| #include "base/synchronization/lock.h"
|
| #include "base/threading/platform_thread.h"
|
| -#include "cc/base/cc_export.h"
|
|
|
| namespace cc {
|
|
|
| @@ -41,7 +40,7 @@ namespace cc {
|
| //
|
| // Beware of re-entrancy, make sure the CapturePostTasks object is destroyed at
|
| // a time when it makes sense for the embedder to call arbitrary things.
|
| -class CC_EXPORT BlockingTaskRunner {
|
| +class BlockingTaskRunner {
|
| public:
|
| // Creates a BlockingTaskRunner for a given SingleThreadTaskRunner.
|
| // |task_runner| will be used to run the tasks which are posted while we are
|
| @@ -55,7 +54,7 @@ class CC_EXPORT BlockingTaskRunner {
|
| // While an object of this type is held alive on a thread, any tasks
|
| // posted to the thread will be captured and run as soon as the object
|
| // is destroyed, shortcutting past the task runner.
|
| - class CC_EXPORT CapturePostTasks {
|
| + class CapturePostTasks {
|
| public:
|
| explicit CapturePostTasks(BlockingTaskRunner* blocking_runner);
|
| ~CapturePostTasks();
|
| @@ -95,4 +94,4 @@ class CC_EXPORT BlockingTaskRunner {
|
|
|
| } // namespace cc
|
|
|
| -#endif // CC_TREES_BLOCKING_TASK_RUNNER_H_
|
| +#endif // CC_BASE_BLOCKING_TASK_RUNNER_H_
|
|
|