summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/startup/session_crashed_bubble.h
blob: f74436f84e999ba744ec9bc503daedcfc0301e76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_UI_STARTUP_SESSION_CRASHED_BUBBLE_H_
#define CHROME_BROWSER_UI_STARTUP_SESSION_CRASHED_BUBBLE_H_

class Browser;

// Create a session recovery bubble if the last session crashed. It also offers
// the option to enable metrics reporting if it's not already enabled. Function
// returns true if a bubble is created, returns false if nothing is created.
bool ShowSessionCrashedBubble(Browser* browser);

#endif  // CHROME_BROWSER_UI_STARTUP_SESSION_CRASHED_BUBBLE_H_