| Index: webkit/chromeos/fileapi/cros_mount_point_provider.h
|
| ===================================================================
|
| --- webkit/chromeos/fileapi/cros_mount_point_provider.h (revision 80841)
|
| +++ webkit/chromeos/fileapi/cros_mount_point_provider.h (working copy)
|
| @@ -6,8 +6,8 @@
|
| #define WEBKIT_CHROMEOS_FILEAPI_CROS_MOUNT_POINT_PROVIDER_H_
|
|
|
| #include <map>
|
| -#include <set>
|
| #include <string>
|
| +#include <vector>
|
|
|
| #include "webkit/fileapi/file_system_mount_point_provider.h"
|
| #include "webkit/quota/special_storage_policy.h"
|
| @@ -23,7 +23,10 @@
|
| virtual ~CrosMountPointProvider();
|
|
|
| // fileapi::FileSystemMountPointProvider overrides.
|
| - virtual bool IsAccessAllowed(const GURL& origin_url) OVERRIDE;
|
| + virtual bool IsAccessAllowed(const GURL& origin_url,
|
| + const FilePath& virtual_path) OVERRIDE;
|
| + virtual void GrantAccess(const GURL& origin_url,
|
| + const FilePath& virtual_path) OVERRIDE;
|
|
|
| virtual void GetFileSystemRootPath(
|
| const GURL& origin_url,
|
| @@ -39,6 +42,8 @@
|
|
|
| virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE;
|
|
|
| + virtual std::vector<FilePath> GetRootDirectories() const OVERRIDE;
|
| +
|
| private:
|
| class GetFileSystemRootPathTask;
|
| typedef std::map<std::string, std::string> MountPointMap;
|
|
|