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

Unified Diff: runtime/bin/file_support.cc

Issue 2974233002: VM: Re-format to use at most one newline between functions (Closed)
Patch Set: Rebase and merge Created 3 years, 5 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 | « runtime/bin/file_macos.cc ('k') | runtime/bin/file_system_watcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/file_support.cc
diff --git a/runtime/bin/file_support.cc b/runtime/bin/file_support.cc
index 41de7026057334173353297c3657dc96aa0186d5..fe66cd9b4d2c030c3cb5ef178e16f16d3c342ebb 100644
--- a/runtime/bin/file_support.cc
+++ b/runtime/bin/file_support.cc
@@ -26,22 +26,18 @@ void SetCaptureStdout(bool value) {
capture_stdout = value;
}
-
void SetCaptureStderr(bool value) {
capture_stderr = value;
}
-
bool ShouldCaptureStdout() {
return capture_stdout;
}
-
bool ShouldCaptureStderr() {
return capture_stderr;
}
-
bool File::ReadFully(void* buffer, int64_t num_bytes) {
int64_t remaining = num_bytes;
char* current_buffer = reinterpret_cast<char*>(buffer);
@@ -56,7 +52,6 @@ bool File::ReadFully(void* buffer, int64_t num_bytes) {
return true;
}
-
bool File::WriteFully(const void* buffer, int64_t num_bytes) {
int64_t remaining = num_bytes;
const char* current_buffer = reinterpret_cast<const char*>(buffer);
@@ -83,7 +78,6 @@ bool File::WriteFully(const void* buffer, int64_t num_bytes) {
return true;
}
-
File::FileOpenMode File::DartModeToFileMode(DartFileOpenMode mode) {
ASSERT((mode == File::kDartRead) || (mode == File::kDartWrite) ||
(mode == File::kDartAppend) || (mode == File::kDartWriteOnly) ||
« no previous file with comments | « runtime/bin/file_macos.cc ('k') | runtime/bin/file_system_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698