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

Unified Diff: third_party/WebKit/Source/platform/scheduler/base/time_domain.h

Issue 2118903002: scheduler: Move the Blink scheduler into Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 4 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
Index: third_party/WebKit/Source/platform/scheduler/base/time_domain.h
diff --git a/components/scheduler/base/time_domain.h b/third_party/WebKit/Source/platform/scheduler/base/time_domain.h
similarity index 92%
rename from components/scheduler/base/time_domain.h
rename to third_party/WebKit/Source/platform/scheduler/base/time_domain.h
index 506f02dbcbbf08f54af8b7458e2d09f58b7df5a6..12ba4c96d1255ec5ec4bb26791afa2c5b50c83e0 100644
--- a/components/scheduler/base/time_domain.h
+++ b/third_party/WebKit/Source/platform/scheduler/base/time_domain.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 COMPONENTS_SCHEDULER_BASE_TIME_DOMAIN_H_
-#define COMPONENTS_SCHEDULER_BASE_TIME_DOMAIN_H_
+#ifndef THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_BASE_TIME_DOMAIN_H_
+#define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_BASE_TIME_DOMAIN_H_
#include <map>
@@ -13,10 +13,10 @@
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
#include "base/time/time.h"
-#include "components/scheduler/base/lazy_now.h"
-#include "components/scheduler/base/task_queue_impl.h"
-#include "components/scheduler/scheduler_export.h"
+#include "platform/scheduler/base/lazy_now.h"
+#include "platform/scheduler/base/task_queue_impl.h"
+namespace blink {
namespace scheduler {
namespace internal {
class TaskQueueImpl;
@@ -24,9 +24,9 @@ class TaskQueueImpl;
class TaskQueueManager;
class TaskQueueManagerDelegate;
-class SCHEDULER_EXPORT TimeDomain {
+class BLINK_PLATFORM_EXPORT TimeDomain {
public:
- class SCHEDULER_EXPORT Observer {
+ class BLINK_PLATFORM_EXPORT Observer {
public:
virtual ~Observer() {}
@@ -153,5 +153,6 @@ class SCHEDULER_EXPORT TimeDomain {
};
} // namespace scheduler
+} // namespace blink
-#endif // COMPONENTS_SCHEDULER_BASE_TIME_DOMAIN_H_
+#endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_BASE_TIME_DOMAIN_H_

Powered by Google App Engine
This is Rietveld 408576698