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

Unified Diff: third_party/WebKit/Source/core/page/ScopedPageSuspender.h

Issue 2526163002: Rename blink::Page's load deferral to suspension (Closed)
Patch Set: Created 4 years, 1 month 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/core/page/ScopedPageSuspender.h
diff --git a/third_party/WebKit/Source/core/page/ScopedPageLoadDeferrer.h b/third_party/WebKit/Source/core/page/ScopedPageSuspender.h
similarity index 77%
rename from third_party/WebKit/Source/core/page/ScopedPageLoadDeferrer.h
rename to third_party/WebKit/Source/core/page/ScopedPageSuspender.h
index 6cd1b1f8f9f75f2a3707b96cae6a65729ebcc655..f24f38afc851955da161b7a159171ba6d3430e27 100644
--- a/third_party/WebKit/Source/core/page/ScopedPageLoadDeferrer.h
+++ b/third_party/WebKit/Source/core/page/ScopedPageSuspender.h
@@ -17,8 +17,8 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef ScopedPageLoadDeferrer_h
-#define ScopedPageLoadDeferrer_h
+#ifndef ScopedPageSuspender_h
+#define ScopedPageSuspender_h
#include "core/CoreExport.h"
#include "wtf/Allocator.h"
@@ -28,17 +28,17 @@ namespace blink {
class Page;
-class CORE_EXPORT ScopedPageLoadDeferrer final {
- WTF_MAKE_NONCOPYABLE(ScopedPageLoadDeferrer);
- USING_FAST_MALLOC(ScopedPageLoadDeferrer);
+class CORE_EXPORT ScopedPageSuspender final {
+ WTF_MAKE_NONCOPYABLE(ScopedPageSuspender);
+ USING_FAST_MALLOC(ScopedPageSuspender);
public:
- explicit ScopedPageLoadDeferrer();
- ~ScopedPageLoadDeferrer();
+ explicit ScopedPageSuspender();
+ ~ScopedPageSuspender();
static bool isActive();
};
} // namespace blink
-#endif // ScopedPageLoadDeferrer_h
+#endif // ScopedPageSuspender_h

Powered by Google App Engine
This is Rietveld 408576698