Index: content/child/fileapi/webfilesystem_impl.h |
diff --git a/content/child/fileapi/webfilesystem_impl.h b/content/child/fileapi/webfilesystem_impl.h |
index 6ca0c5b83d13f90013465a5f00ae4bf6c1589bd9..d9a25840cf1cb2ec0ef1d750fdad14276cbd7dfa 100644 |
--- a/content/child/fileapi/webfilesystem_impl.h |
+++ b/content/child/fileapi/webfilesystem_impl.h |
@@ -7,8 +7,13 @@ |
#include "base/basictypes.h" |
#include "base/compiler_specific.h" |
+#include "base/memory/ref_counted.h" |
#include "third_party/WebKit/public/platform/WebFileSystem.h" |
+namespace base { |
+class MessageLoopProxy; |
+} |
+ |
namespace WebKit { |
class WebURL; |
class WebFileWriter; |
@@ -19,8 +24,8 @@ namespace content { |
class WebFileSystemImpl : public WebKit::WebFileSystem { |
public: |
- WebFileSystemImpl(); |
- virtual ~WebFileSystemImpl() { } |
+ explicit WebFileSystemImpl(base::MessageLoopProxy* main_thread_loop); |
+ virtual ~WebFileSystemImpl(); |
// WebFileSystem implementation. |
virtual void move( |
@@ -66,6 +71,9 @@ class WebFileSystemImpl : public WebKit::WebFileSystem { |
virtual void createSnapshotFileAndReadMetadata( |
const WebKit::WebURL& path, |
WebKit::WebFileSystemCallbacks*); |
+ |
+ private: |
+ scoped_refptr<base::MessageLoopProxy> main_thread_loop_; |
}; |
} // namespace content |