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

Side by Side Diff: webkit/browser/fileapi/sandbox_file_system_backend.h

Issue 19092002: FileAPI: Change FileSystemBackend::OpenFileSystem signature (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 5 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_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_H_
6 #define WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_H_ 6 #define WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 virtual bool HasFileSystemType(FileSystemType type) const = 0; 66 virtual bool HasFileSystemType(FileSystemType type) const = 0;
67 }; 67 };
68 68
69 SandboxFileSystemBackend( 69 SandboxFileSystemBackend(
70 SandboxContext* sandbox_context, 70 SandboxContext* sandbox_context,
71 const FileSystemOptions& file_system_options); 71 const FileSystemOptions& file_system_options);
72 virtual ~SandboxFileSystemBackend(); 72 virtual ~SandboxFileSystemBackend();
73 73
74 // FileSystemBackend overrides. 74 // FileSystemBackend overrides.
75 virtual bool CanHandleType(FileSystemType type) const OVERRIDE; 75 virtual bool CanHandleType(FileSystemType type) const OVERRIDE;
76 virtual void OpenFileSystem( 76 virtual void InitializeFileSystem(
77 const GURL& origin_url, 77 const GURL& origin_url,
78 FileSystemType type, 78 FileSystemType type,
79 OpenFileSystemMode mode, 79 OpenFileSystemMode mode,
80 const OpenFileSystemCallback& callback) OVERRIDE; 80 FileSystemContext* context,
81 const InitializeFileSystemCallback& callback) OVERRIDE;
81 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; 82 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE;
82 virtual AsyncFileUtil* GetAsyncFileUtil(FileSystemType type) OVERRIDE; 83 virtual AsyncFileUtil* GetAsyncFileUtil(FileSystemType type) OVERRIDE;
83 virtual CopyOrMoveFileValidatorFactory* GetCopyOrMoveFileValidatorFactory( 84 virtual CopyOrMoveFileValidatorFactory* GetCopyOrMoveFileValidatorFactory(
84 FileSystemType type, 85 FileSystemType type,
85 base::PlatformFileError* error_code) OVERRIDE; 86 base::PlatformFileError* error_code) OVERRIDE;
86 virtual FileSystemOperation* CreateFileSystemOperation( 87 virtual FileSystemOperation* CreateFileSystemOperation(
87 const FileSystemURL& url, 88 const FileSystemURL& url,
88 FileSystemContext* context, 89 FileSystemContext* context,
89 base::PlatformFileError* error_code) const OVERRIDE; 90 base::PlatformFileError* error_code) const OVERRIDE;
90 virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader( 91 virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader(
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 bool enable_usage_tracking_; 228 bool enable_usage_tracking_;
228 229
229 base::WeakPtrFactory<SandboxFileSystemBackend> weak_factory_; 230 base::WeakPtrFactory<SandboxFileSystemBackend> weak_factory_;
230 231
231 DISALLOW_COPY_AND_ASSIGN(SandboxFileSystemBackend); 232 DISALLOW_COPY_AND_ASSIGN(SandboxFileSystemBackend);
232 }; 233 };
233 234
234 } // namespace fileapi 235 } // namespace fileapi
235 236
236 #endif // WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_H_ 237 #endif // WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_H_
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/isolated_file_system_backend.cc ('k') | webkit/browser/fileapi/sandbox_file_system_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698