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

Unified Diff: WebCore/platform/network/BlobData.h

Issue 12183004: Patch 3 in the series. (Closed) Base URL: http://svn.webkit.org/repository/webkit/trunk/Source/
Patch Set: Created 7 years, 10 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 | « WebCore/platform/gtk/AsyncFileSystemGtk.cpp ('k') | WebCore/platform/network/BlobData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: WebCore/platform/network/BlobData.h
===================================================================
--- WebCore/platform/network/BlobData.h (revision 141735)
+++ WebCore/platform/network/BlobData.h (working copy)
@@ -202,6 +202,22 @@
BlobDataItemList m_items;
};
+// FIXME: This class is mostly place holder until I get farther along in landing
+// https://codereview.chromium.org/11192017/.
+class BlobDataHandle : public ThreadSafeRefCounted<BlobDataHandle> {
+public:
+ static PassRefPtr<BlobDataHandle> create(PassOwnPtr<BlobData> data, long long size)
+ {
+ return adoptRef(new BlobDataHandle(data, size));
+ }
+
+ ~BlobDataHandle();
+
+private:
+ BlobDataHandle(PassOwnPtr<BlobData> data, long long size);
+ KURL m_internalURL;
+};
+
} // namespace WebCore
#endif // BlobData_h
« no previous file with comments | « WebCore/platform/gtk/AsyncFileSystemGtk.cpp ('k') | WebCore/platform/network/BlobData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698