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

Unified Diff: WebCore/fileapi/BlobURL.h

Issue 11192017: ********** WebCore blob hacking (Closed) Base URL: http://svn.webkit.org/repository/webkit/trunk/Source/
Patch Set: Created 7 years, 11 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/fileapi/Blob.cpp ('k') | WebCore/fileapi/BlobURL.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: WebCore/fileapi/BlobURL.h
===================================================================
--- WebCore/fileapi/BlobURL.h (revision 140218)
+++ WebCore/fileapi/BlobURL.h (working copy)
@@ -37,22 +37,17 @@
class SecurityOrigin;
-// Blob URLs are of the form
+// Public blob URLs are of the form
// blob:%escaped_origin%/%UUID%
-// For public urls, the origin of the host page is encoded in the URL value to
+// The origin of the host page is encoded in the URL value to
// allow easy lookup of the origin when security checks need to be performed.
// When loading blobs via ResourceHandle or when reading blobs via FileReader
// the loader conducts security checks that examine the origin of host page
-// encoded in the public blob url. The origin baked into internal blob urls
-// is a simple constant value, "blobinternal://", internal urls should not
-// be used with ResourceHandle or FileReader.
+// encoded in the blob url.
class BlobURL {
public:
static KURL createPublicURL(SecurityOrigin*);
- static KURL createInternalURL();
static String getOrigin(const KURL&);
- static String getIdentifier(const KURL&);
- static const char* blobProtocol() { return kBlobProtocol; }
private:
static KURL createBlobURL(const String& originString);
« no previous file with comments | « WebCore/fileapi/Blob.cpp ('k') | WebCore/fileapi/BlobURL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698