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

Unified Diff: Source/platform/CrossThreadCopier.h

Issue 31483002: Move CrossThreadCopier.cpp/.h to platform/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 2 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
Index: Source/platform/CrossThreadCopier.h
diff --git a/Source/core/platform/CrossThreadCopier.h b/Source/platform/CrossThreadCopier.h
similarity index 95%
rename from Source/core/platform/CrossThreadCopier.h
rename to Source/platform/CrossThreadCopier.h
index 8e8220b728e0c29a82bc7bc09930b98d8e01701a..0adbf860d1a5026e9614682c7c7555deb1022c9c 100644
--- a/Source/core/platform/CrossThreadCopier.h
+++ b/Source/platform/CrossThreadCopier.h
@@ -31,6 +31,7 @@
#ifndef CrossThreadCopier_h
#define CrossThreadCopier_h
+#include "platform/PlatformExport.h"
#include "wtf/Assertions.h"
#include "wtf/Forward.h"
#include "wtf/PassOwnPtr.h"
@@ -105,27 +106,27 @@ namespace WebCore {
template<> struct CrossThreadCopierBase<false, false, KURL> {
typedef KURL Type;
- static Type copy(const KURL&);
+ PLATFORM_EXPORT static Type copy(const KURL&);
};
template<> struct CrossThreadCopierBase<false, false, String> {
typedef String Type;
- static Type copy(const String&);
+ PLATFORM_EXPORT static Type copy(const String&);
};
template<> struct CrossThreadCopierBase<false, false, ResourceError> {
typedef ResourceError Type;
- static Type copy(const ResourceError&);
+ PLATFORM_EXPORT static Type copy(const ResourceError&);
};
template<> struct CrossThreadCopierBase<false, false, ResourceRequest> {
typedef PassOwnPtr<CrossThreadResourceRequestData> Type;
- static Type copy(const ResourceRequest&);
+ PLATFORM_EXPORT static Type copy(const ResourceRequest&);
};
template<> struct CrossThreadCopierBase<false, false, ResourceResponse> {
typedef PassOwnPtr<CrossThreadResourceResponseData> Type;
- static Type copy(const ResourceResponse&);
+ PLATFORM_EXPORT static Type copy(const ResourceResponse&);
};
template<typename T> struct CrossThreadCopier : public CrossThreadCopierBase<WTF::IsConvertibleToInteger<T>::value,
« no previous file with comments | « Source/modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp ('k') | Source/platform/CrossThreadCopier.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698