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

Side by Side Diff: webkit/browser/fileapi/isolated_mount_point_provider.h

Issue 16043006: Rename FileSystemMountPointProvider::ValidateFileSystemRoot to OpenFileSystem (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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_BROWSER_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_
6 #define WEBKIT_BROWSER_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ 6 #define WEBKIT_BROWSER_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "webkit/browser/fileapi/file_system_mount_point_provider.h" 9 #include "webkit/browser/fileapi/file_system_mount_point_provider.h"
10 10
11 namespace fileapi { 11 namespace fileapi {
12 12
13 class AsyncFileUtilAdapter; 13 class AsyncFileUtilAdapter;
14 14
15 class IsolatedMountPointProvider : public FileSystemMountPointProvider { 15 class IsolatedMountPointProvider : public FileSystemMountPointProvider {
16 public: 16 public:
17 IsolatedMountPointProvider(); 17 IsolatedMountPointProvider();
18 virtual ~IsolatedMountPointProvider(); 18 virtual ~IsolatedMountPointProvider();
19 19
20 // FileSystemMountPointProvider implementation. 20 // FileSystemMountPointProvider implementation.
21 virtual bool CanHandleType(FileSystemType type) const OVERRIDE; 21 virtual bool CanHandleType(FileSystemType type) const OVERRIDE;
22 virtual void ValidateFileSystemRoot( 22 virtual void OpenFileSystem(
23 const GURL& origin_url, 23 const GURL& origin_url,
24 FileSystemType type, 24 FileSystemType type,
25 bool create, 25 OpenFileSystemMode mode,
26 const ValidateFileSystemCallback& callback) OVERRIDE; 26 const OpenFileSystemCallback& callback) OVERRIDE;
27 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; 27 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE;
28 virtual AsyncFileUtil* GetAsyncFileUtil(FileSystemType type) OVERRIDE; 28 virtual AsyncFileUtil* GetAsyncFileUtil(FileSystemType type) OVERRIDE;
29 virtual CopyOrMoveFileValidatorFactory* GetCopyOrMoveFileValidatorFactory( 29 virtual CopyOrMoveFileValidatorFactory* GetCopyOrMoveFileValidatorFactory(
30 FileSystemType type, 30 FileSystemType type,
31 base::PlatformFileError* error_code) OVERRIDE; 31 base::PlatformFileError* error_code) OVERRIDE;
32 virtual void InitializeCopyOrMoveFileValidatorFactory( 32 virtual void InitializeCopyOrMoveFileValidatorFactory(
33 FileSystemType type, 33 FileSystemType type,
34 scoped_ptr<CopyOrMoveFileValidatorFactory> factory) OVERRIDE; 34 scoped_ptr<CopyOrMoveFileValidatorFactory> factory) OVERRIDE;
35 virtual FilePermissionPolicy GetPermissionPolicy( 35 virtual FilePermissionPolicy GetPermissionPolicy(
36 const FileSystemURL& url, 36 const FileSystemURL& url,
(...skipping 20 matching lines...) Expand all
57 57
58 private: 58 private:
59 scoped_ptr<AsyncFileUtilAdapter> isolated_file_util_; 59 scoped_ptr<AsyncFileUtilAdapter> isolated_file_util_;
60 scoped_ptr<AsyncFileUtilAdapter> dragged_file_util_; 60 scoped_ptr<AsyncFileUtilAdapter> dragged_file_util_;
61 scoped_ptr<AsyncFileUtilAdapter> transient_file_util_; 61 scoped_ptr<AsyncFileUtilAdapter> transient_file_util_;
62 }; 62 };
63 63
64 } // namespace fileapi 64 } // namespace fileapi
65 65
66 #endif // WEBKIT_BROWSER_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ 66 #endif // WEBKIT_BROWSER_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698