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

Unified Diff: trunk/src/content/child/fileapi/webfilesystem_impl.h

Issue 21008006: Revert 214599 "Revert 214160 "Implement Worker-MainThread bridge..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 5 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: trunk/src/content/child/fileapi/webfilesystem_impl.h
===================================================================
--- trunk/src/content/child/fileapi/webfilesystem_impl.h (revision 214653)
+++ trunk/src/content/child/fileapi/webfilesystem_impl.h (working copy)
@@ -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 @@
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 @@
virtual void createSnapshotFileAndReadMetadata(
const WebKit::WebURL& path,
WebKit::WebFileSystemCallbacks*);
+
+ private:
+ scoped_refptr<base::MessageLoopProxy> main_thread_loop_;
};
} // namespace content
Property changes on: trunk/src/content/child/fileapi/webfilesystem_impl.h
___________________________________________________________________
Deleted: svn:mergeinfo

Powered by Google App Engine
This is Rietveld 408576698