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

Unified Diff: content/child/worker_task_runner.h

Issue 165373004: Move WorkerTaskRunner to content/child. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | « content/child/webkitplatformsupport_child_impl.cc ('k') | content/child/worker_task_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/worker_task_runner.h
diff --git a/webkit/child/worker_task_runner.h b/content/child/worker_task_runner.h
similarity index 82%
rename from webkit/child/worker_task_runner.h
rename to content/child/worker_task_runner.h
index bc7bc64cb37494b98199521dca9cc5cdf850d28b..940e7bfb5ba2967ab76ef075491ceb850851fdee 100644
--- a/webkit/child/worker_task_runner.h
+++ b/content/child/worker_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 WEBKIT_CHILD_WORKER_TASK_RUNNER_H_
-#define WEBKIT_CHILD_WORKER_TASK_RUNNER_H_
+#ifndef CONTENT_CHILD_WORKER_TASK_RUNNER_H_
+#define CONTENT_CHILD_WORKER_TASK_RUNNER_H_
#include <map>
@@ -11,12 +11,12 @@
#include "base/callback_forward.h"
#include "base/synchronization/lock.h"
#include "base/threading/thread_local.h"
+#include "content/common/content_export.h"
#include "third_party/WebKit/public/platform/WebWorkerRunLoop.h"
-#include "webkit/child/webkit_child_export.h"
-namespace webkit_glue {
+namespace content {
-class WEBKIT_CHILD_EXPORT WorkerTaskRunner {
+class CONTENT_EXPORT WorkerTaskRunner {
public:
WorkerTaskRunner();
@@ -25,7 +25,7 @@ class WEBKIT_CHILD_EXPORT WorkerTaskRunner {
int CurrentWorkerId();
static WorkerTaskRunner* Instance();
- class WEBKIT_CHILD_EXPORT Observer {
+ class CONTENT_EXPORT Observer {
public:
virtual ~Observer() {}
virtual void OnWorkerRunLoopStopped() = 0;
@@ -54,6 +54,6 @@ class WEBKIT_CHILD_EXPORT WorkerTaskRunner {
base::Lock loop_map_lock_;
};
-} // namespace webkit_glue
+} // namespace content
-#endif // WEBKIT_CHILD_WORKER_TASK_RUNNER_H_
+#endif // CONTENT_CHILD_WORKER_TASK_RUNNER_H_
« no previous file with comments | « content/child/webkitplatformsupport_child_impl.cc ('k') | content/child/worker_task_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698