| 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
|
|
|