1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_COMMON_FILEAPI_WEBBLOBREGISTRY_IMPL_H_
6 #define CONTENT_COMMON_FILEAPI_WEBBLOBREGISTRY_IMPL_H_
8 #include "base/memory/ref_counted.h"
9 #include "third_party/WebKit/Source/Platform/chromium/public/WebBlobRegistry.h"
17 class ThreadSafeSender
;
19 class WebBlobRegistryImpl
: public WebKit::WebBlobRegistry
{
21 explicit WebBlobRegistryImpl(ThreadSafeSender
* sender
);
22 virtual ~WebBlobRegistryImpl();
24 virtual void registerBlobURL(const WebKit::WebURL
& url
,
25 WebKit::WebBlobData
& data
);
26 virtual void registerBlobURL(const WebKit::WebURL
& url
,
27 const WebKit::WebURL
& src_url
);
28 virtual void unregisterBlobURL(const WebKit::WebURL
& url
);
31 scoped_refptr
<ThreadSafeSender
> sender_
;
34 } // namespace content
36 #endif // CONTENT_COMMON_FILEAPI_WEBBLOBREGISTRY_IMPL_H_