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 65% |
rename from components/scheduler/renderer/throttled_time_domain.h |
rename to third_party/WebKit/Source/platform/scheduler/renderer/throttled_time_domain.h |
index e334c909450ca54ae560bd7248aaef9a04d5cb2e..aa04ee9f4b5eebc9cea734e4c36fd95788b6e155 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/real_time_domain.h" |
+#include "platform/scheduler/base/real_time_domain.h" |
+namespace blink { |
namespace scheduler { |
// A time domain for throttled tasks. behaves like an RealTimeDomain except it |
// relies on the owner (ThrottlingHelper) to schedule wakeups. |
-class SCHEDULER_EXPORT ThrottledTimeDomain : public RealTimeDomain { |
+class BLINK_PLATFORM_EXPORT ThrottledTimeDomain : public RealTimeDomain { |
public: |
ThrottledTimeDomain(TimeDomain::Observer* observer, |
const char* tracing_category); |
@@ -30,5 +31,6 @@ class SCHEDULER_EXPORT ThrottledTimeDomain : public RealTimeDomain { |
}; |
} // namespace scheduler |
+} // namespace blink |
-#endif // COMPONENTS_SCHEDULER_RENDERER_THROTTLED_TIME_DOMAIN_H_ |
+#endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_THROTTLED_TIME_DOMAIN_H_ |