| Index: chrome/browser/ui/fast_unload_controller.h
|
| diff --git a/chrome/browser/ui/fast_unload_controller.h b/chrome/browser/ui/fast_unload_controller.h
|
| index ad72b408e980055f0be9204ba2660b8000abcd19..dbcee928ab2d8f89cdccee92b86fbf0066a9047f 100644
|
| --- a/chrome/browser/ui/fast_unload_controller.h
|
| +++ b/chrome/browser/ui/fast_unload_controller.h
|
| @@ -64,6 +64,9 @@ class FastUnloadController : public content::NotificationObserver,
|
| // renderer.
|
| bool CanCloseContents(content::WebContents* contents);
|
|
|
| + // Returns true if we need to run unload events for the |contents|.
|
| + static bool ShouldRunUnloadEventsHelper(content::WebContents* contents);
|
| +
|
| // Helper function to run beforeunload listeners on a WebContents.
|
| // Returns true if |contents| beforeunload listeners were invoked.
|
| static bool RunUnloadEventsHelper(content::WebContents* contents);
|
|
|