Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(263)

Side by Side Diff: ios/chrome/browser/crash_report/crash_restore_helper.h

Issue 2580363002: Upstream Chrome on iOS source code [1/11]. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ios/chrome/browser/crash_report/crash_report_helper.mm ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2011 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 IOS_CHROME_BROWSER_CRASH_REPORT_CRASH_RESTORE_HELPER_H_
6 #define IOS_CHROME_BROWSER_CRASH_REPORT_CRASH_RESTORE_HELPER_H_
7
8 #import <Foundation/Foundation.h>
9
10 namespace ios {
11 class ChromeBrowserState;
12 }
13
14 @class TabModel;
15
16 // Helper class for handling session restoration after a crash.
17 @interface CrashRestoreHelper : NSObject
18
19 - (id)initWithBrowserState:(ios::ChromeBrowserState*)browserState;
20
21 // Saves the session information stored on disk in temporary files and will
22 // then delete those from their default location. This will ensure that the
23 // user will then start from scratch, while allowing restoring their old
24 // sessions.
25 - (void)moveAsideSessionInformation;
26
27 // Shows an infobar on the currently selected tab of the given |tabModel|. This
28 // infobar lets the user restore its session after a crash.
29 - (void)showRestoreIfNeeded:(TabModel*)tabModel;
30
31 @end
32
33 #endif // IOS_CHROME_BROWSER_CRASH_REPORT_CRASH_RESTORE_HELPER_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/crash_report/crash_report_helper.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698