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

Unified Diff: src/platform/update_engine/delta_performer.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/delta_performer.h ('k') | src/platform/update_engine/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/delta_performer.cc
diff --git a/src/platform/update_engine/delta_performer.cc b/src/platform/update_engine/delta_performer.cc
index 79aea61c4025cdd44c2251ebe7ae8e53872162fe..765fc1e923da153136ab9763f5c7211ef83e6d06 100644
--- a/src/platform/update_engine/delta_performer.cc
+++ b/src/platform/update_engine/delta_performer.cc
@@ -110,7 +110,7 @@ int DeltaPerformer::Close() {
// -errno on error.
// This function performs as many actions as it can, given the amount of
// data received thus far.
-int DeltaPerformer::Write(const void* bytes, size_t count) {
+ssize_t DeltaPerformer::Write(const void* bytes, size_t count) {
const char* c_bytes = reinterpret_cast<const char*>(bytes);
buffer_.insert(buffer_.end(), c_bytes, c_bytes + count);
« no previous file with comments | « src/platform/update_engine/delta_performer.h ('k') | src/platform/update_engine/file_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698