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

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

Issue 9380040: Revert 121620 - Refactor FileSystemOperation to take callback for each method. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 10 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 fileapi::FileSystemOperationInterface* CreateFileSystemOperation( 56 virtual fileapi::FileSystemOperationInterface* CreateFileSystemOperation(
57 const GURL& origin_url, 57 const GURL& origin_url,
58 fileapi::FileSystemType file_system_type, 58 fileapi::FileSystemType file_system_type,
59 const FilePath& virtual_path, 59 const FilePath& virtual_path,
60 scoped_ptr<fileapi::FileSystemCallbackDispatcher> dispatcher,
60 base::MessageLoopProxy* file_proxy, 61 base::MessageLoopProxy* file_proxy,
61 fileapi::FileSystemContext* context) const OVERRIDE; 62 fileapi::FileSystemContext* context) const OVERRIDE;
62 63
63 // fileapi::ExternalFileSystemMountPointProvider overrides. 64 // fileapi::ExternalFileSystemMountPointProvider overrides.
64 virtual void GrantFullAccessToExtension( 65 virtual void GrantFullAccessToExtension(
65 const std::string& extension_id) OVERRIDE; 66 const std::string& extension_id) OVERRIDE;
66 virtual void GrantFileAccessToExtension( 67 virtual void GrantFileAccessToExtension(
67 const std::string& extension_id, const FilePath& virtual_path) OVERRIDE; 68 const std::string& extension_id, const FilePath& virtual_path) OVERRIDE;
68 virtual void RevokeAccessForExtension( 69 virtual void RevokeAccessForExtension(
69 const std::string& extension_id) OVERRIDE; 70 const std::string& extension_id) OVERRIDE;
(...skipping 14 matching lines...) Expand all
84 MountPointMap mount_point_map_; 85 MountPointMap mount_point_map_;
85 scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy_; 86 scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy_;
86 scoped_ptr<FileAccessPermissions> file_access_permissions_; 87 scoped_ptr<FileAccessPermissions> file_access_permissions_;
87 scoped_ptr<fileapi::LocalFileUtil> local_file_util_; 88 scoped_ptr<fileapi::LocalFileUtil> local_file_util_;
88 DISALLOW_COPY_AND_ASSIGN(CrosMountPointProvider); 89 DISALLOW_COPY_AND_ASSIGN(CrosMountPointProvider);
89 }; 90 };
90 91
91 } // namespace chromeos 92 } // namespace chromeos
92 93
93 #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