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

Unified Diff: src/platform/update_engine/file_writer.cc

Issue 1800009: AU: SplitWriter class for parsing our full update files. (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: fixes for review Created 10 years, 8 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 | « src/platform/update_engine/file_writer.h ('k') | src/platform/update_engine/mock_file_writer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/update_engine/file_writer.cc
diff --git a/src/platform/update_engine/file_writer.cc b/src/platform/update_engine/file_writer.cc
index 07bdb464381b28ecb8d38aece8c8a71ae1ec3894..1a95a757fac2abab661220b90bbba13c8f81c2da 100644
--- a/src/platform/update_engine/file_writer.cc
+++ b/src/platform/update_engine/file_writer.cc
@@ -15,7 +15,7 @@ int DirectFileWriter::Open(const char* path, int flags, mode_t mode) {
return 0;
}
-int DirectFileWriter::Write(const void* bytes, size_t count) {
+ssize_t DirectFileWriter::Write(const void* bytes, size_t count) {
CHECK_GE(fd_, 0);
const char* char_bytes = reinterpret_cast<const char*>(bytes);
« no previous file with comments | « src/platform/update_engine/file_writer.h ('k') | src/platform/update_engine/mock_file_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698