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

Unified Diff: public/platform/WebThreadSafeData.h

Issue 1162773003: [Blob] Dependencies for blob storage testing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added build() method Created 5 years, 6 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/WebBlobRegistry.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 2b9abac517bc0b52f230265e301f9d91c7040bed..d741f3f46135498f8455cfe84cfde68903c5a904 100644
--- a/public/platform/WebThreadSafeData.h
+++ b/public/platform/WebThreadSafeData.h
@@ -47,6 +47,8 @@ class RawData;
class WebThreadSafeData {
public:
WebThreadSafeData() { }
+ BLINK_PLATFORM_EXPORT WebThreadSafeData(const char* data, size_t length);
+
~WebThreadSafeData() { reset(); }
BLINK_PLATFORM_EXPORT void assign(const WebThreadSafeData&);
@@ -57,6 +59,9 @@ public:
bool isEmpty() const { return !size(); }
+ BLINK_PLATFORM_EXPORT WebThreadSafeData(const WebThreadSafeData&);
+ BLINK_PLATFORM_EXPORT WebThreadSafeData& operator=(const WebThreadSafeData&);
+
#if INSIDE_BLINK
BLINK_PLATFORM_EXPORT WebThreadSafeData(const WTF::PassRefPtr<RawData>&);
BLINK_PLATFORM_EXPORT WebThreadSafeData& operator=(const WTF::PassRefPtr<RawData>&);
« no previous file with comments | « public/platform/WebBlobRegistry.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698