OLD | NEW |
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 <map> | 8 #include <map> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 | 50 |
51 // WorkerThread::Observer implementation. | 51 // WorkerThread::Observer implementation. |
52 void WillStopCurrentWorkerThread() override; | 52 void WillStopCurrentWorkerThread() override; |
53 | 53 |
54 // WebFileSystem implementation. | 54 // WebFileSystem implementation. |
55 void openFileSystem(const blink::WebURL& storage_partition, | 55 void openFileSystem(const blink::WebURL& storage_partition, |
56 const blink::WebFileSystemType type, | 56 const blink::WebFileSystemType type, |
57 blink::WebFileSystemCallbacks) override; | 57 blink::WebFileSystemCallbacks) override; |
58 void resolveURL(const blink::WebURL& filesystem_url, | 58 void resolveURL(const blink::WebURL& filesystem_url, |
59 blink::WebFileSystemCallbacks) override; | 59 blink::WebFileSystemCallbacks) override; |
60 void deleteFileSystem(const blink::WebURL& storage_partition, | |
61 const blink::WebFileSystemType type, | |
62 blink::WebFileSystemCallbacks) override; | |
63 void move(const blink::WebURL& src_path, | 60 void move(const blink::WebURL& src_path, |
64 const blink::WebURL& dest_path, | 61 const blink::WebURL& dest_path, |
65 blink::WebFileSystemCallbacks) override; | 62 blink::WebFileSystemCallbacks) override; |
66 void copy(const blink::WebURL& src_path, | 63 void copy(const blink::WebURL& src_path, |
67 const blink::WebURL& dest_path, | 64 const blink::WebURL& dest_path, |
68 blink::WebFileSystemCallbacks) override; | 65 blink::WebFileSystemCallbacks) override; |
69 void remove(const blink::WebURL& path, | 66 void remove(const blink::WebURL& path, |
70 blink::WebFileSystemCallbacks) override; | 67 blink::WebFileSystemCallbacks) override; |
71 void removeRecursively(const blink::WebURL& path, | 68 void removeRecursively(const blink::WebURL& path, |
72 blink::WebFileSystemCallbacks) override; | 69 blink::WebFileSystemCallbacks) override; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 CallbacksMap callbacks_; | 106 CallbacksMap callbacks_; |
110 int next_callbacks_id_; | 107 int next_callbacks_id_; |
111 WaitableCallbackResultsMap waitable_results_; | 108 WaitableCallbackResultsMap waitable_results_; |
112 | 109 |
113 DISALLOW_COPY_AND_ASSIGN(WebFileSystemImpl); | 110 DISALLOW_COPY_AND_ASSIGN(WebFileSystemImpl); |
114 }; | 111 }; |
115 | 112 |
116 } // namespace content | 113 } // namespace content |
117 | 114 |
118 #endif // CONTENT_CHILD_FILEAPI_WEBFILESYSTEM_IMPL_H_ | 115 #endif // CONTENT_CHILD_FILEAPI_WEBFILESYSTEM_IMPL_H_ |
OLD | NEW |