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

Unified Diff: public/platform/WebFrameHostScheduler.h

Issue 1348853002: scheduler: Rename WebPageScheduler to WebFrameHostScheduler (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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
« no previous file with comments | « no previous file | public/platform/WebPageScheduler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebFrameHostScheduler.h
diff --git a/public/platform/WebPageScheduler.h b/public/platform/WebFrameHostScheduler.h
similarity index 54%
rename from public/platform/WebPageScheduler.h
rename to public/platform/WebFrameHostScheduler.h
index b6ca97abd1275334d8847b1a2ae5e4d1435d84dc..d64b29bd941241e7c364b0cc18b4477790c37327 100644
--- a/public/platform/WebPageScheduler.h
+++ b/public/platform/WebFrameHostScheduler.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WebPageScheduler_h
-#define WebPageScheduler_h
+#ifndef WebFrameHostScheduler_h
+#define WebFrameHostScheduler_h
#include "WebCommon.h"
@@ -11,17 +11,17 @@ namespace blink {
class WebFrameScheduler;
-class BLINK_PLATFORM_EXPORT WebPageScheduler {
+class BLINK_PLATFORM_EXPORT WebFrameHostScheduler {
public:
- virtual ~WebPageScheduler() { }
+ virtual ~WebFrameHostScheduler() { }
- // The scheduler may throttle tasks associated with backgound pages.
+ // The scheduler may throttle tasks associated with background pages.
virtual void setPageInBackground(bool) { }
// Creaters a new WebFrameScheduler, the caller is responsible for deleting it.
- WebFrameScheduler* createFrameScheduler() { return nullptr; }
+ virtual WebFrameScheduler* createFrameScheduler() { return nullptr; }
};
} // namespace blink
-#endif // WebPageScheduler_h
+#endif // WebFrameHostScheduler
« no previous file with comments | « no previous file | public/platform/WebPageScheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698