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

Side by Side Diff: chrome/installer/setup/installer_crash_reporting.h

Issue 1561663003: CL for perf tryjob on win (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 2015 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 CHROME_INSTALLER_SETUP_INSTALLER_CRASH_REPORTING_H_
6 #define CHROME_INSTALLER_SETUP_INSTALLER_CRASH_REPORTING_H_
7
8 #include <stddef.h>
9
10 namespace base {
11 class CommandLine;
12 class Version;
13 } // namespace base
14
15 namespace installer {
16
17 class InstallerState;
18
19 // Sets up the crash reporting system for the installer.
20 void ConfigureCrashReporting(const InstallerState& installer_state);
21
22 // Registers all crash keys used by the installer.
23 size_t RegisterCrashKeys();
24
25 // Sets all crash keys that are available during process startup. These do not
26 // vary during execution so this function will not need to be called more than
27 // once.
28 void SetInitialCrashKeys(const InstallerState& installer_state);
29
30 // Sets crash keys for the switches given in |command_line|.
31 void SetCrashKeysFromCommandLine(const base::CommandLine& command_line);
32
33 // Sets a crash key recording the version of the product which was present
34 // before the installer was run.
35 void SetCurrentVersionCrashKey(const base::Version* current_version);
36
37 } // namespace installer
38
39 #endif // CHROME_INSTALLER_SETUP_INSTALLER_CRASH_REPORTING_H_
OLDNEW
« no previous file with comments | « chrome/installer/setup/installer_crash_reporter_client.cc ('k') | chrome/installer/setup/installer_crash_reporting.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698