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

Side by Side Diff: webkit/fileapi/sandbox_mount_point_provider.h

Issue 9380040: Revert 121620 - Refactor FileSystemOperation to take callback for each method. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ 5 #ifndef WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_
6 #define WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ 6 #define WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 const GURL& origin_url, 82 const GURL& origin_url,
83 FileSystemType type, 83 FileSystemType type,
84 const FilePath& virtual_path) OVERRIDE; 84 const FilePath& virtual_path) OVERRIDE;
85 virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE; 85 virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE;
86 virtual std::vector<FilePath> GetRootDirectories() const OVERRIDE; 86 virtual std::vector<FilePath> GetRootDirectories() const OVERRIDE;
87 virtual FileSystemFileUtil* GetFileUtil() OVERRIDE; 87 virtual FileSystemFileUtil* GetFileUtil() OVERRIDE;
88 virtual FileSystemOperationInterface* CreateFileSystemOperation( 88 virtual FileSystemOperationInterface* CreateFileSystemOperation(
89 const GURL& origin_url, 89 const GURL& origin_url,
90 FileSystemType file_system_type, 90 FileSystemType file_system_type,
91 const FilePath& virtual_path, 91 const FilePath& virtual_path,
92 scoped_ptr<FileSystemCallbackDispatcher> dispatcher,
92 base::MessageLoopProxy* file_proxy, 93 base::MessageLoopProxy* file_proxy,
93 FileSystemContext* context) const OVERRIDE; 94 FileSystemContext* context) const OVERRIDE;
94 95
95 FilePath old_base_path() const; 96 FilePath old_base_path() const;
96 FilePath new_base_path() const; 97 FilePath new_base_path() const;
97 FilePath renamed_old_base_path() const; 98 FilePath renamed_old_base_path() const;
98 99
99 // Returns an origin enumerator of this provider. 100 // Returns an origin enumerator of this provider.
100 // This method can only be called on the file thread. 101 // This method can only be called on the file thread.
101 OriginEnumerator* CreateOriginEnumerator() const; 102 OriginEnumerator* CreateOriginEnumerator() const;
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 177
177 // Acccessed only on the file thread. 178 // Acccessed only on the file thread.
178 std::set<GURL> visited_origins_; 179 std::set<GURL> visited_origins_;
179 180
180 DISALLOW_COPY_AND_ASSIGN(SandboxMountPointProvider); 181 DISALLOW_COPY_AND_ASSIGN(SandboxMountPointProvider);
181 }; 182 };
182 183
183 } // namespace fileapi 184 } // namespace fileapi
184 185
185 #endif // WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ 186 #endif // WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/file_writer_delegate_unittest.cc ('k') | webkit/fileapi/sandbox_mount_point_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698