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

Side by Side Diff: components/crash/content/app/fallback_crash_handling_win.h

Issue 2638433002: Integrate fallback crash handling in chrome (Closed)
Patch Set: Reorganize the fallback integration code into a pair of separate files. Created 3 years, 11 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
OLDNEW
(Empty)
1 // Copyright 2017 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 #ifndef COMPONENTS_CRASH_CONTENT_APP_FALLBACK_CRASH_HANDLING_WIN_H_
scottmg 2017/01/13 22:20:00 \n before this line
Sigurður Ásgeirsson 2017/01/16 18:23:24 Done.
5 #define COMPONENTS_CRASH_CONTENT_APP_FALLBACK_CRASH_HANDLING_WIN_H_
6
7 #include <string>
8
9 #include "base/command_line.h"
10
11 namespace crash_reporter {
12
13 namespace switches {
14 extern const char kFallbackCrashHandler[];
15 }
16
17 // Sets up fallback crash handling for this process.
18 // Note that this installs an unhandled exception filter, and requires
19 // that the executable call the "RunAsFallbackCrashHandler" function, when
20 // it's passed a --type switch with the value |kFallbackCrashHandlerType|.
21 void SetupFallbackCrashHandling(const base::CommandLine& command_line);
22
23 // Runs the fallback crash handler process, to handle a crash in a process
24 // that's previously called SetupfallbackCrashHandler.
scottmg 2017/01/13 22:20:00 Capital F on SetupFallback...
Sigurður Ásgeirsson 2017/01/16 18:23:24 Done.
25 // The |product_name|, |version| and |channel_name| parameters will be used
26 // as propoerties of the crash for the purposes of upload.
scottmg 2017/01/13 22:20:00 properties
Sigurður Ásgeirsson 2017/01/16 18:23:24 Done.
27 int RunAsFallbackCrashHandler(const base::CommandLine& command_line,
28 std::string product_name,
29 std::string version,
30 std::string channel_name);
31
32 } // namespace crash_reporter
33
34 #endif // COMPONENTS_CRASH_CONTENT_APP_FALLBACK_CRASH_HANDLING_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698