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

Side by Side Diff: content/common_child/fileapi/webfilesystem_impl.h

Issue 16325022: move content/common_child to content/child (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 6 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
OLDNEW
(Empty)
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.
4
5 #ifndef CONTENT_COMMON_CHILD_FILEAPI_WEBFILESYSTEM_IMPL_H_
6 #define CONTENT_COMMON_CHILD_FILEAPI_WEBFILESYSTEM_IMPL_H_
7
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "third_party/WebKit/public/platform/WebFileSystem.h"
11
12 namespace WebKit {
13 class WebURL;
14 class WebFileWriter;
15 class WebFileWriterClient;
16 }
17
18 namespace content {
19
20 class WebFileSystemImpl : public WebKit::WebFileSystem {
21 public:
22 WebFileSystemImpl();
23 virtual ~WebFileSystemImpl() { }
24
25 // WebFileSystem implementation.
26 virtual void move(
27 const WebKit::WebURL& src_path,
28 const WebKit::WebURL& dest_path,
29 WebKit::WebFileSystemCallbacks*) OVERRIDE;
30 virtual void copy(
31 const WebKit::WebURL& src_path,
32 const WebKit::WebURL& dest_path,
33 WebKit::WebFileSystemCallbacks*) OVERRIDE;
34 virtual void remove(
35 const WebKit::WebURL& path,
36 WebKit::WebFileSystemCallbacks*) OVERRIDE;
37 virtual void removeRecursively(
38 const WebKit::WebURL& path,
39 WebKit::WebFileSystemCallbacks*) OVERRIDE;
40 virtual void readMetadata(
41 const WebKit::WebURL& path,
42 WebKit::WebFileSystemCallbacks*) OVERRIDE;
43 virtual void createFile(
44 const WebKit::WebURL& path,
45 bool exclusive,
46 WebKit::WebFileSystemCallbacks*) OVERRIDE;
47 virtual void createDirectory(
48 const WebKit::WebURL& path,
49 bool exclusive,
50 WebKit::WebFileSystemCallbacks*) OVERRIDE;
51 virtual void fileExists(
52 const WebKit::WebURL& path,
53 WebKit::WebFileSystemCallbacks*) OVERRIDE;
54 virtual void directoryExists(
55 const WebKit::WebURL& path,
56 WebKit::WebFileSystemCallbacks*) OVERRIDE;
57 virtual void readDirectory(
58 const WebKit::WebURL& path,
59 WebKit::WebFileSystemCallbacks*) OVERRIDE;
60 virtual WebKit::WebFileWriter* createFileWriter(
61 const WebKit::WebURL& path, WebKit::WebFileWriterClient*) OVERRIDE;
62 virtual void createSnapshotFileAndReadMetadata(
63 const WebKit::WebURL& path,
64 WebKit::WebFileSystemCallbacks*);
65 };
66
67 } // namespace content
68
69 #endif // CONTENT_COMMON_CHILD_FILEAPI_WEBFILESYSTEM_IMPL_H_
OLDNEW
« no previous file with comments | « content/common_child/fileapi/webfilesystem_callback_adapters.cc ('k') | content/common_child/fileapi/webfilesystem_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698