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

Unified Diff: third_party/crashpad/crashpad/util/file/file_io.h

Issue 2349083002: Update Crashpad to 23d31c4fea61962e156f992889c6b041ad757d12 (Closed)
Patch Set: Created 4 years, 3 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
Index: third_party/crashpad/crashpad/util/file/file_io.h
diff --git a/third_party/crashpad/crashpad/util/file/file_io.h b/third_party/crashpad/crashpad/util/file/file_io.h
index 55909415fefe6d7b45a7e5f0fdb743b2d60041c7..ff20488da1d02fb120c33c096445cb37fff8d08f 100644
--- a/third_party/crashpad/crashpad/util/file/file_io.h
+++ b/third_party/crashpad/crashpad/util/file/file_io.h
@@ -342,6 +342,15 @@ bool LoggingCloseFile(FileHandle file);
//! terminate without returning.
void CheckedCloseFile(FileHandle file);
+//! \brief Determines the size of a file.
+//!
+//! \param[in] file The handle to the file for which the size should be
+//! retrived.
+//!
+//! \return The size of the file. If an error occurs when attempting to
+//! determine its size, returns `-1` with an error logged.
+FileOffset LoggingFileSizeByHandle(FileHandle file);
+
} // namespace crashpad
#endif // CRASHPAD_UTIL_FILE_FILE_IO_H_
« no previous file with comments | « third_party/crashpad/crashpad/tools/mac/run_with_crashpad.cc ('k') | third_party/crashpad/crashpad/util/file/file_io_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698