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

Unified Diff: content/common/fileapi/webblobregistry_impl.h

Issue 12330162: Use ThreadSafeSender in a couple of places. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
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
Index: content/common/fileapi/webblobregistry_impl.h
===================================================================
--- content/common/fileapi/webblobregistry_impl.h (revision 184814)
+++ content/common/fileapi/webblobregistry_impl.h (working copy)
@@ -5,6 +5,7 @@
#ifndef CONTENT_COMMON_FILEAPI_WEBBLOBREGISTRY_IMPL_H_
#define CONTENT_COMMON_FILEAPI_WEBBLOBREGISTRY_IMPL_H_
+#include "base/memory/ref_counted.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebBlobRegistry.h"
namespace WebKit {
@@ -13,14 +14,13 @@
}
namespace content {
-class ChildThread;
+class ThreadSafeSender;
class WebBlobRegistryImpl : public WebKit::WebBlobRegistry {
public:
- explicit WebBlobRegistryImpl(ChildThread* child_thread);
+ explicit WebBlobRegistryImpl(ThreadSafeSender* sender);
virtual ~WebBlobRegistryImpl();
- // See WebBlobRegistry.h for documentation on these functions.
virtual void registerBlobURL(const WebKit::WebURL& url,
WebKit::WebBlobData& data);
virtual void registerBlobURL(const WebKit::WebURL& url,
@@ -28,7 +28,7 @@
virtual void unregisterBlobURL(const WebKit::WebURL& url);
private:
- ChildThread* child_thread_;
+ scoped_refptr<ThreadSafeSender> sender_;
};
} // namespace content
« no previous file with comments | « no previous file | content/common/fileapi/webblobregistry_impl.cc » ('j') | content/common/fileapi/webblobregistry_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698