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

Unified Diff: runtime/vm/os_thread_win.h

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/os_thread_macos.cc ('k') | runtime/vm/os_thread_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/os_thread_win.h
diff --git a/runtime/vm/os_thread_win.h b/runtime/vm/os_thread_win.h
index 36205705ca43c5ee103049a59f2919210c8dab44..594b445d1be0e0f8b27106658a6a2b401fd880cb 100644
--- a/runtime/vm/os_thread_win.h
+++ b/runtime/vm/os_thread_win.h
@@ -20,10 +20,8 @@ typedef DWORD ThreadLocalKey;
typedef DWORD ThreadId;
typedef HANDLE ThreadJoinId;
-
static const ThreadLocalKey kUnsetThreadLocalKey = TLS_OUT_OF_INDEXES;
-
class ThreadInlineImpl {
private:
ThreadInlineImpl() {}
@@ -41,7 +39,6 @@ class ThreadInlineImpl {
DISALLOW_COPY_AND_ASSIGN(ThreadInlineImpl);
};
-
class MutexData {
private:
MutexData() {}
@@ -55,7 +52,6 @@ class MutexData {
DISALLOW_COPY_AND_ASSIGN(MutexData);
};
-
class MonitorWaitData {
public:
static void ThreadExit();
@@ -80,11 +76,9 @@ class MonitorWaitData {
friend class MonitorData;
friend class OS;
-
DISALLOW_COPY_AND_ASSIGN(MonitorWaitData);
};
-
class MonitorData {
private:
MonitorData() {}
@@ -121,10 +115,8 @@ class MonitorData {
DISALLOW_COPY_AND_ASSIGN(MonitorData);
};
-
typedef void (*ThreadDestructor)(void* parameter);
-
class ThreadLocalEntry {
public:
ThreadLocalEntry(ThreadLocalKey key, ThreadDestructor destructor)
@@ -132,7 +124,6 @@ class ThreadLocalEntry {
ThreadLocalKey key() const { return key_; }
-
ThreadDestructor destructor() const { return destructor_; }
private:
@@ -142,11 +133,9 @@ class ThreadLocalEntry {
DISALLOW_ALLOCATION();
};
-
template <typename T>
class MallocGrowableArray;
-
class ThreadLocalData : public AllStatic {
public:
static void RunDestructors();
« no previous file with comments | « runtime/vm/os_thread_macos.cc ('k') | runtime/vm/os_thread_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698