diff options
Diffstat (limited to 'chrome/browser/chromeos/drive/drive_system_service.cc')
-rw-r--r-- | chrome/browser/chromeos/drive/drive_system_service.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/chromeos/drive/drive_system_service.cc b/chrome/browser/chromeos/drive/drive_system_service.cc index a924f0b..42af4248 100644 --- a/chrome/browser/chromeos/drive/drive_system_service.cc +++ b/chrome/browser/chromeos/drive/drive_system_service.cc @@ -262,11 +262,11 @@ void DriveSystemService::ReinitializeResourceMetadataAfterClearCache( void DriveSystemService::AddBackDriveMountPoint( const base::Callback<void(bool)>& callback, - DriveFileError error) { + FileError error) { DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); DCHECK(!callback.is_null()); - if (error != DRIVE_FILE_OK) { + if (error != FILE_ERROR_OK) { callback.Run(false); return; } @@ -361,12 +361,12 @@ void DriveSystemService::InitializeAfterCacheInitialized(bool success) { } void DriveSystemService::InitializeAfterResourceMetadataInitialized( - DriveFileError error) { + FileError error) { DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); - if (error != DRIVE_FILE_OK) { + if (error != FILE_ERROR_OK) { LOG(WARNING) << "Failed to initialize resource metadata. Disabling Drive : " - << DriveFileErrorToString(error); + << FileErrorToString(error); DisableDrive(); return; } |