OLD | NEW |
1 // Copyright 2015 Google Inc. | 1 // Copyright 2015 Google Inc. |
2 // All rights reserved. | 2 // All rights reserved. |
3 // | 3 // |
4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
6 // met: | 6 // met: |
7 // | 7 // |
8 // * Redistributions of source code must retain the above copyright | 8 // * Redistributions of source code must retain the above copyright |
9 // notice, this list of conditions and the following disclaimer. | 9 // notice, this list of conditions and the following disclaimer. |
10 // * Redistributions in binary form must reproduce the above | 10 // * Redistributions in binary form must reproduce the above |
(...skipping 20 matching lines...) Expand all Loading... |
31 #define CLIENT_LINUX_HANDLER_MICRODUMP_EXTRA_INFO_H_ | 31 #define CLIENT_LINUX_HANDLER_MICRODUMP_EXTRA_INFO_H_ |
32 | 32 |
33 namespace google_breakpad { | 33 namespace google_breakpad { |
34 | 34 |
35 struct MicrodumpExtraInfo { | 35 struct MicrodumpExtraInfo { |
36 // Strings pointed to by this struct are not copied, and are | 36 // Strings pointed to by this struct are not copied, and are |
37 // expected to remain valid for the lifetime of the process. | 37 // expected to remain valid for the lifetime of the process. |
38 const char* build_fingerprint; | 38 const char* build_fingerprint; |
39 const char* product_info; | 39 const char* product_info; |
40 const char* gpu_fingerprint; | 40 const char* gpu_fingerprint; |
| 41 const char* process_type; |
41 | 42 |
42 MicrodumpExtraInfo() | 43 MicrodumpExtraInfo() |
43 : build_fingerprint(NULL), product_info(NULL), gpu_fingerprint(NULL) {} | 44 : build_fingerprint(NULL), |
| 45 product_info(NULL), |
| 46 gpu_fingerprint(NULL), |
| 47 process_type(NULL) {} |
44 }; | 48 }; |
45 | 49 |
46 } | 50 } |
47 | 51 |
48 #endif // CLIENT_LINUX_HANDLER_MICRODUMP_EXTRA_INFO_H_ | 52 #endif // CLIENT_LINUX_HANDLER_MICRODUMP_EXTRA_INFO_H_ |
OLD | NEW |