| Index: chrome/browser/chromeos/drive/file_system_util.cc
|
| diff --git a/chrome/browser/chromeos/drive/file_system_util.cc b/chrome/browser/chromeos/drive/file_system_util.cc
|
| index 1260904318f3e879f51223dae5e1166777a86679..e556a030f82bab895804419e8fbb5ef36dc712a4 100644
|
| --- a/chrome/browser/chromeos/drive/file_system_util.cc
|
| +++ b/chrome/browser/chromeos/drive/file_system_util.cc
|
| @@ -49,7 +49,7 @@ const int kReadOnlyFilePermissions = base::PLATFORM_FILE_OPEN |
|
| base::PLATFORM_FILE_EXCLUSIVE_READ |
|
| base::PLATFORM_FILE_ASYNC;
|
|
|
| -DriveFileSystemInterface* GetDriveFileSystem(Profile* profile) {
|
| +DriveFileSystemInterface* GetFileSystem(Profile* profile) {
|
| DriveSystemService* system_service =
|
| DriveSystemServiceFactory::GetForProfile(profile);
|
| return system_service ? system_service->file_system() : NULL;
|
| @@ -150,7 +150,7 @@ void MaybeSetDriveURL(Profile* profile, const base::FilePath& path, GURL* url) {
|
| if (!IsUnderDriveMountPoint(path))
|
| return;
|
|
|
| - DriveFileSystemInterface* file_system = GetDriveFileSystem(profile);
|
| + DriveFileSystemInterface* file_system = GetFileSystem(profile);
|
| if (!file_system)
|
| return;
|
|
|
| @@ -312,7 +312,7 @@ void EnsureDirectoryExists(Profile* profile,
|
| BrowserThread::CurrentlyOn(BrowserThread::IO));
|
| DCHECK(!callback.is_null());
|
| if (IsUnderDriveMountPoint(directory)) {
|
| - DriveFileSystemInterface* file_system = GetDriveFileSystem(profile);
|
| + DriveFileSystemInterface* file_system = GetFileSystem(profile);
|
| DCHECK(file_system);
|
| file_system->CreateDirectory(
|
| ExtractDrivePath(directory),
|
|
|