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

Side by Side Diff: webkit/chromeos/fileapi/cros_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_CHROMEOS_FILEAPI_CROS_MOUNT_POINT_PROVIDER_H_ 5 #ifndef WEBKIT_CHROMEOS_FILEAPI_CROS_MOUNT_POINT_PROVIDER_H_
6 #define WEBKIT_CHROMEOS_FILEAPI_CROS_MOUNT_POINT_PROVIDER_H_ 6 #define WEBKIT_CHROMEOS_FILEAPI_CROS_MOUNT_POINT_PROVIDER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 virtual void InitializeCopyOrMoveFileValidatorFactory( 71 virtual void InitializeCopyOrMoveFileValidatorFactory(
72 fileapi::FileSystemType type, 72 fileapi::FileSystemType type,
73 scoped_ptr<fileapi::CopyOrMoveFileValidatorFactory> factory) OVERRIDE; 73 scoped_ptr<fileapi::CopyOrMoveFileValidatorFactory> factory) OVERRIDE;
74 virtual fileapi::FilePermissionPolicy GetPermissionPolicy( 74 virtual fileapi::FilePermissionPolicy GetPermissionPolicy(
75 const fileapi::FileSystemURL& url, 75 const fileapi::FileSystemURL& url,
76 int permissions) const OVERRIDE; 76 int permissions) const OVERRIDE;
77 virtual fileapi::FileSystemOperation* CreateFileSystemOperation( 77 virtual fileapi::FileSystemOperation* CreateFileSystemOperation(
78 const fileapi::FileSystemURL& url, 78 const fileapi::FileSystemURL& url,
79 fileapi::FileSystemContext* context, 79 fileapi::FileSystemContext* context,
80 base::PlatformFileError* error_code) const OVERRIDE; 80 base::PlatformFileError* error_code) const OVERRIDE;
81 virtual webkit_blob::FileStreamReader* CreateFileStreamReader( 81 virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader(
82 const fileapi::FileSystemURL& path, 82 const fileapi::FileSystemURL& path,
83 int64 offset, 83 int64 offset,
84 const base::Time& expected_modification_time, 84 const base::Time& expected_modification_time,
85 fileapi::FileSystemContext* context) const OVERRIDE; 85 fileapi::FileSystemContext* context) const OVERRIDE;
86 virtual fileapi::FileStreamWriter* CreateFileStreamWriter( 86 virtual scoped_ptr<fileapi::FileStreamWriter> CreateFileStreamWriter(
87 const fileapi::FileSystemURL& url, 87 const fileapi::FileSystemURL& url,
88 int64 offset, 88 int64 offset,
89 fileapi::FileSystemContext* context) const OVERRIDE; 89 fileapi::FileSystemContext* context) const OVERRIDE;
90 virtual fileapi::FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; 90 virtual fileapi::FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE;
91 virtual void DeleteFileSystem( 91 virtual void DeleteFileSystem(
92 const GURL& origin_url, 92 const GURL& origin_url,
93 fileapi::FileSystemType type, 93 fileapi::FileSystemType type,
94 fileapi::FileSystemContext* context, 94 fileapi::FileSystemContext* context,
95 const DeleteFileSystemCallback& callback) OVERRIDE; 95 const DeleteFileSystemCallback& callback) OVERRIDE;
96 96
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 // Globally visible mount points. System MountPonts instance should outlive 133 // Globally visible mount points. System MountPonts instance should outlive
134 // all CrosMountPointProvider instances, so raw pointer is safe. 134 // all CrosMountPointProvider instances, so raw pointer is safe.
135 fileapi::ExternalMountPoints* system_mount_points_; 135 fileapi::ExternalMountPoints* system_mount_points_;
136 136
137 DISALLOW_COPY_AND_ASSIGN(CrosMountPointProvider); 137 DISALLOW_COPY_AND_ASSIGN(CrosMountPointProvider);
138 }; 138 };
139 139
140 } // namespace chromeos 140 } // namespace chromeos
141 141
142 #endif // WEBKIT_CHROMEOS_FILEAPI_CROS_MOUNT_POINT_PROVIDER_H_ 142 #endif // WEBKIT_CHROMEOS_FILEAPI_CROS_MOUNT_POINT_PROVIDER_H_
OLDNEW
« no previous file with comments | « webkit/blob/blob_url_request_job.cc ('k') | webkit/chromeos/fileapi/cros_mount_point_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698