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

Unified Diff: client/crash_report_database_mac.mm

Issue 867363003: win: Implementation of CrashReportDatabase for Windows (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: . Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/client.gyp ('k') | client/crash_report_database_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/crash_report_database_mac.mm
diff --git a/client/crash_report_database_mac.mm b/client/crash_report_database_mac.mm
index 1b54d1eff6ab174a622977e26c8fe8ec0ef978ba..eeb203eaef39d43330dcdde6ecbee2609a287ce0 100644
--- a/client/crash_report_database_mac.mm
+++ b/client/crash_report_database_mac.mm
@@ -89,7 +89,7 @@ bool CreateOrEnsureDirectoryExists(const base::FilePath& path) {
//!
//! The database maintains three directories of reports: `"new"` to hold crash
//! reports that are in the process of being written, `"completed"` to hold
-//! reports that have been written and are awaing upload, and `"uploaded"` to
+//! reports that have been written and are awaiting upload, and `"uploaded"` to
//! hold reports successfully uploaded to a collection server. If the user has
//! opted out of report collection, reports will still be written and moved
//! to the completed directory, but they just will not be uploaded.
@@ -150,7 +150,7 @@ class CrashReportDatabaseMac : public CrashReportDatabase {
//! This does not block, and so callers must ensure that the lock is valid
//! after calling.
//!
- //! \param[in] path The path of the file to lcok.
+ //! \param[in] path The path of the file to lock.
//!
//! \return A scoped lock object. If the result is not valid, an error is
//! logged.
@@ -504,8 +504,7 @@ bool CrashReportDatabaseMac::ReadReportMetadataLocked(
}
// static
-CrashReportDatabase::OperationStatus
-CrashReportDatabaseMac::ReportsInDirectory(
+CrashReportDatabase::OperationStatus CrashReportDatabaseMac::ReportsInDirectory(
const base::FilePath& path,
std::vector<const CrashReportDatabase::Report>* reports) {
DCHECK(reports->empty());
« no previous file with comments | « client/client.gyp ('k') | client/crash_report_database_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698