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

Side by Side Diff: webkit/chromeos/fileapi/cros_mount_point_provider.h

Issue 8999017: Add CreateFileSystemOperation() method to FileSystemContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clang build fix Created 8 years, 11 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 fileapi::FileSystemType type, 46 fileapi::FileSystemType type,
47 const FilePath& virtual_path, 47 const FilePath& virtual_path,
48 bool create) OVERRIDE; 48 bool create) OVERRIDE;
49 virtual bool IsAccessAllowed( 49 virtual bool IsAccessAllowed(
50 const GURL& origin_url, 50 const GURL& origin_url,
51 fileapi::FileSystemType type, 51 fileapi::FileSystemType type,
52 const FilePath& virtual_path) OVERRIDE; 52 const FilePath& virtual_path) OVERRIDE;
53 virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE; 53 virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE;
54 virtual std::vector<FilePath> GetRootDirectories() const OVERRIDE; 54 virtual std::vector<FilePath> GetRootDirectories() const OVERRIDE;
55 virtual fileapi::FileSystemFileUtil* GetFileUtil() OVERRIDE; 55 virtual fileapi::FileSystemFileUtil* GetFileUtil() OVERRIDE;
56 virtual FileSystemOperationInterface* CreateFileSystemOperation(
57 const GURL& origin_url,
58 FileSystemType file_system_type,
59 const FilePath& virtual_path,
60 scoped_ptr<FileSystemCallbackDispatcher> dispatcher,
61 base::MessageLoopProxy* file_proxy,
62 FileSystemContext* context) const OVERRIDE;
56 63
57 // fileapi::ExternalFileSystemMountPointProvider overrides. 64 // fileapi::ExternalFileSystemMountPointProvider overrides.
58 virtual void GrantFullAccessToExtension( 65 virtual void GrantFullAccessToExtension(
59 const std::string& extension_id) OVERRIDE; 66 const std::string& extension_id) OVERRIDE;
60 virtual void GrantFileAccessToExtension( 67 virtual void GrantFileAccessToExtension(
61 const std::string& extension_id, const FilePath& virtual_path) OVERRIDE; 68 const std::string& extension_id, const FilePath& virtual_path) OVERRIDE;
62 virtual void RevokeAccessForExtension( 69 virtual void RevokeAccessForExtension(
63 const std::string& extension_id) OVERRIDE; 70 const std::string& extension_id) OVERRIDE;
64 virtual void AddMountPoint(FilePath mount_point) OVERRIDE; 71 virtual void AddMountPoint(FilePath mount_point) OVERRIDE;
65 virtual void RemoveMountPoint(FilePath mount_point) OVERRIDE; 72 virtual void RemoveMountPoint(FilePath mount_point) OVERRIDE;
(...skipping 12 matching lines...) Expand all
78 MountPointMap mount_point_map_; 85 MountPointMap mount_point_map_;
79 scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy_; 86 scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy_;
80 scoped_ptr<FileAccessPermissions> file_access_permissions_; 87 scoped_ptr<FileAccessPermissions> file_access_permissions_;
81 scoped_ptr<fileapi::LocalFileUtil> local_file_util_; 88 scoped_ptr<fileapi::LocalFileUtil> local_file_util_;
82 DISALLOW_COPY_AND_ASSIGN(CrosMountPointProvider); 89 DISALLOW_COPY_AND_ASSIGN(CrosMountPointProvider);
83 }; 90 };
84 91
85 } // namespace chromeos 92 } // namespace chromeos
86 93
87 #endif // WEBKIT_CHROMEOS_FILEAPI_CROS_MOUNT_POINT_PROVIDER_H_ 94 #endif // WEBKIT_CHROMEOS_FILEAPI_CROS_MOUNT_POINT_PROVIDER_H_
OLDNEW
« no previous file with comments | « content/browser/file_system/file_system_dispatcher_host.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