| 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 COMPONENTS_CRASH_APP_CRASHPAD_MAC_H_ | 5 #ifndef COMPONENTS_CRASH_CONTENT_APP_CRASHPAD_MAC_H_ |
| 6 #define COMPONENTS_CRASH_APP_CRASHPAD_MAC_H_ | 6 #define COMPONENTS_CRASH_CONTENT_APP_CRASHPAD_MAC_H_ |
| 7 | 7 |
| 8 #include <time.h> | 8 #include <time.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 namespace crash_reporter { | 13 namespace crash_reporter { |
| 14 | 14 |
| 15 // Initializes Crashpad in a way that is appropriate for process_type. If | 15 // Initializes Crashpad in a way that is appropriate for process_type. If |
| 16 // process_type is empty, initializes Crashpad for the browser process, which | 16 // process_type is empty, initializes Crashpad for the browser process, which |
| (...skipping 27 matching lines...) Expand all Loading... |
| 44 // | 44 // |
| 45 // TODO(mark): The about:crashes UI expects to show only uploaded reports. If it | 45 // TODO(mark): The about:crashes UI expects to show only uploaded reports. If it |
| 46 // is ever enhanced to work well with un-uploaded reports, those should be | 46 // is ever enhanced to work well with un-uploaded reports, those should be |
| 47 // returned as well. Un-uploaded reports may have a pending upload, may have | 47 // returned as well. Un-uploaded reports may have a pending upload, may have |
| 48 // experienced upload failure, or may have been collected while uploads were | 48 // experienced upload failure, or may have been collected while uploads were |
| 49 // disabled. | 49 // disabled. |
| 50 void GetUploadedReports(std::vector<UploadedReport>* uploaded_reports); | 50 void GetUploadedReports(std::vector<UploadedReport>* uploaded_reports); |
| 51 | 51 |
| 52 } // namespace crash_reporter | 52 } // namespace crash_reporter |
| 53 | 53 |
| 54 #endif // COMPONENTS_CRASH_APP_CRASHPAD_MAC_H_ | 54 #endif // COMPONENTS_CRASH_CONTENT_APP_CRASHPAD_MAC_H_ |
| OLD | NEW |