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

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

Issue 15959006: Deprecate FileSystemMountPointProvider::GetFileSystemRootPathOnFileThread (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_TEST_MOUNT_POINT_PROVIDER_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_TEST_MOUNT_POINT_PROVIDER_H_
6 #define WEBKIT_BROWSER_FILEAPI_TEST_MOUNT_POINT_PROVIDER_H_ 6 #define WEBKIT_BROWSER_FILEAPI_TEST_MOUNT_POINT_PROVIDER_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 22 matching lines...) Expand all
33 const base::FilePath& base_path); 33 const base::FilePath& base_path);
34 virtual ~TestMountPointProvider(); 34 virtual ~TestMountPointProvider();
35 35
36 // FileSystemMountPointProvider implementation. 36 // FileSystemMountPointProvider implementation.
37 virtual bool CanHandleType(FileSystemType type) const OVERRIDE; 37 virtual bool CanHandleType(FileSystemType type) const OVERRIDE;
38 virtual void ValidateFileSystemRoot( 38 virtual void ValidateFileSystemRoot(
39 const GURL& origin_url, 39 const GURL& origin_url,
40 FileSystemType type, 40 FileSystemType type,
41 bool create, 41 bool create,
42 const ValidateFileSystemCallback& callback) OVERRIDE; 42 const ValidateFileSystemCallback& callback) OVERRIDE;
43 virtual base::FilePath GetFileSystemRootPathOnFileThread(
44 const FileSystemURL& url,
45 bool create) OVERRIDE;
46 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; 43 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE;
47 virtual AsyncFileUtil* GetAsyncFileUtil(FileSystemType type) OVERRIDE; 44 virtual AsyncFileUtil* GetAsyncFileUtil(FileSystemType type) OVERRIDE;
48 virtual CopyOrMoveFileValidatorFactory* GetCopyOrMoveFileValidatorFactory( 45 virtual CopyOrMoveFileValidatorFactory* GetCopyOrMoveFileValidatorFactory(
49 FileSystemType type, 46 FileSystemType type,
50 base::PlatformFileError* error_code) OVERRIDE; 47 base::PlatformFileError* error_code) OVERRIDE;
51 virtual void InitializeCopyOrMoveFileValidatorFactory( 48 virtual void InitializeCopyOrMoveFileValidatorFactory(
52 FileSystemType type, 49 FileSystemType type,
53 scoped_ptr<CopyOrMoveFileValidatorFactory> factory) OVERRIDE; 50 scoped_ptr<CopyOrMoveFileValidatorFactory> factory) OVERRIDE;
54 virtual FilePermissionPolicy GetPermissionPolicy( 51 virtual FilePermissionPolicy GetPermissionPolicy(
55 const FileSystemURL& url, 52 const FileSystemURL& url,
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 bool require_copy_or_move_validator_; 92 bool require_copy_or_move_validator_;
96 scoped_ptr<CopyOrMoveFileValidatorFactory> 93 scoped_ptr<CopyOrMoveFileValidatorFactory>
97 copy_or_move_file_validator_factory_; 94 copy_or_move_file_validator_factory_;
98 95
99 DISALLOW_COPY_AND_ASSIGN(TestMountPointProvider); 96 DISALLOW_COPY_AND_ASSIGN(TestMountPointProvider);
100 }; 97 };
101 98
102 } // namespace fileapi 99 } // namespace fileapi
103 100
104 #endif // WEBKIT_BROWSER_FILEAPI_TEST_MOUNT_POINT_PROVIDER_H_ 101 #endif // WEBKIT_BROWSER_FILEAPI_TEST_MOUNT_POINT_PROVIDER_H_
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/sandbox_mount_point_provider.cc ('k') | webkit/browser/fileapi/test_mount_point_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698