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

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

Issue 10197007: Change webkit/{fileapi,quota} code to use TaskRunner. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: test fix Created 8 years, 7 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
« no previous file with comments | « webkit/blob/local_file_reader.cc ('k') | webkit/chromeos/fileapi/cros_mount_point_provider.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 const FilePath& virtual_path) OVERRIDE; 60 const FilePath& virtual_path) OVERRIDE;
61 virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE; 61 virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE;
62 virtual std::vector<FilePath> GetRootDirectories() const OVERRIDE; 62 virtual std::vector<FilePath> GetRootDirectories() const OVERRIDE;
63 virtual fileapi::FileSystemFileUtil* GetFileUtil() OVERRIDE; 63 virtual fileapi::FileSystemFileUtil* GetFileUtil() OVERRIDE;
64 virtual FilePath GetPathForPermissionsCheck(const FilePath& virtual_path) 64 virtual FilePath GetPathForPermissionsCheck(const FilePath& virtual_path)
65 const OVERRIDE; 65 const OVERRIDE;
66 virtual fileapi::FileSystemOperationInterface* CreateFileSystemOperation( 66 virtual fileapi::FileSystemOperationInterface* CreateFileSystemOperation(
67 const GURL& origin_url, 67 const GURL& origin_url,
68 fileapi::FileSystemType file_system_type, 68 fileapi::FileSystemType file_system_type,
69 const FilePath& virtual_path, 69 const FilePath& virtual_path,
70 base::MessageLoopProxy* file_proxy,
71 fileapi::FileSystemContext* context) const OVERRIDE; 70 fileapi::FileSystemContext* context) const OVERRIDE;
72 virtual webkit_blob::FileReader* CreateFileReader( 71 virtual webkit_blob::FileReader* CreateFileReader(
73 const GURL& path, 72 const GURL& path,
74 int64 offset, 73 int64 offset,
75 base::MessageLoopProxy* file_proxy,
76 fileapi::FileSystemContext* context) const OVERRIDE; 74 fileapi::FileSystemContext* context) const OVERRIDE;
77 75
78 // fileapi::ExternalFileSystemMountPointProvider overrides. 76 // fileapi::ExternalFileSystemMountPointProvider overrides.
79 virtual void GrantFullAccessToExtension( 77 virtual void GrantFullAccessToExtension(
80 const std::string& extension_id) OVERRIDE; 78 const std::string& extension_id) OVERRIDE;
81 virtual void GrantFileAccessToExtension( 79 virtual void GrantFileAccessToExtension(
82 const std::string& extension_id, const FilePath& virtual_path) OVERRIDE; 80 const std::string& extension_id, const FilePath& virtual_path) OVERRIDE;
83 virtual void RevokeAccessForExtension( 81 virtual void RevokeAccessForExtension(
84 const std::string& extension_id) OVERRIDE; 82 const std::string& extension_id) OVERRIDE;
85 virtual bool HasMountPoint(const FilePath& mount_point) OVERRIDE; 83 virtual bool HasMountPoint(const FilePath& mount_point) OVERRIDE;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 MountPointMap mount_point_map_; 127 MountPointMap mount_point_map_;
130 scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy_; 128 scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy_;
131 scoped_ptr<FileAccessPermissions> file_access_permissions_; 129 scoped_ptr<FileAccessPermissions> file_access_permissions_;
132 scoped_ptr<fileapi::LocalFileUtil> local_file_util_; 130 scoped_ptr<fileapi::LocalFileUtil> local_file_util_;
133 DISALLOW_COPY_AND_ASSIGN(CrosMountPointProvider); 131 DISALLOW_COPY_AND_ASSIGN(CrosMountPointProvider);
134 }; 132 };
135 133
136 } // namespace chromeos 134 } // namespace chromeos
137 135
138 #endif // WEBKIT_CHROMEOS_FILEAPI_CROS_MOUNT_POINT_PROVIDER_H_ 136 #endif // WEBKIT_CHROMEOS_FILEAPI_CROS_MOUNT_POINT_PROVIDER_H_
OLDNEW
« no previous file with comments | « webkit/blob/local_file_reader.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