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

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

Issue 452043003: [ew] Add basic classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added more tests + comments. Created 6 years, 4 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 10
(...skipping 20 matching lines...) Expand all
31 explicit SandboxFileSystemBackend(SandboxFileSystemBackendDelegate* delegate); 31 explicit SandboxFileSystemBackend(SandboxFileSystemBackendDelegate* delegate);
32 virtual ~SandboxFileSystemBackend(); 32 virtual ~SandboxFileSystemBackend();
33 33
34 // FileSystemBackend overrides. 34 // FileSystemBackend overrides.
35 virtual bool CanHandleType(FileSystemType type) const OVERRIDE; 35 virtual bool CanHandleType(FileSystemType type) const OVERRIDE;
36 virtual void Initialize(FileSystemContext* context) OVERRIDE; 36 virtual void Initialize(FileSystemContext* context) OVERRIDE;
37 virtual void ResolveURL(const FileSystemURL& url, 37 virtual void ResolveURL(const FileSystemURL& url,
38 OpenFileSystemMode mode, 38 OpenFileSystemMode mode,
39 const OpenFileSystemCallback& callback) OVERRIDE; 39 const OpenFileSystemCallback& callback) OVERRIDE;
40 virtual AsyncFileUtil* GetAsyncFileUtil(FileSystemType type) OVERRIDE; 40 virtual AsyncFileUtil* GetAsyncFileUtil(FileSystemType type) OVERRIDE;
41 virtual WatcherManager* GetWatcherManager(FileSystemType type) OVERRIDE;
41 virtual CopyOrMoveFileValidatorFactory* GetCopyOrMoveFileValidatorFactory( 42 virtual CopyOrMoveFileValidatorFactory* GetCopyOrMoveFileValidatorFactory(
42 FileSystemType type, 43 FileSystemType type,
43 base::File::Error* error_code) OVERRIDE; 44 base::File::Error* error_code) OVERRIDE;
44 virtual FileSystemOperation* CreateFileSystemOperation( 45 virtual FileSystemOperation* CreateFileSystemOperation(
45 const FileSystemURL& url, 46 const FileSystemURL& url,
46 FileSystemContext* context, 47 FileSystemContext* context,
47 base::File::Error* error_code) const OVERRIDE; 48 base::File::Error* error_code) const OVERRIDE;
48 virtual bool SupportsStreaming(const FileSystemURL& url) const OVERRIDE; 49 virtual bool SupportsStreaming(const FileSystemURL& url) const OVERRIDE;
49 virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader( 50 virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader(
50 const FileSystemURL& url, 51 const FileSystemURL& url,
(...skipping 22 matching lines...) Expand all
73 SandboxFileSystemBackendDelegate* delegate_; // Not owned. 74 SandboxFileSystemBackendDelegate* delegate_; // Not owned.
74 75
75 bool enable_temporary_file_system_in_incognito_; 76 bool enable_temporary_file_system_in_incognito_;
76 77
77 DISALLOW_COPY_AND_ASSIGN(SandboxFileSystemBackend); 78 DISALLOW_COPY_AND_ASSIGN(SandboxFileSystemBackend);
78 }; 79 };
79 80
80 } // namespace fileapi 81 } // namespace fileapi
81 82
82 #endif // WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_H_ 83 #endif // WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698