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

Unified Diff: public/platform/WebThreadSafeData.h

Issue 26283005: Move blob-related code to platform/blob (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix win build 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
« no previous file with comments | « public/platform/WebBlobData.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebThreadSafeData.h
diff --git a/public/platform/WebThreadSafeData.h b/public/platform/WebThreadSafeData.h
index 367ca03dd87a4d5d3b2082a7ee4d3032c033ff31..531bae65bfa266a168385f0b7ef94d7a0f83dafd 100644
--- a/public/platform/WebThreadSafeData.h
+++ b/public/platform/WebThreadSafeData.h
@@ -34,7 +34,7 @@
#include "WebCommon.h"
#include "WebPrivatePtr.h"
-#if !BLINK_IMPLEMENTATION
+#if !INSIDE_BLINK
#include <string>
#endif
@@ -49,17 +49,17 @@ public:
WebThreadSafeData() { }
~WebThreadSafeData() { reset(); }
- BLINK_EXPORT void assign(const WebThreadSafeData&);
- BLINK_EXPORT void reset();
+ BLINK_PLATFORM_EXPORT void assign(const WebThreadSafeData&);
+ BLINK_PLATFORM_EXPORT void reset();
- BLINK_EXPORT size_t size() const;
- BLINK_EXPORT const char* data() const;
+ BLINK_PLATFORM_EXPORT size_t size() const;
+ BLINK_PLATFORM_EXPORT const char* data() const;
bool isEmpty() const { return !size(); }
-#if BLINK_IMPLEMENTATION
- WebThreadSafeData(const WTF::PassRefPtr<WebCore::RawData>&);
- WebThreadSafeData& operator=(const WTF::PassRefPtr<WebCore::RawData>&);
+#if INSIDE_BLINK
+ BLINK_PLATFORM_EXPORT WebThreadSafeData(const WTF::PassRefPtr<WebCore::RawData>&);
+ BLINK_PLATFORM_EXPORT WebThreadSafeData& operator=(const WTF::PassRefPtr<WebCore::RawData>&);
#else
operator std::string() const
{
« no previous file with comments | « public/platform/WebBlobData.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698