15c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu// Copyright 2014 The Chromium Authors. All rights reserved.
25c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu// Use of this source code is governed by a BSD-style license that can be
35c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu// found in the LICENSE file.
45c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu
55c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu#ifndef CHROME_BROWSER_UI_STARTUP_SESSION_CRASHED_BUBBLE_H_
65c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu#define CHROME_BROWSER_UI_STARTUP_SESSION_CRASHED_BUBBLE_H_
75c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu
85c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liuclass Browser;
95c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu
105c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu// Create a session recovery bubble if the last session crashed. It also offers
115c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu// the option to enable metrics reporting if it's not already enabled. Function
125c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu// returns true if a bubble is created, returns false if nothing is created.
135c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liubool ShowSessionCrashedBubble(Browser* browser);
145c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu
155c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu#endif  // CHROME_BROWSER_UI_STARTUP_SESSION_CRASHED_BUBBLE_H_
16