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

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

Issue 13811013: Refactor FileSystemMountPointProvider::CreateFileStream{Reader,Writer} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: conflict fix Created 7 years, 8 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 virtual void InitializeCopyOrMoveFileValidatorFactory( 95 virtual void InitializeCopyOrMoveFileValidatorFactory(
96 FileSystemType type, 96 FileSystemType type,
97 scoped_ptr<CopyOrMoveFileValidatorFactory> factory) OVERRIDE; 97 scoped_ptr<CopyOrMoveFileValidatorFactory> factory) OVERRIDE;
98 virtual FilePermissionPolicy GetPermissionPolicy( 98 virtual FilePermissionPolicy GetPermissionPolicy(
99 const FileSystemURL& url, 99 const FileSystemURL& url,
100 int permissions) const OVERRIDE; 100 int permissions) const OVERRIDE;
101 virtual FileSystemOperation* CreateFileSystemOperation( 101 virtual FileSystemOperation* CreateFileSystemOperation(
102 const FileSystemURL& url, 102 const FileSystemURL& url,
103 FileSystemContext* context, 103 FileSystemContext* context,
104 base::PlatformFileError* error_code) const OVERRIDE; 104 base::PlatformFileError* error_code) const OVERRIDE;
105 virtual webkit_blob::FileStreamReader* CreateFileStreamReader( 105 virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader(
106 const FileSystemURL& url, 106 const FileSystemURL& url,
107 int64 offset, 107 int64 offset,
108 const base::Time& expected_modification_time, 108 const base::Time& expected_modification_time,
109 FileSystemContext* context) const OVERRIDE; 109 FileSystemContext* context) const OVERRIDE;
110 virtual FileStreamWriter* CreateFileStreamWriter( 110 virtual scoped_ptr<FileStreamWriter> CreateFileStreamWriter(
111 const FileSystemURL& url, 111 const FileSystemURL& url,
112 int64 offset, 112 int64 offset,
113 FileSystemContext* context) const OVERRIDE; 113 FileSystemContext* context) const OVERRIDE;
114 virtual FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; 114 virtual FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE;
115 virtual void DeleteFileSystem( 115 virtual void DeleteFileSystem(
116 const GURL& origin_url, 116 const GURL& origin_url,
117 FileSystemType type, 117 FileSystemType type,
118 FileSystemContext* context, 118 FileSystemContext* context,
119 const DeleteFileSystemCallback& callback) OVERRIDE; 119 const DeleteFileSystemCallback& callback) OVERRIDE;
120 120
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 bool enable_usage_tracking_; 259 bool enable_usage_tracking_;
260 260
261 base::WeakPtrFactory<SandboxMountPointProvider> weak_factory_; 261 base::WeakPtrFactory<SandboxMountPointProvider> weak_factory_;
262 262
263 DISALLOW_COPY_AND_ASSIGN(SandboxMountPointProvider); 263 DISALLOW_COPY_AND_ASSIGN(SandboxMountPointProvider);
264 }; 264 };
265 265
266 } // namespace fileapi 266 } // namespace fileapi
267 267
268 #endif // WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ 268 #endif // WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/isolated_mount_point_provider.cc ('k') | webkit/fileapi/sandbox_mount_point_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698