Index: third_party/WebKit/Source/platform/scheduler/base/lazy_now.h |
diff --git a/components/scheduler/base/lazy_now.h b/third_party/WebKit/Source/platform/scheduler/base/lazy_now.h |
similarity index 67% |
rename from components/scheduler/base/lazy_now.h |
rename to third_party/WebKit/Source/platform/scheduler/base/lazy_now.h |
index 959a2450947f0699ed09c5d04d9ac901a414c1bc..1b63f0faf4fede38997b3a039753aa81497ed6a8 100644 |
--- a/components/scheduler/base/lazy_now.h |
+++ b/third_party/WebKit/Source/platform/scheduler/base/lazy_now.h |
@@ -2,21 +2,22 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef COMPONENTS_SCHEDULER_BASE_LAZY_NOW_H_ |
-#define COMPONENTS_SCHEDULER_BASE_LAZY_NOW_H_ |
+#ifndef THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_BASE_LAZY_NOW_H_ |
+#define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_BASE_LAZY_NOW_H_ |
#include "base/time/time.h" |
-#include "components/scheduler/scheduler_export.h" |
+#include "public/platform/WebCommon.h" |
namespace base { |
class TickClock; |
} |
+namespace blink { |
namespace scheduler { |
// Now() is somewhat expensive so it makes sense not to call Now() unless we |
// really need to. |
-class SCHEDULER_EXPORT LazyNow { |
+class BLINK_PLATFORM_EXPORT LazyNow { |
public: |
explicit LazyNow(base::TimeTicks now) : tick_clock_(nullptr), now_(now) { |
DCHECK(!now.is_null()); |
@@ -32,5 +33,6 @@ class SCHEDULER_EXPORT LazyNow { |
}; |
} // namespace scheduler |
+} // namespace blink |
-#endif // COMPONENTS_SCHEDULER_BASE_LAZY_NOW_H_ |
+#endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_BASE_LAZY_NOW_H_ |