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

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

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 #include "base/files/file_util_proxy.h"
10 #include "base/files/scoped_temp_dir.h" 10 #include "base/files/scoped_temp_dir.h"
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 fileapi::FileSystemContext::DeleteFileSystemCallback DeleteFileSystemHandler( 121 fileapi::FileSystemContext::DeleteFileSystemCallback DeleteFileSystemHandler(
122 WebKit::WebFileSystemCallbacks* callbacks); 122 WebKit::WebFileSystemCallbacks* callbacks);
123 fileapi::FileSystemOperation::SnapshotFileCallback 123 fileapi::FileSystemOperation::SnapshotFileCallback
124 SnapshotFileHandler(const GURL& blob_url, 124 SnapshotFileHandler(const GURL& blob_url,
125 WebKit::WebFileSystemCallbacks* callbacks); 125 WebKit::WebFileSystemCallbacks* callbacks);
126 void DidFinish(WebKit::WebFileSystemCallbacks* callbacks, 126 void DidFinish(WebKit::WebFileSystemCallbacks* callbacks,
127 base::PlatformFileError result); 127 base::PlatformFileError result);
128 void DidGetMetadata(WebKit::WebFileSystemCallbacks* callbacks, 128 void DidGetMetadata(WebKit::WebFileSystemCallbacks* callbacks,
129 base::PlatformFileError result, 129 base::PlatformFileError result,
130 const base::PlatformFileInfo& info, 130 const base::PlatformFileInfo& info,
131 const FilePath& platform_path); 131 const base::FilePath& platform_path);
132 void DidReadDirectory( 132 void DidReadDirectory(
133 WebKit::WebFileSystemCallbacks* callbacks, 133 WebKit::WebFileSystemCallbacks* callbacks,
134 base::PlatformFileError result, 134 base::PlatformFileError result,
135 const std::vector<base::FileUtilProxy::Entry>& entries, 135 const std::vector<base::FileUtilProxy::Entry>& entries,
136 bool has_more); 136 bool has_more);
137 void DidOpenFileSystem(WebKit::WebFileSystemCallbacks* callbacks, 137 void DidOpenFileSystem(WebKit::WebFileSystemCallbacks* callbacks,
138 base::PlatformFileError result, 138 base::PlatformFileError result,
139 const std::string& name, const GURL& root); 139 const std::string& name, const GURL& root);
140 void DidDeleteFileSystem(WebKit::WebFileSystemCallbacks* callbacks, 140 void DidDeleteFileSystem(WebKit::WebFileSystemCallbacks* callbacks,
141 base::PlatformFileError result); 141 base::PlatformFileError result);
142 void DidCreateSnapshotFile( 142 void DidCreateSnapshotFile(
143 const GURL& blob_url, 143 const GURL& blob_url,
144 WebKit::WebFileSystemCallbacks* callbacks, 144 WebKit::WebFileSystemCallbacks* callbacks,
145 base::PlatformFileError result, 145 base::PlatformFileError result,
146 const base::PlatformFileInfo& info, 146 const base::PlatformFileInfo& info,
147 const FilePath& platform_path, 147 const base::FilePath& platform_path,
148 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref); 148 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref);
149 149
150 // A temporary directory for FileSystem API. 150 // A temporary directory for FileSystem API.
151 base::ScopedTempDir file_system_dir_; 151 base::ScopedTempDir file_system_dir_;
152 152
153 scoped_refptr<fileapi::FileSystemContext> file_system_context_; 153 scoped_refptr<fileapi::FileSystemContext> file_system_context_;
154 154
155 DISALLOW_COPY_AND_ASSIGN(SimpleFileSystem); 155 DISALLOW_COPY_AND_ASSIGN(SimpleFileSystem);
156 }; 156 };
157 157
158 #endif // WEBKIT_TOOLS_TEST_SHELL_SIMPLE_FILE_SYSTEM_H_ 158 #endif // WEBKIT_TOOLS_TEST_SHELL_SIMPLE_FILE_SYSTEM_H_
OLDNEW
« no previous file with comments | « webkit/tools/test_shell/simple_appcache_system.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