summaryrefslogtreecommitdiff
path: root/compiler/file_output_stream.h
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2015-12-01 10:16:19 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-12-01 10:16:19 +0000
commitd1744d449cf2b56af7e0896b3729fac2a414e3af (patch)
treecd23e1e0a3cea10cc9a9ae8269a01f75ada8ef0e /compiler/file_output_stream.h
parente51e3f988ba91f0469757738fa55f835e16e37d9 (diff)
parent10c13565474de2786aad7c2e79757ea250747a15 (diff)
Merge "Refactor oat file writing to give Dex2Oat more control."
Diffstat (limited to 'compiler/file_output_stream.h')
-rw-r--r--compiler/file_output_stream.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/compiler/file_output_stream.h b/compiler/file_output_stream.h
index 9dfbd7fcef..6917d83f29 100644
--- a/compiler/file_output_stream.h
+++ b/compiler/file_output_stream.h
@@ -27,11 +27,13 @@ class FileOutputStream FINAL : public OutputStream {
public:
explicit FileOutputStream(File* file);
- virtual ~FileOutputStream() {}
+ ~FileOutputStream() OVERRIDE {}
- virtual bool WriteFully(const void* buffer, size_t byte_count);
+ bool WriteFully(const void* buffer, size_t byte_count) OVERRIDE;
- virtual off_t Seek(off_t offset, Whence whence);
+ off_t Seek(off_t offset, Whence whence) OVERRIDE;
+
+ bool Flush() OVERRIDE;
private:
File* const file_;