Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / remoting / base / breakpad.h
blob5d81eb52ef0417fb3fcac1962af7f650dbaa5a14
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_
8 namespace remoting {
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
18 // rare.
19 void InitializeCrashReporting();
21 } // remoting
23 #endif // REMOTING_BASE_BREAKPAD_H_