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

Side by Side Diff: content/common/file_system/webfilesystem_impl.h

Issue 9558006: Rename content/{common,browser}/file_system to fileapi and move blob stuff into it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 9 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) 2011 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_FILE_SYSTEM_WEBFILESYSTEM_IMPL_H_
6 #define CONTENT_COMMON_FILE_SYSTEM_WEBFILESYSTEM_IMPL_H_
7
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebFileSyste m.h"
11
12 namespace WebKit {
13 class WebURL;
14 class WebFileWriter;
15 class WebFileWriterClient;
16 }
17
18 class WebFileSystemImpl : public WebKit::WebFileSystem {
19 public:
20 WebFileSystemImpl();
21 virtual ~WebFileSystemImpl() { }
22
23 // WebFileSystem implementation.
24 virtual void move(
25 const WebKit::WebURL& src_path,
26 const WebKit::WebURL& dest_path,
27 WebKit::WebFileSystemCallbacks*) OVERRIDE;
28 virtual void copy(
29 const WebKit::WebURL& src_path,
30 const WebKit::WebURL& dest_path,
31 WebKit::WebFileSystemCallbacks*) OVERRIDE;
32 virtual void remove(
33 const WebKit::WebURL& path,
34 WebKit::WebFileSystemCallbacks*) OVERRIDE;
35 virtual void removeRecursively(
36 const WebKit::WebURL& path,
37 WebKit::WebFileSystemCallbacks*) OVERRIDE;
38 virtual void readMetadata(
39 const WebKit::WebURL& path,
40 WebKit::WebFileSystemCallbacks*) OVERRIDE;
41 virtual void createFile(
42 const WebKit::WebURL& path,
43 bool exclusive,
44 WebKit::WebFileSystemCallbacks*) OVERRIDE;
45 virtual void createDirectory(
46 const WebKit::WebURL& path,
47 bool exclusive,
48 WebKit::WebFileSystemCallbacks*) OVERRIDE;
49 virtual void fileExists(
50 const WebKit::WebURL& path,
51 WebKit::WebFileSystemCallbacks*) OVERRIDE;
52 virtual void directoryExists(
53 const WebKit::WebURL& path,
54 WebKit::WebFileSystemCallbacks*) OVERRIDE;
55 virtual void readDirectory(
56 const WebKit::WebURL& path,
57 WebKit::WebFileSystemCallbacks*) OVERRIDE;
58 virtual WebKit::WebFileWriter* createFileWriter(
59 const WebKit::WebURL& path, WebKit::WebFileWriterClient*) OVERRIDE;
60 virtual void createSnapshotFileAndReadMetadata(
61 const WebKit::WebURL& blobURL,
62 const WebKit::WebURL& path,
63 WebKit::WebFileSystemCallbacks*) OVERRIDE;
64 };
65
66 #endif // CONTENT_COMMON_FILE_SYSTEM_WEBFILESYSTEM_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698