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

Side by Side Diff: chrome/browser/ui/startup/session_crashed_bubble.h

Issue 284113006: Enable new session crashed bubble UI by Finch experiment. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Nit Created 6 years, 7 months 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
OLDNEW
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698