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

Unified Diff: util/file/string_file.h

Issue 1416493006: Change file op |ssize_t|s to FileOperationResult (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: fixes Created 5 years, 2 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 | « util/file/file_reader.cc ('k') | util/file/string_file.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/file/string_file.h
diff --git a/util/file/string_file.h b/util/file/string_file.h
index c2e18ada2787cb8b132c38f3381c921b68b4b106..05f57072540edca167634f85088af2799066782c 100644
--- a/util/file/string_file.h
+++ b/util/file/string_file.h
@@ -21,6 +21,7 @@
#include "base/basictypes.h"
#include "base/numerics/safe_math.h"
+#include "util/file/file_io.h"
#include "util/file/file_reader.h"
#include "util/file/file_writer.h"
@@ -50,7 +51,7 @@ class StringFile : public FileReaderInterface, public FileWriterInterface {
void Reset();
// FileReaderInterface:
- ssize_t Read(void* data, size_t size) override;
+ FileOperationResult Read(void* data, size_t size) override;
// FileWriterInterface:
bool Write(const void* data, size_t size) override;
« no previous file with comments | « util/file/file_reader.cc ('k') | util/file/string_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698