Index: third_party/WebKit/Source/platform/scheduler/renderer/idle_time_estimator.h |
diff --git a/components/scheduler/renderer/idle_time_estimator.h b/third_party/WebKit/Source/platform/scheduler/renderer/idle_time_estimator.h |
similarity index 78% |
rename from components/scheduler/renderer/idle_time_estimator.h |
rename to third_party/WebKit/Source/platform/scheduler/renderer/idle_time_estimator.h |
index 3664a384f67a3e95cbd36d96005619ec0c476647..4c13857dd764a6f65672d3ce5343cb846c94af58 100644 |
--- a/components/scheduler/renderer/idle_time_estimator.h |
+++ b/third_party/WebKit/Source/platform/scheduler/renderer/idle_time_estimator.h |
@@ -2,20 +2,21 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef COMPONENTS_SCHEDULER_RENDERER_IDLE_TIME_ESTIMATOR_H_ |
-#define COMPONENTS_SCHEDULER_RENDERER_IDLE_TIME_ESTIMATOR_H_ |
+#ifndef THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_IDLE_TIME_ESTIMATOR_H_ |
+#define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_IDLE_TIME_ESTIMATOR_H_ |
#include "base/macros.h" |
#include "base/message_loop/message_loop.h" |
#include "base/time/tick_clock.h" |
#include "cc/base/rolling_time_delta_history.h" |
-#include "components/scheduler/base/task_queue.h" |
-#include "components/scheduler/scheduler_export.h" |
+#include "public/platform/scheduler/base/task_queue.h" |
+#include "public/platform/WebCommon.h" |
+namespace blink { |
namespace scheduler { |
// Estimates how much idle time there is available. Ignores nested tasks. |
-class SCHEDULER_EXPORT IdleTimeEstimator |
+class BLINK_PLATFORM_EXPORT IdleTimeEstimator |
: public base::MessageLoop::TaskObserver { |
public: |
IdleTimeEstimator(const scoped_refptr<TaskQueue>& compositor_task_runner, |
@@ -54,5 +55,6 @@ class SCHEDULER_EXPORT IdleTimeEstimator |
}; |
} // namespace scheduler |
+} // namespace blink |
-#endif // COMPONENTS_SCHEDULER_RENDERER_IDLE_TIME_ESTIMATOR_H_ |
+#endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_IDLE_TIME_ESTIMATOR_H_ |