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

Side by Side Diff: chrome/browser/media_galleries/fileapi/media_file_system_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, 7 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_MOUNT_POINT_PRO VIDER_H_ 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_MOUNT_POINT_PRO VIDER_H_
6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_MOUNT_POINT_PRO VIDER_H_ 6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_MOUNT_POINT_PRO VIDER_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
(...skipping 12 matching lines...) Expand all
23 public: 23 public:
24 static const char kMediaPathFilterKey[]; 24 static const char kMediaPathFilterKey[];
25 static const char kMTPDeviceDelegateURLKey[]; 25 static const char kMTPDeviceDelegateURLKey[];
26 26
27 explicit MediaFileSystemMountPointProvider( 27 explicit MediaFileSystemMountPointProvider(
28 const base::FilePath& profile_path); 28 const base::FilePath& profile_path);
29 virtual ~MediaFileSystemMountPointProvider(); 29 virtual ~MediaFileSystemMountPointProvider();
30 30
31 // FileSystemMountPointProvider implementation. 31 // FileSystemMountPointProvider implementation.
32 virtual bool CanHandleType(fileapi::FileSystemType type) const OVERRIDE; 32 virtual bool CanHandleType(fileapi::FileSystemType type) const OVERRIDE;
33 virtual void ValidateFileSystemRoot( 33 virtual void OpenFileSystem(
34 const GURL& origin_url, 34 const GURL& origin_url,
35 fileapi::FileSystemType type, 35 fileapi::FileSystemType type,
36 bool create, 36 fileapi::OpenFileSystemMode mode,
37 const ValidateFileSystemCallback& callback) OVERRIDE; 37 const OpenFileSystemCallback& callback) OVERRIDE;
38 virtual fileapi::FileSystemFileUtil* GetFileUtil( 38 virtual fileapi::FileSystemFileUtil* GetFileUtil(
39 fileapi::FileSystemType type) OVERRIDE; 39 fileapi::FileSystemType type) OVERRIDE;
40 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil( 40 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil(
41 fileapi::FileSystemType type) OVERRIDE; 41 fileapi::FileSystemType type) OVERRIDE;
42 virtual fileapi::CopyOrMoveFileValidatorFactory* 42 virtual fileapi::CopyOrMoveFileValidatorFactory*
43 GetCopyOrMoveFileValidatorFactory( 43 GetCopyOrMoveFileValidatorFactory(
44 fileapi::FileSystemType type, 44 fileapi::FileSystemType type,
45 base::PlatformFileError* error_code) OVERRIDE; 45 base::PlatformFileError* error_code) OVERRIDE;
46 virtual void InitializeCopyOrMoveFileValidatorFactory( 46 virtual void InitializeCopyOrMoveFileValidatorFactory(
47 fileapi::FileSystemType type, 47 fileapi::FileSystemType type,
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 scoped_ptr<DeviceMediaAsyncFileUtil> device_media_async_file_util_; 80 scoped_ptr<DeviceMediaAsyncFileUtil> device_media_async_file_util_;
81 scoped_ptr<fileapi::AsyncFileUtil> picasa_file_util_; 81 scoped_ptr<fileapi::AsyncFileUtil> picasa_file_util_;
82 scoped_ptr<fileapi::AsyncFileUtil> itunes_file_util_; 82 scoped_ptr<fileapi::AsyncFileUtil> itunes_file_util_;
83 83
84 DISALLOW_COPY_AND_ASSIGN(MediaFileSystemMountPointProvider); 84 DISALLOW_COPY_AND_ASSIGN(MediaFileSystemMountPointProvider);
85 }; 85 };
86 86
87 } // namespace chrome 87 } // namespace chrome
88 88
89 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_MOUNT_POINT_ PROVIDER_H_ 89 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_MOUNT_POINT_ PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698