| Index: chrome/browser/chromeos/gdata/file_write_helper.cc
|
| diff --git a/chrome/browser/chromeos/gdata/file_write_helper.cc b/chrome/browser/chromeos/gdata/file_write_helper.cc
|
| index a6b7137a9f4026fabb1a5dba7a6922792cb1b121..3a2b670f9b545375682f2021f8c7cbdc765b132c 100644
|
| --- a/chrome/browser/chromeos/gdata/file_write_helper.cc
|
| +++ b/chrome/browser/chromeos/gdata/file_write_helper.cc
|
| @@ -40,10 +40,10 @@ void FileWriteHelper::PrepareWritableFileAndRun(
|
| void FileWriteHelper::PrepareWritableFileAndRunAfterCreateFile(
|
| const FilePath& file_path,
|
| const OpenFileCallback& callback,
|
| - GDataFileError error) {
|
| + DriveFileError error) {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
|
|
| - if (error != gdata::GDATA_FILE_OK) {
|
| + if (error != gdata::DRIVE_FILE_OK) {
|
| if (!callback.is_null()) {
|
| content::BrowserThread::GetBlockingPool()->PostTask(
|
| FROM_HERE,
|
| @@ -62,11 +62,11 @@ void FileWriteHelper::PrepareWritableFileAndRunAfterCreateFile(
|
| void FileWriteHelper::PrepareWritableFileAndRunAfterOpenFile(
|
| const FilePath& file_path,
|
| const OpenFileCallback& callback,
|
| - GDataFileError error,
|
| + DriveFileError error,
|
| const FilePath& local_cache_path) {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
|
|
| - if (error != gdata::GDATA_FILE_OK) {
|
| + if (error != gdata::DRIVE_FILE_OK) {
|
| if (!callback.is_null()) {
|
| content::BrowserThread::GetBlockingPool()->PostTask(
|
| FROM_HERE,
|
| @@ -78,7 +78,7 @@ void FileWriteHelper::PrepareWritableFileAndRunAfterOpenFile(
|
| if (!callback.is_null()) {
|
| content::BrowserThread::GetBlockingPool()->PostTaskAndReply(
|
| FROM_HERE,
|
| - base::Bind(callback, GDATA_FILE_OK, local_cache_path),
|
| + base::Bind(callback, DRIVE_FILE_OK, local_cache_path),
|
| base::Bind(&FileWriteHelper::PrepareWritableFileAndRunAfterCallback,
|
| weak_ptr_factory_.GetWeakPtr(),
|
| file_path));
|
|
|