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

Side by Side Diff: client/crash_report_database.h

Issue 1000263003: Add MinidumpCrashpadInfo::report_id (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | client/crash_report_database_mac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Crashpad Authors. All rights reserved. 1 // Copyright 2015 The Crashpad Authors. All rights reserved.
2 // 2 //
3 // Licensed under the Apache License, Version 2.0 (the "License"); 3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License. 4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at 5 // You may obtain a copy of the License at
6 // 6 //
7 // http://www.apache.org/licenses/LICENSE-2.0 7 // http://www.apache.org/licenses/LICENSE-2.0
8 // 8 //
9 // Unless required by applicable law or agreed to in writing, software 9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS, 10 // distributed under the License is distributed on an "AS IS" BASIS,
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 }; 91 };
92 92
93 //! \brief A crash report that is in the process of being written. 93 //! \brief A crash report that is in the process of being written.
94 //! 94 //!
95 //! An instance of this struct should be created via PrepareNewCrashReport() 95 //! An instance of this struct should be created via PrepareNewCrashReport()
96 //! and destroyed with FinishedWritingCrashReport(). 96 //! and destroyed with FinishedWritingCrashReport().
97 struct NewReport { 97 struct NewReport {
98 //! The file handle to which the report should be written. 98 //! The file handle to which the report should be written.
99 FileHandle handle; 99 FileHandle handle;
100 100
101 //! A unique identifier by which this report will always be known to the
102 //! database.
103 UUID uuid;
104
101 //! The path to the crash report being written. 105 //! The path to the crash report being written.
102 base::FilePath path; 106 base::FilePath path;
103 }; 107 };
104 108
105 //! \brief The result code for operations performed on a database. 109 //! \brief The result code for operations performed on a database.
106 enum OperationStatus { 110 enum OperationStatus {
107 //! \brief No error occurred. 111 //! \brief No error occurred.
108 kNoError = 0, 112 kNoError = 0,
109 113
110 //! \brief The report that was requested could not be located. 114 //! \brief The report that was requested could not be located.
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 protected: 270 protected:
267 CrashReportDatabase() {} 271 CrashReportDatabase() {}
268 272
269 private: 273 private:
270 DISALLOW_COPY_AND_ASSIGN(CrashReportDatabase); 274 DISALLOW_COPY_AND_ASSIGN(CrashReportDatabase);
271 }; 275 };
272 276
273 } // namespace crashpad 277 } // namespace crashpad
274 278
275 #endif // CRASHPAD_CLIENT_CRASH_REPORT_DATABASE_H_ 279 #endif // CRASHPAD_CLIENT_CRASH_REPORT_DATABASE_H_
OLDNEW
« no previous file with comments | « no previous file | client/crash_report_database_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698