blob: 3a09e86ab219b0c772e7af4ca93c41172dc3305d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
// Copyright (c) 2006-2008 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_SESSION_CRASHED_VIEW_H__
#define CHROME_BROWSER_SESSION_CRASHED_VIEW_H__
#include "chrome/browser/views/info_bar_confirm_view.h"
class Profile;
// SessionCrashedView is used on startup when the last session didn't exit
// cleanly. The user is given the option of restoring the last session.
class SessionCrashedView : public InfoBarConfirmView {
public:
explicit SessionCrashedView(Profile* profile);
virtual ~SessionCrashedView();
virtual void SessionCrashedView::OKButtonPressed();
private:
void Init();
Profile* profile_;
DISALLOW_EVIL_CONSTRUCTORS(SessionCrashedView);
};
#endif // CHROME_BROWSER_SESSION_CRASHED_VIEW_H__
|