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

Unified Diff: third_party/WebKit/Source/platform/scheduler/renderer/throttling_helper.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/throttling_helper.h
diff --git a/components/scheduler/renderer/throttling_helper.h b/third_party/WebKit/Source/platform/scheduler/renderer/throttling_helper.h
similarity index 86%
rename from components/scheduler/renderer/throttling_helper.h
rename to third_party/WebKit/Source/platform/scheduler/renderer/throttling_helper.h
index d2b34c208a06081a42af5330332c25e07bd0b5a3..0f3a99325e487b723096acaaaad7d7aa5838ed2a 100644
--- a/components/scheduler/renderer/throttling_helper.h
+++ b/third_party/WebKit/Source/platform/scheduler/renderer/throttling_helper.h
@@ -2,24 +2,24 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_SCHEDULER_RENDERER_THROTTLING_HELPER_H_
-#define COMPONENTS_SCHEDULER_RENDERER_THROTTLING_HELPER_H_
+#ifndef THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_THROTTLING_HELPER_H_
+#define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_THROTTLING_HELPER_H_
#include <set>
#include "base/macros.h"
-#include "components/scheduler/base/cancelable_closure_holder.h"
-#include "components/scheduler/base/time_domain.h"
-#include "components/scheduler/scheduler_export.h"
-#include "third_party/WebKit/public/platform/WebViewScheduler.h"
+#include "platform/scheduler/base/cancelable_closure_holder.h"
+#include "platform/scheduler/base/time_domain.h"
+#include "public/platform/WebViewScheduler.h"
+namespace blink {
namespace scheduler {
class RendererSchedulerImpl;
class ThrottledTimeDomain;
class WebFrameSchedulerImpl;
-class SCHEDULER_EXPORT ThrottlingHelper : public TimeDomain::Observer {
+class BLINK_PLATFORM_EXPORT ThrottlingHelper : public TimeDomain::Observer {
public:
ThrottlingHelper(RendererSchedulerImpl* renderer_scheduler,
const char* tracing_category);
@@ -100,5 +100,6 @@ class SCHEDULER_EXPORT ThrottlingHelper : public TimeDomain::Observer {
};
} // namespace scheduler
+} // namespace blink
-#endif // COMPONENTS_SCHEDULER_RENDERER_THROTTLING_HELPER_H_
+#endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_THROTTLING_HELPER_H_

Powered by Google App Engine
This is Rietveld 408576698