OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_STARTUP_SESSION_CRASHED_BUBBLE_H_ | 5 #ifndef CHROME_BROWSER_UI_STARTUP_SESSION_CRASHED_BUBBLE_H_ |
6 #define CHROME_BROWSER_UI_STARTUP_SESSION_CRASHED_BUBBLE_H_ | 6 #define CHROME_BROWSER_UI_STARTUP_SESSION_CRASHED_BUBBLE_H_ |
7 | 7 |
8 class Browser; | 8 class Browser; |
9 | 9 |
| 10 namespace base { |
| 11 class CommandLine; |
| 12 } |
| 13 |
10 // Create a session recovery bubble if the last session crashed. It also offers | 14 // 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 | 15 // 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. | 16 // returns true if a bubble is created, returns false if nothing is created. |
13 bool ShowSessionCrashedBubble(Browser* browser); | 17 bool ShowSessionCrashedBubble(Browser* browser, |
| 18 const base::CommandLine& command_line); |
14 | 19 |
15 #endif // CHROME_BROWSER_UI_STARTUP_SESSION_CRASHED_BUBBLE_H_ | 20 #endif // CHROME_BROWSER_UI_STARTUP_SESSION_CRASHED_BUBBLE_H_ |
OLD | NEW |