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

Unified Diff: third_party/WebKit/Source/platform/scheduler/renderer/auto_advancing_virtual_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/renderer/auto_advancing_virtual_time_domain.h
diff --git a/components/scheduler/renderer/auto_advancing_virtual_time_domain.h b/third_party/WebKit/Source/platform/scheduler/renderer/auto_advancing_virtual_time_domain.h
similarity index 73%
rename from components/scheduler/renderer/auto_advancing_virtual_time_domain.h
rename to third_party/WebKit/Source/platform/scheduler/renderer/auto_advancing_virtual_time_domain.h
index 82b58d6943821cb91eb586a5735c0ba23ae433f8..ffd880eee43ec50dc16bba952c6c016cd22af6f7 100644
--- a/components/scheduler/renderer/auto_advancing_virtual_time_domain.h
+++ b/third_party/WebKit/Source/platform/scheduler/renderer/auto_advancing_virtual_time_domain.h
@@ -2,12 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_SCHEDULER_RENDERER_AUTO_ADVANCING_VIRTUAL_TIME_DOMAIN_H_
-#define COMPONENTS_SCHEDULER_RENDERER_AUTO_ADVANCING_VIRTUAL_TIME_DOMAIN_H_
+#ifndef THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_AUTO_ADVANCING_VIRTUAL_TIME_DOMAIN_H_
+#define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_AUTO_ADVANCING_VIRTUAL_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 runs tasks sequentially in time order but doesn't sleep
@@ -19,7 +20,7 @@ namespace scheduler {
//
// |ABCDE (Execution with AutoAdvancingVirtualTimeDomain)
// |-----------------------------> time
-class SCHEDULER_EXPORT AutoAdvancingVirtualTimeDomain
+class BLINK_PLATFORM_EXPORT AutoAdvancingVirtualTimeDomain
: public VirtualTimeDomain {
public:
explicit AutoAdvancingVirtualTimeDomain(base::TimeTicks initial_time);
@@ -41,5 +42,6 @@ class SCHEDULER_EXPORT AutoAdvancingVirtualTimeDomain
};
} // namespace scheduler
+} // namespace blink
-#endif // COMPONENTS_SCHEDULER_RENDERER_AUTO_ADVANCING_VIRTUAL_TIME_DOMAIN_H_
+#endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_AUTO_ADVANCING_VIRTUAL_TIME_DOMAIN_H_

Powered by Google App Engine
This is Rietveld 408576698