OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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_COMMON_FILEAPI_WEBFILESYSTEM_IMPL_H_ | 5 #ifndef CONTENT_COMMON_FILEAPI_WEBFILESYSTEM_IMPL_H_ |
6 #define CONTENT_COMMON_FILEAPI_WEBFILESYSTEM_IMPL_H_ | 6 #define CONTENT_COMMON_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 "third_party/WebKit/Source/WebKit/chromium/public/platform/WebFileSyste
m.h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebFileSyste
m.h" |
11 | 11 |
12 namespace WebKit { | 12 namespace WebKit { |
13 class WebURL; | 13 class WebURL; |
14 class WebFileWriter; | 14 class WebFileWriter; |
15 class WebFileWriterClient; | 15 class WebFileWriterClient; |
16 } | 16 } |
17 | 17 |
| 18 namespace content { |
| 19 |
18 class WebFileSystemImpl : public WebKit::WebFileSystem { | 20 class WebFileSystemImpl : public WebKit::WebFileSystem { |
19 public: | 21 public: |
20 WebFileSystemImpl(); | 22 WebFileSystemImpl(); |
21 virtual ~WebFileSystemImpl() { } | 23 virtual ~WebFileSystemImpl() { } |
22 | 24 |
23 // WebFileSystem implementation. | 25 // WebFileSystem implementation. |
24 virtual void move( | 26 virtual void move( |
25 const WebKit::WebURL& src_path, | 27 const WebKit::WebURL& src_path, |
26 const WebKit::WebURL& dest_path, | 28 const WebKit::WebURL& dest_path, |
27 WebKit::WebFileSystemCallbacks*) OVERRIDE; | 29 WebKit::WebFileSystemCallbacks*) OVERRIDE; |
(...skipping 28 matching lines...) Expand all Loading... |
56 const WebKit::WebURL& path, | 58 const WebKit::WebURL& path, |
57 WebKit::WebFileSystemCallbacks*) OVERRIDE; | 59 WebKit::WebFileSystemCallbacks*) OVERRIDE; |
58 virtual WebKit::WebFileWriter* createFileWriter( | 60 virtual WebKit::WebFileWriter* createFileWriter( |
59 const WebKit::WebURL& path, WebKit::WebFileWriterClient*) OVERRIDE; | 61 const WebKit::WebURL& path, WebKit::WebFileWriterClient*) OVERRIDE; |
60 virtual void createSnapshotFileAndReadMetadata( | 62 virtual void createSnapshotFileAndReadMetadata( |
61 const WebKit::WebURL& blobURL, | 63 const WebKit::WebURL& blobURL, |
62 const WebKit::WebURL& path, | 64 const WebKit::WebURL& path, |
63 WebKit::WebFileSystemCallbacks*) OVERRIDE; | 65 WebKit::WebFileSystemCallbacks*) OVERRIDE; |
64 }; | 66 }; |
65 | 67 |
| 68 } // namespace content |
| 69 |
66 #endif // CONTENT_COMMON_FILEAPI_WEBFILESYSTEM_IMPL_H_ | 70 #endif // CONTENT_COMMON_FILEAPI_WEBFILESYSTEM_IMPL_H_ |
OLD | NEW |