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

Side by Side Diff: remoting/base/breakpad.h

Issue 10535082: /C++ readability/ - Make Chromoting Host report crashes to Breakpad (Windows only). The user must e… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing a bad merge. Created 8 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | remoting/base/breakpad_linux.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 REMOTING_BASE_BREAKPAD_H_ 5 #ifndef REMOTING_BASE_BREAKPAD_H_
6 #define REMOTING_BASE_BREAKPAD_H_ 6 #define REMOTING_BASE_BREAKPAD_H_
7 7
8 namespace remoting { 8 namespace remoting {
9 9
10 // Initializes collection and upload of crash reports. The caller has to ensure 10 // Initializes collection and upload of crash reports. The caller has to ensure
11 // that the user has agreed to crash dump reporting. 11 // that the user has agreed to crash dump reporting.
12 // 12 //
13 // Crash reporting has to be initialized as early as possible (e.g. the first 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. 14 // thing in main()) to catch crashes occuring during process startup.
15 // The crashes occurred while invoking the static objects' constructors will not 15 // Crashes which occur during the global static construction phase will not
16 // be caught and reported. This should not be a problem as the static non POD 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 17 // objects are not allowed by the style guide and exceptions to this rule are
18 // rare. 18 // rare.
19 void InitializeCrashReporting(); 19 void InitializeCrashReporting();
20 20
21 } // remoting 21 } // remoting
22 22
23 #endif // REMOTING_BASE_BREAKPAD_H_ 23 #endif // REMOTING_BASE_BREAKPAD_H_
OLDNEW
« no previous file with comments | « no previous file | remoting/base/breakpad_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698