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

Unified Diff: runtime/bin/thread.h

Issue 1225423002: Add forward-declarations in attempt to fix Mac/Windows build. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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 | « no previous file | runtime/vm/os_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/thread.h
diff --git a/runtime/bin/thread.h b/runtime/bin/thread.h
index eb99e1039ad58e63246e6c1e674485fe3830b726..60dc75f24f465dafe62a6a7b0e051bd5fa88411e 100644
--- a/runtime/bin/thread.h
+++ b/runtime/bin/thread.h
@@ -7,6 +7,14 @@
#include "platform/globals.h"
+namespace dart {
+namespace bin {
+class Thread;
+class Mutex;
+class Monitor;
+}
+}
+
// Declare the OS-specific types ahead of defining the generic classes.
#if defined(TARGET_OS_ANDROID)
#include "bin/thread_android.h"
« no previous file with comments | « no previous file | runtime/vm/os_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698