Chromium Code Reviews| Index: chrome/browser/chromeos/extensions/file_manager/file_browser_private_api.cc |
| diff --git a/chrome/browser/chromeos/extensions/file_manager/file_browser_private_api.cc b/chrome/browser/chromeos/extensions/file_manager/file_browser_private_api.cc |
| index b54dfbf08da101361d2e862f45e747a3e52b0178..29907b7ba1a3f8c094e65d87786ca1731c716796 100644 |
| --- a/chrome/browser/chromeos/extensions/file_manager/file_browser_private_api.cc |
| +++ b/chrome/browser/chromeos/extensions/file_manager/file_browser_private_api.cc |
| @@ -35,7 +35,7 @@ |
| #include "chrome/browser/chromeos/extensions/file_manager/file_manager_event_router.h" |
| #include "chrome/browser/chromeos/extensions/file_manager/file_manager_util.h" |
| #include "chrome/browser/chromeos/extensions/file_manager/zip_file_creator.h" |
| -#include "chrome/browser/chromeos/fileapi/cros_mount_point_provider.h" |
| +#include "chrome/browser/chromeos/fileapi/file_system_backend.h" |
| #include "chrome/browser/chromeos/settings/cros_settings.h" |
| #include "chrome/browser/chromeos/system/statistics_provider.h" |
| #include "chrome/browser/extensions/api/file_handlers/app_file_handler_util.h" |
| @@ -219,7 +219,7 @@ void SetDriveMountPointPermissions( |
| } |
| content::SiteInstance* site_instance = render_view_host->GetSiteInstance(); |
| - fileapi::ExternalFileSystemMountPointProvider* provider = |
| + fileapi::ExternalFileSystemBackend* provider = |
|
hidehiko
2013/07/04 07:14:40
s/provider/backend/ ?
satorux1
2013/07/04 08:11:32
Done.
|
| BrowserContext::GetStoragePartition(profile, site_instance)-> |
| GetFileSystemContext()->external_provider(); |
| if (!provider) |
| @@ -540,7 +540,7 @@ bool RequestFileSystemFunction::SetupFileSystemAccessPermissions( |
| return false; |
| } |
| - fileapi::ExternalFileSystemMountPointProvider* provider = |
| + fileapi::ExternalFileSystemBackend* provider = |
|
hidehiko
2013/07/04 07:14:40
ditto.
satorux1
2013/07/04 08:11:32
Done.
|
| file_system_context->external_provider(); |
| if (!provider) |
| return false; |
| @@ -906,7 +906,7 @@ bool GetFileTasksFileBrowserFunction::RunImpl() { |
| GURL file_url(file_url_str); |
| fileapi::FileSystemURL file_system_url( |
| file_system_context->CrackURL(file_url)); |
| - if (!chromeos::CrosMountPointProvider::CanHandleURL(file_system_url)) |
| + if (!chromeos::FileSystemBackend::CanHandleURL(file_system_url)) |
| continue; |
| file_urls.push_back(file_url); |
| @@ -1045,7 +1045,7 @@ bool ExecuteTasksFileBrowserFunction::RunImpl() { |
| return false; |
| } |
| FileSystemURL url = file_system_context->CrackURL(GURL(file_url_str)); |
| - if (!chromeos::CrosMountPointProvider::CanHandleURL(url)) { |
| + if (!chromeos::FileSystemBackend::CanHandleURL(url)) { |
| error_ = kInvalidFileUrl; |
| return false; |
| } |
| @@ -1163,7 +1163,7 @@ base::FilePath FileBrowserFunction::GetLocalPathFromURL(const GURL& url) { |
| const fileapi::FileSystemURL filesystem_url( |
| file_system_context->CrackURL(url)); |
| base::FilePath path; |
| - if (!chromeos::CrosMountPointProvider::CanHandleURL(filesystem_url)) |
| + if (!chromeos::FileSystemBackend::CanHandleURL(filesystem_url)) |
| return base::FilePath(); |
| return filesystem_url.path(); |
| } |
| @@ -3056,7 +3056,7 @@ bool ValidatePathNameLengthFunction::RunImpl() { |
| GetFileSystemContext(); |
| fileapi::FileSystemURL filesystem_url( |
| file_system_context->CrackURL(GURL(parent_url))); |
| - if (!chromeos::CrosMountPointProvider::CanHandleURL(filesystem_url)) |
| + if (!chromeos::FileSystemBackend::CanHandleURL(filesystem_url)) |
| return false; |
| // No explicit limit on the length of Drive file names. |