blob: a9a5561cd29aa2550f542669f6fa6cccf6778c95 [file] [log] [blame]
[email protected]34f73fb2010-03-24 20:50:341// Copyright (c) 2010 The Chromium Authors. All rights reserved.
[email protected]1152b7e2009-09-14 03:26:032// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef CHROME_BROWSER_BROWSER_MAIN_H_
6#define CHROME_BROWSER_BROWSER_MAIN_H_
7
8#include "build/build_config.h"
9
10struct MainFunctionParams;
11class MetricsService;
12
[email protected]1152b7e2009-09-14 03:26:0313// Perform platform-specific work that needs to be done before the main
14// message loop is created, initialized, and entered.
15void WillInitializeMainMessageLoop(const MainFunctionParams& parameters);
16
17// Perform platform-specific work that needs to be done after the main event
18// loop has ended.
[email protected]3b6aa8b62009-09-15 21:36:1119void DidEndMainMessageLoop();
[email protected]1152b7e2009-09-14 03:26:0320
21// Records the conditions that can prevent Breakpad from generating and
22// sending crash reports. The presence of a Breakpad handler (after
23// attempting to initialize crash reporting) and the presence of a debugger
24// are registered with the UMA metrics service.
25void RecordBreakpadStatusUMA(MetricsService* metrics);
26
[email protected]34f73fb2010-03-24 20:50:3427// Displays a warning message if some minimum level of OS support is not
28// present on the current platform.
29void WarnAboutMinimumSystemRequirements();
[email protected]1152b7e2009-09-14 03:26:0330
31#endif // CHROME_BROWSER_BROWSER_MAIN_H_