| Index: chrome/browser/media_galleries/fileapi/media_file_system_mount_point_provider.cc
|
| diff --git a/chrome/browser/media_galleries/fileapi/media_file_system_mount_point_provider.cc b/chrome/browser/media_galleries/fileapi/media_file_system_mount_point_provider.cc
|
| index faaeffd715fcf064654a32d4cb1f316150627a8d..f5fd06a70623048f41c36fb379e2bf104ee2e734 100644
|
| --- a/chrome/browser/media_galleries/fileapi/media_file_system_mount_point_provider.cc
|
| +++ b/chrome/browser/media_galleries/fileapi/media_file_system_mount_point_provider.cc
|
| @@ -46,14 +46,11 @@ MediaFileSystemMountPointProvider::MediaFileSystemMountPointProvider(
|
| const base::FilePath& profile_path)
|
| : profile_path_(profile_path),
|
| media_path_filter_(new MediaPathFilter()),
|
| - native_media_file_util_(
|
| - new fileapi::AsyncFileUtilAdapter(new NativeMediaFileUtil())),
|
| + native_media_file_util_(new NativeMediaFileUtil()),
|
| device_media_async_file_util_(
|
| DeviceMediaAsyncFileUtil::Create(profile_path_)),
|
| - picasa_file_util_(
|
| - new fileapi::AsyncFileUtilAdapter(new picasa::PicasaFileUtil())),
|
| - itunes_file_util_(new fileapi::AsyncFileUtilAdapter(
|
| - new itunes::ItunesFileUtil())) {
|
| + picasa_file_util_(new picasa::PicasaFileUtil()),
|
| + itunes_file_util_(new itunes::ItunesFileUtil()) {
|
| }
|
|
|
| MediaFileSystemMountPointProvider::~MediaFileSystemMountPointProvider() {
|
| @@ -85,12 +82,7 @@ void MediaFileSystemMountPointProvider::OpenFileSystem(
|
|
|
| fileapi::FileSystemFileUtil* MediaFileSystemMountPointProvider::GetFileUtil(
|
| fileapi::FileSystemType type) {
|
| - switch (type) {
|
| - case fileapi::kFileSystemTypeNativeMedia:
|
| - return native_media_file_util_->sync_file_util();
|
| - default:
|
| - NOTREACHED();
|
| - }
|
| + NOTREACHED();
|
| return NULL;
|
| }
|
|
|
|
|