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

Unified Diff: Source/wtf/MainThread.h

Issue 15861022: Build WTF as dll in component build (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix AutoDrainedPool ctor and ThreadSpecificThreadExit exports Created 7 years, 7 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 | « Source/wtf/MD5.h ('k') | Source/wtf/MainThread.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/MainThread.h
diff --git a/Source/wtf/MainThread.h b/Source/wtf/MainThread.h
index 4649e33f82c04c6abea02426f2f74fffed6deb08..f9db1e2e662f96489cd7d19c952ef333c2c4c70e 100644
--- a/Source/wtf/MainThread.h
+++ b/Source/wtf/MainThread.h
@@ -32,20 +32,22 @@
#include <stdint.h>
+#include "wtf/WTFExport.h"
+
namespace WTF {
typedef uint32_t ThreadIdentifier;
typedef void MainThreadFunction(void*);
// Must be called from the main thread.
-void initializeMainThread();
+WTF_EXPORT void initializeMainThread(void (*)(MainThreadFunction, void*));
-void callOnMainThread(MainThreadFunction*, void* context);
+WTF_EXPORT void callOnMainThread(MainThreadFunction*, void* context);
template<typename> class Function;
-void callOnMainThread(const Function<void ()>&);
+WTF_EXPORT void callOnMainThread(const Function<void ()>&);
-bool isMainThread();
+WTF_EXPORT bool isMainThread();
} // namespace WTF
« no previous file with comments | « Source/wtf/MD5.h ('k') | Source/wtf/MainThread.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698