Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2589)

Unified Diff: cc/base/blocking_task_runner.h

Issue 1057283003: Remove parts of //cc we aren't using (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/base/DEPS ('k') | cc/base/blocking_task_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « cc/base/DEPS ('k') | cc/base/blocking_task_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698