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

Side by Side Diff: trunk/src/content/child/fileapi/webfilesystem_impl.h

Issue 21334002: Revert 214160 "Implement Worker-MainThread bridge for FileSystem..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 4 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 unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:mergeinfo
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_CHILD_FILEAPI_WEBFILESYSTEM_IMPL_H_ 5 #ifndef CONTENT_CHILD_FILEAPI_WEBFILESYSTEM_IMPL_H_
6 #define CONTENT_CHILD_FILEAPI_WEBFILESYSTEM_IMPL_H_ 6 #define CONTENT_CHILD_FILEAPI_WEBFILESYSTEM_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted.h"
11 #include "third_party/WebKit/public/platform/WebFileSystem.h" 10 #include "third_party/WebKit/public/platform/WebFileSystem.h"
12 11
13 namespace base {
14 class MessageLoopProxy;
15 }
16
17 namespace WebKit { 12 namespace WebKit {
18 class WebURL; 13 class WebURL;
19 class WebFileWriter; 14 class WebFileWriter;
20 class WebFileWriterClient; 15 class WebFileWriterClient;
21 } 16 }
22 17
23 namespace content { 18 namespace content {
24 19
25 class WebFileSystemImpl : public WebKit::WebFileSystem { 20 class WebFileSystemImpl : public WebKit::WebFileSystem {
26 public: 21 public:
27 explicit WebFileSystemImpl(base::MessageLoopProxy* main_thread_loop); 22 WebFileSystemImpl();
28 virtual ~WebFileSystemImpl(); 23 virtual ~WebFileSystemImpl() { }
29 24
30 // WebFileSystem implementation. 25 // WebFileSystem implementation.
31 virtual void move( 26 virtual void move(
32 const WebKit::WebURL& src_path, 27 const WebKit::WebURL& src_path,
33 const WebKit::WebURL& dest_path, 28 const WebKit::WebURL& dest_path,
34 WebKit::WebFileSystemCallbacks*) OVERRIDE; 29 WebKit::WebFileSystemCallbacks*) OVERRIDE;
35 virtual void copy( 30 virtual void copy(
36 const WebKit::WebURL& src_path, 31 const WebKit::WebURL& src_path,
37 const WebKit::WebURL& dest_path, 32 const WebKit::WebURL& dest_path,
38 WebKit::WebFileSystemCallbacks*) OVERRIDE; 33 WebKit::WebFileSystemCallbacks*) OVERRIDE;
(...skipping 25 matching lines...) Expand all
64 WebKit::WebFileSystemCallbacks*) OVERRIDE; 59 WebKit::WebFileSystemCallbacks*) OVERRIDE;
65 virtual WebKit::WebFileWriter* createFileWriter( 60 virtual WebKit::WebFileWriter* createFileWriter(
66 const WebKit::WebURL& path, WebKit::WebFileWriterClient*) OVERRIDE; 61 const WebKit::WebURL& path, WebKit::WebFileWriterClient*) OVERRIDE;
67 virtual void createFileWriter( 62 virtual void createFileWriter(
68 const WebKit::WebURL& path, 63 const WebKit::WebURL& path,
69 WebKit::WebFileWriterClient*, 64 WebKit::WebFileWriterClient*,
70 WebKit::WebFileSystemCallbacks*) OVERRIDE; 65 WebKit::WebFileSystemCallbacks*) OVERRIDE;
71 virtual void createSnapshotFileAndReadMetadata( 66 virtual void createSnapshotFileAndReadMetadata(
72 const WebKit::WebURL& path, 67 const WebKit::WebURL& path,
73 WebKit::WebFileSystemCallbacks*); 68 WebKit::WebFileSystemCallbacks*);
74
75 private:
76 scoped_refptr<base::MessageLoopProxy> main_thread_loop_;
77 }; 69 };
78 70
79 } // namespace content 71 } // namespace content
80 72
81 #endif // CONTENT_CHILD_FILEAPI_WEBFILESYSTEM_IMPL_H_ 73 #endif // CONTENT_CHILD_FILEAPI_WEBFILESYSTEM_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698