| Index: chrome/browser/tab_contents/tab_contents.h | 
| diff --git a/chrome/browser/tab_contents/tab_contents.h b/chrome/browser/tab_contents/tab_contents.h | 
| index e93ddeb7e68fdd229114afd2d0a6c617c2e8e834..357601bff914a5da3df6c238e8c2529cb61702ff 100644 | 
| --- a/chrome/browser/tab_contents/tab_contents.h | 
| +++ b/chrome/browser/tab_contents/tab_contents.h | 
| @@ -345,6 +345,12 @@ class TabContents : public PageNavigator, | 
| virtual void ShowContents(); | 
| virtual void HideContents(); | 
|  | 
| +  // Returns true if the before unload and unload listeners need to be | 
| +  // fired. The value of this changes over time. For example, if true and the | 
| +  // before unload listener is executed and allows the user to exit, then this | 
| +  // returns false. | 
| +  bool NeedToFireBeforeUnload(); | 
| + | 
| #ifdef UNIT_TEST | 
| // Expose the render manager for testing. | 
| RenderViewHostManager* render_manager() { return &render_manager_; } | 
|  |