Index: runtime/bin/file.h |
diff --git a/runtime/bin/file.h b/runtime/bin/file.h |
index 8c859f70eaac332eb37eaece6f95079a2034c96c..5bef22c92c33a9b0ebe1570c5a5ad1fea32f0019 100644 |
--- a/runtime/bin/file.h |
+++ b/runtime/bin/file.h |
@@ -60,13 +60,6 @@ class File : public ReferenceCounted<File> { |
kDartWriteOnlyAppend = 4 |
}; |
- // These values have to be kept in sync with the values of |
- // _FileTranslation.text and _FileTranslation.binary in file_impl.dart |
- enum DartFileTranslation { |
- kText = 0, |
- kBinary = 1, |
- }; |
- |
enum Type { kIsFile = 0, kIsDirectory = 1, kIsLink = 2, kDoesNotExist = 3 }; |
enum Identical { kIdentical = 0, kDifferent = 1, kError = 2 }; |
@@ -142,10 +135,6 @@ class File : public ReferenceCounted<File> { |
// Set the byte position in the file. |
bool SetPosition(int64_t position); |
- // Set the translation mode of the file. This is currently a no-op unless the |
- // file is for a terminal on Windows. |
- void SetTranslation(DartFileTranslation translation); |
- |
// Truncate (or extend) the file to the given length in bytes. |
bool Truncate(int64_t length); |