#include "wtf/text/StringHash.h"
#include "wtf/text/WTFString.h"
-using blink::WebBlobData;
-using blink::WebBlobRegistry;
-using blink::WebThreadSafeData;
-using WTF::ThreadSpecific;
-
-namespace WebCore {
+namespace blink {
class BlobOriginCache : public SecurityOriginCache {
public:
static WebBlobRegistry* blobRegistry()
{
- return blink::Platform::current()->blobRegistry();
+ return Platform::current()->blobRegistry();
}
typedef HashMap<String, RefPtr<SecurityOrigin> > BlobURLOriginMap;
void BlobRegistry::registerBlobData(const String& uuid, PassOwnPtr<BlobData> data)
{
- blobRegistry()->registerBlobData(uuid, blink::WebBlobData(data));
+ blobRegistry()->registerBlobData(uuid, WebBlobData(data));
}
void BlobRegistry::addBlobDataRef(const String& uuid)
return 0;
}
-} // namespace WebCore
+} // namespace blink