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

Unified Diff: runtime/vm/thread_interrupter_android.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/vm/thread_interrupter.cc ('k') | runtime/vm/thread_interrupter_fuchsia.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/thread_interrupter_android.cc
diff --git a/runtime/vm/thread_interrupter_android.cc b/runtime/vm/thread_interrupter_android.cc
index e4c3817638780946cb9cf6e26f25fc0f9e8690cf..598784610b5179ab221cc3fb0ba4800ae107b8ef 100644
--- a/runtime/vm/thread_interrupter_android.cc
+++ b/runtime/vm/thread_interrupter_android.cc
@@ -5,8 +5,8 @@
#include "platform/globals.h"
#if defined(HOST_OS_ANDROID)
-#include <sys/syscall.h> // NOLINT
#include <errno.h> // NOLINT
+#include <sys/syscall.h> // NOLINT
#include "vm/flags.h"
#include "vm/os.h"
@@ -46,12 +46,10 @@ class ThreadInterrupterAndroid : public AllStatic {
}
};
-
bool ThreadInterrupter::IsDebuggerAttached() {
return false;
}
-
void ThreadInterrupter::InterruptThread(OSThread* thread) {
if (FLAG_trace_thread_interrupter) {
OS::PrintErr("ThreadInterrupter interrupting %p\n",
@@ -61,13 +59,11 @@ void ThreadInterrupter::InterruptThread(OSThread* thread) {
ASSERT((result == 0) || (result == ESRCH));
}
-
void ThreadInterrupter::InstallSignalHandler() {
SignalHandler::Install<
ThreadInterrupterAndroid::ThreadInterruptSignalHandler>();
}
-
void ThreadInterrupter::RemoveSignalHandler() {
SignalHandler::Remove();
}
« no previous file with comments | « runtime/vm/thread_interrupter.cc ('k') | runtime/vm/thread_interrupter_fuchsia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698