| Index: webkit/fileapi/file_system_path_manager.h
|
| ===================================================================
|
| --- webkit/fileapi/file_system_path_manager.h (revision 81454)
|
| +++ webkit/fileapi/file_system_path_manager.h (working copy)
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -68,14 +68,6 @@
|
| FileSystemType type,
|
| const FilePath& virtual_path,
|
| bool create);
|
| - // Cracks the given |path|, retrieves the information embedded in the path
|
| - // and populates |origin_url|, |type| and |virtual_path|. The |virtual_path|
|
| - // is a sandboxed path in the file system, i.e. the relative path to the
|
| - // filesystem root for the given domain and type.
|
| - bool CrackFileSystemPath(const FilePath& path,
|
| - GURL* origin_url,
|
| - FileSystemType* type,
|
| - FilePath* virtual_path) const;
|
|
|
| // Returns true if the given |url|'s scheme is allowed to access
|
| // filesystem.
|
| @@ -89,6 +81,9 @@
|
| bool IsRestrictedFileName(FileSystemType type,
|
| const FilePath& filename);
|
|
|
| + // Checks if an origin has access to a particular filesystem type.
|
| + bool IsAllowedFileSystemType(GURL origin, FileSystemType type);
|
| +
|
| SandboxMountPointProvider* sandbox_provider() const {
|
| return sandbox_provider_.get();
|
| }
|
|
|