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

Unified Diff: third_party/WebKit/Source/platform/scheduler/base/real_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/base/real_time_domain.h
diff --git a/components/scheduler/base/real_time_domain.h b/third_party/WebKit/Source/platform/scheduler/base/real_time_domain.h
similarity index 71%
rename from components/scheduler/base/real_time_domain.h
rename to third_party/WebKit/Source/platform/scheduler/base/real_time_domain.h
index fa20ba7a07745f84bfec8a93f6360eb50db2e989..94d8a59796c134501ae05ba800e6ba7e56530995 100644
--- a/components/scheduler/base/real_time_domain.h
+++ b/third_party/WebKit/Source/platform/scheduler/base/real_time_domain.h
@@ -2,18 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_SCHEDULER_BASE_REAL_TIME_DOMAIN_H_
-#define COMPONENTS_SCHEDULER_BASE_REAL_TIME_DOMAIN_H_
+#ifndef THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_BASE_REAL_TIME_DOMAIN_H_
+#define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_BASE_REAL_TIME_DOMAIN_H_
#include <set>
#include "base/macros.h"
-#include "components/scheduler/base/time_domain.h"
-#include "components/scheduler/scheduler_export.h"
+#include "platform/scheduler/base/time_domain.h"
+#include "public/platform/WebCommon.h"
+namespace blink {
namespace scheduler {
-class SCHEDULER_EXPORT RealTimeDomain : public TimeDomain {
+class BLINK_PLATFORM_EXPORT RealTimeDomain : public TimeDomain {
public:
explicit RealTimeDomain(const char* tracing_category);
RealTimeDomain(TimeDomain::Observer* observer, const char* tracing_category);
@@ -40,5 +41,6 @@ class SCHEDULER_EXPORT RealTimeDomain : public TimeDomain {
};
} // namespace scheduler
+} // namespace blink
-#endif // COMPONENTS_SCHEDULER_BASE_REAL_TIME_DOMAIN_H_
+#endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_BASE_REAL_TIME_DOMAIN_H_

Powered by Google App Engine
This is Rietveld 408576698