Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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. | |
| 4 | |
| 5 #ifndef REMOTING_BASE_BREAKPAD_H_ | |
| 6 #define REMOTING_BASE_BREAKPAD_H_ | |
| 7 | |
| 8 namespace remoting { | |
| 9 | |
| 10 // Initializes collection and upload of crash reports. The caller has to ensure | |
| 11 // that the user has agreed to crash dump reporting. | |
| 12 // | |
| 13 // Crash reporting has to be initialized as early as possible (e.g. the first | |
| 14 // thing in main()) to catch crashes occured during the process startup. | |
|
Peter Kasting
2012/06/14 20:16:27
Nit: s/occured/occurring/ ; s/the//
alexeypa (please no reviews)
2012/06/15 18:45:49
Done.
| |
| 15 // The crashes occurred while invoking the static objects' constructors will not | |
|
Peter Kasting
2012/06/14 20:16:27
Nit: How about "Crashes which occur during the glo
alexeypa (please no reviews)
2012/06/15 18:45:49
Yes. This sounds better.
| |
| 16 // be caught and reported. This should not be a problem as the static non POD | |
|
Peter Kasting
2012/06/14 20:16:27
Nit: s/the// ; s/non POD/non-POD/
alexeypa (please no reviews)
2012/06/15 18:45:49
Done.
| |
| 17 // objects are not allowed by the style guide and exceptions to this rule are | |
| 18 // rare. | |
| 19 void InitializeCrashReporting(); | |
| 20 | |
| 21 } // remoting | |
| 22 | |
| 23 #endif // REMOTING_BASE_BREAKPAD_H_ | |
| OLD | NEW |