1 // Copyright (c) 2012 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.
5 #ifndef REMOTING_BASE_BREAKPAD_H_
6 #define REMOTING_BASE_BREAKPAD_H_
10 // Initializes collection and upload of crash reports. The caller has to ensure
11 // that the user has agreed to crash dump reporting.
13 // Crash reporting has to be initialized as early as possible (e.g. the first
14 // thing in main()) to catch crashes occuring during process startup.
15 // Crashes which occur during the global static construction phase will not
16 // be caught and reported. This should not be a problem as static non-POD
17 // objects are not allowed by the style guide and exceptions to this rule are
19 void InitializeCrashReporting();
23 #endif // REMOTING_BASE_BREAKPAD_H_