Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(343)

Unified Diff: chrome/browser/chromeos/gdata/file_write_helper.cc

Issue 10877006: Rename GDataErrorCode to DriveErrorCode, GDataFileError to DriveFileError (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor local variable name fix. Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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));
« no previous file with comments | « chrome/browser/chromeos/gdata/file_write_helper.h ('k') | chrome/browser/chromeos/gdata/file_write_helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698