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

Side by Side Diff: webkit/tools/test_shell/simple_file_system.h

Issue 14671020: FileAPI: Copy base::FileUtilProxy::Entry to fileapi::DirectoryEntry (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win build and remove base/ change Created 7 years, 7 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
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 WEBKIT_TOOLS_TEST_SHELL_SIMPLE_FILE_SYSTEM_H_ 5 #ifndef WEBKIT_TOOLS_TEST_SHELL_SIMPLE_FILE_SYSTEM_H_
6 #define WEBKIT_TOOLS_TEST_SHELL_SIMPLE_FILE_SYSTEM_H_ 6 #define WEBKIT_TOOLS_TEST_SHELL_SIMPLE_FILE_SYSTEM_H_
7 7
8 #include <vector> 8 #include <vector>
9 #include "base/files/file_util_proxy.h" 9
10 #include "base/files/scoped_temp_dir.h" 10 #include "base/files/scoped_temp_dir.h"
11 #include "base/id_map.h" 11 #include "base/id_map.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "third_party/WebKit/Source/Platform/chromium/public/WebFileSystem.h" 13 #include "third_party/WebKit/Source/Platform/chromium/public/WebFileSystem.h"
14 #include "third_party/WebKit/Source/Platform/chromium/public/WebFileSystemType.h " 14 #include "third_party/WebKit/Source/Platform/chromium/public/WebFileSystemType.h "
15 #include "webkit/fileapi/file_system_context.h" 15 #include "webkit/fileapi/file_system_context.h"
16 #include "webkit/fileapi/file_system_operation.h" 16 #include "webkit/fileapi/file_system_operation.h"
17 #include "webkit/fileapi/file_system_types.h" 17 #include "webkit/fileapi/file_system_types.h"
18 18
19 namespace WebKit { 19 namespace WebKit {
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 WebKit::WebFileSystemCallbacks* callbacks); 121 WebKit::WebFileSystemCallbacks* callbacks);
122 void DidFinish(WebKit::WebFileSystemCallbacks* callbacks, 122 void DidFinish(WebKit::WebFileSystemCallbacks* callbacks,
123 base::PlatformFileError result); 123 base::PlatformFileError result);
124 void DidGetMetadata(WebKit::WebFileSystemCallbacks* callbacks, 124 void DidGetMetadata(WebKit::WebFileSystemCallbacks* callbacks,
125 base::PlatformFileError result, 125 base::PlatformFileError result,
126 const base::PlatformFileInfo& info, 126 const base::PlatformFileInfo& info,
127 const base::FilePath& platform_path); 127 const base::FilePath& platform_path);
128 void DidReadDirectory( 128 void DidReadDirectory(
129 WebKit::WebFileSystemCallbacks* callbacks, 129 WebKit::WebFileSystemCallbacks* callbacks,
130 base::PlatformFileError result, 130 base::PlatformFileError result,
131 const std::vector<base::FileUtilProxy::Entry>& entries, 131 const std::vector<fileapi::DirectoryEntry>& entries,
132 bool has_more); 132 bool has_more);
133 void DidOpenFileSystem(WebKit::WebFileSystemCallbacks* callbacks, 133 void DidOpenFileSystem(WebKit::WebFileSystemCallbacks* callbacks,
134 base::PlatformFileError result, 134 base::PlatformFileError result,
135 const std::string& name, const GURL& root); 135 const std::string& name, const GURL& root);
136 void DidDeleteFileSystem(WebKit::WebFileSystemCallbacks* callbacks, 136 void DidDeleteFileSystem(WebKit::WebFileSystemCallbacks* callbacks,
137 base::PlatformFileError result); 137 base::PlatformFileError result);
138 void DidCreateSnapshotFile( 138 void DidCreateSnapshotFile(
139 WebKit::WebFileSystemCallbacks* callbacks, 139 WebKit::WebFileSystemCallbacks* callbacks,
140 base::PlatformFileError result, 140 base::PlatformFileError result,
141 const base::PlatformFileInfo& info, 141 const base::PlatformFileInfo& info,
142 const base::FilePath& platform_path, 142 const base::FilePath& platform_path,
143 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref); 143 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref);
144 void DidCreateSnapshotFile_Deprecated( 144 void DidCreateSnapshotFile_Deprecated(
145 const GURL& blob_url, 145 const GURL& blob_url,
146 WebKit::WebFileSystemCallbacks* callbacks, 146 WebKit::WebFileSystemCallbacks* callbacks,
147 base::PlatformFileError result, 147 base::PlatformFileError result,
148 const base::PlatformFileInfo& info, 148 const base::PlatformFileInfo& info,
149 const base::FilePath& platform_path, 149 const base::FilePath& platform_path,
150 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref); 150 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref);
151 151
152 // A temporary directory for FileSystem API. 152 // A temporary directory for FileSystem API.
153 base::ScopedTempDir file_system_dir_; 153 base::ScopedTempDir file_system_dir_;
154 154
155 scoped_refptr<fileapi::FileSystemContext> file_system_context_; 155 scoped_refptr<fileapi::FileSystemContext> file_system_context_;
156 156
157 DISALLOW_COPY_AND_ASSIGN(SimpleFileSystem); 157 DISALLOW_COPY_AND_ASSIGN(SimpleFileSystem);
158 }; 158 };
159 159
160 #endif // WEBKIT_TOOLS_TEST_SHELL_SIMPLE_FILE_SYSTEM_H_ 160 #endif // WEBKIT_TOOLS_TEST_SHELL_SIMPLE_FILE_SYSTEM_H_
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/ppb_file_ref_impl.cc ('k') | webkit/tools/test_shell/simple_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698