1// Copyright 2014 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#ifndef CHROME_BROWSER_UI_STARTUP_SESSION_CRASHED_BUBBLE_H_ 6#define CHROME_BROWSER_UI_STARTUP_SESSION_CRASHED_BUBBLE_H_ 7 8class Browser; 9 10// Create a session recovery bubble if the last session crashed. It also offers 11// the option to enable metrics reporting if it's not already enabled. Function 12// returns true if a bubble is created, returns false if nothing is created. 13bool ShowSessionCrashedBubble(Browser* browser); 14 15#endif // CHROME_BROWSER_UI_STARTUP_SESSION_CRASHED_BUBBLE_H_ 16