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

Unified Diff: third_party/WebKit/Source/platform/scheduler/renderer/throttled_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: Another GYP fix Created 4 years, 5 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/renderer/throttled_time_domain.h
diff --git a/components/scheduler/renderer/throttled_time_domain.h b/third_party/WebKit/Source/platform/scheduler/renderer/throttled_time_domain.h
similarity index 66%
rename from components/scheduler/renderer/throttled_time_domain.h
rename to third_party/WebKit/Source/platform/scheduler/renderer/throttled_time_domain.h
index f274e8c081ec5e9deda710b5a06e77bd8b23d45c..555a5830335f9f0af824782d9b6865e7019e0d33 100644
--- a/components/scheduler/renderer/throttled_time_domain.h
+++ b/third_party/WebKit/Source/platform/scheduler/renderer/throttled_time_domain.h
@@ -2,17 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_SCHEDULER_RENDERER_THROTTLED_TIME_DOMAIN_H_
-#define COMPONENTS_SCHEDULER_RENDERER_THROTTLED_TIME_DOMAIN_H_
+#ifndef THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_THROTTLED_TIME_DOMAIN_H_
+#define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_THROTTLED_TIME_DOMAIN_H_
#include "base/macros.h"
-#include "components/scheduler/base/virtual_time_domain.h"
+#include "platform/scheduler/base/virtual_time_domain.h"
+namespace blink {
namespace scheduler {
// A time domain that's mostly a VirtualTimeDomain except that real time is used
// when computing the delayed runtime.
-class SCHEDULER_EXPORT ThrottledTimeDomain : public VirtualTimeDomain {
+class BLINK_PLATFORM_EXPORT ThrottledTimeDomain : public VirtualTimeDomain {
public:
ThrottledTimeDomain(TimeDomain::Observer* observer,
base::TickClock* tick_clock);
@@ -30,5 +31,6 @@ class SCHEDULER_EXPORT ThrottledTimeDomain : public VirtualTimeDomain {
};
} // namespace scheduler
+} // namespace blink
-#endif // COMPONENTS_SCHEDULER_RENDERER_THROTTLED_TIME_DOMAIN_H_
+#endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_THROTTLED_TIME_DOMAIN_H_

Powered by Google App Engine
This is Rietveld 408576698