OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 CHROME_INSTALLER_SETUP_INSTALLER_CRASH_REPORTING_H_ | 5 #ifndef CHROME_INSTALLER_SETUP_INSTALLER_CRASH_REPORTING_H_ |
6 #define CHROME_INSTALLER_SETUP_INSTALLER_CRASH_REPORTING_H_ | 6 #define CHROME_INSTALLER_SETUP_INSTALLER_CRASH_REPORTING_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 namespace base { | 10 namespace base { |
9 class CommandLine; | 11 class CommandLine; |
10 class Version; | 12 class Version; |
11 } // namespace base | 13 } // namespace base |
12 | 14 |
13 namespace installer { | 15 namespace installer { |
14 | 16 |
15 class InstallerState; | 17 class InstallerState; |
16 | 18 |
17 // Sets up the crash reporting system for the installer. | 19 // Sets up the crash reporting system for the installer. |
(...skipping 10 matching lines...) Expand all Loading... |
28 // Sets crash keys for the switches given in |command_line|. | 30 // Sets crash keys for the switches given in |command_line|. |
29 void SetCrashKeysFromCommandLine(const base::CommandLine& command_line); | 31 void SetCrashKeysFromCommandLine(const base::CommandLine& command_line); |
30 | 32 |
31 // Sets a crash key recording the version of the product which was present | 33 // Sets a crash key recording the version of the product which was present |
32 // before the installer was run. | 34 // before the installer was run. |
33 void SetCurrentVersionCrashKey(const base::Version* current_version); | 35 void SetCurrentVersionCrashKey(const base::Version* current_version); |
34 | 36 |
35 } // namespace installer | 37 } // namespace installer |
36 | 38 |
37 #endif // CHROME_INSTALLER_SETUP_INSTALLER_CRASH_REPORTING_H_ | 39 #endif // CHROME_INSTALLER_SETUP_INSTALLER_CRASH_REPORTING_H_ |
OLD | NEW |