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

Unified Diff: src/platform/update_engine/mock_file_writer.h

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.cc ('k') | src/platform/update_engine/split_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/mock_file_writer.h
diff --git a/src/platform/update_engine/mock_file_writer.h b/src/platform/update_engine/mock_file_writer.h
index 7cf0fd531cc15fc5de8eaa0856f0a1d1469541e6..f2785cc8aa4a435ab609ee2e8878de327fb91f6c 100644
--- a/src/platform/update_engine/mock_file_writer.h
+++ b/src/platform/update_engine/mock_file_writer.h
@@ -25,7 +25,7 @@ class MockFileWriter : public FileWriter {
return 0;
}
- virtual int Write(const void* bytes, size_t count) {
+ virtual ssize_t Write(const void* bytes, size_t count) {
CHECK(was_opened_);
CHECK(!was_closed_);
const char* char_bytes = reinterpret_cast<const char*>(bytes);
« no previous file with comments | « src/platform/update_engine/file_writer.cc ('k') | src/platform/update_engine/split_file_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698