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

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

Issue 10919093: Rename GDataUplaoder to DriveUploader (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix after rebase Created 8 years, 3 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/drive_file_system.cc
diff --git a/chrome/browser/chromeos/gdata/drive_file_system.cc b/chrome/browser/chromeos/gdata/drive_file_system.cc
index af1f8e1ad60d4ead89b52ad9cf0620a5c6dd5773..baf1445c2aadf66ced963956614ec348d41abbf8 100644
--- a/chrome/browser/chromeos/gdata/drive_file_system.cc
+++ b/chrome/browser/chromeos/gdata/drive_file_system.cc
@@ -23,8 +23,8 @@
#include "chrome/browser/chromeos/gdata/drive_function_remove.h"
#include "chrome/browser/chromeos/gdata/drive_service_interface.h"
#include "chrome/browser/chromeos/gdata/drive_system_service.h"
+#include "chrome/browser/chromeos/gdata/drive_uploader.h"
#include "chrome/browser/chromeos/gdata/drive_webapps_registry.h"
-#include "chrome/browser/chromeos/gdata/gdata_uploader.h"
#include "chrome/browser/chromeos/gdata/gdata_util.h"
#include "chrome/browser/chromeos/gdata/task_util.h"
#include "chrome/browser/prefs/pref_service.h"
@@ -389,7 +389,7 @@ DriveFileSystem::DriveFileSystem(
Profile* profile,
DriveCache* cache,
DriveServiceInterface* drive_service,
- GDataUploaderInterface* uploader,
+ DriveUploaderInterface* uploader,
DriveWebAppsRegistryInterface* webapps_registry,
base::SequencedTaskRunner* blocking_task_runner)
: profile_(profile),
@@ -706,7 +706,7 @@ void DriveFileSystem::StartFileUploadOnUIThread(
int64* file_size,
std::string* content_type) {
// This method needs to run on the UI thread as required by
- // GDataUploader::UploadNewFile().
+ // DriveUploader::UploadNewFile().
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
DCHECK(error);
DCHECK(file_size);
@@ -752,7 +752,7 @@ void DriveFileSystem::StartFileUploadOnUIThreadAfterGetEntryInfo(
scoped_ptr<UploadFileInfo> upload_file_info(new UploadFileInfo);
upload_file_info->file_path = params.local_file_path;
upload_file_info->file_size = file_size;
- upload_file_info->gdata_path = params.remote_file_path;
+ upload_file_info->drive_path = params.remote_file_path;
// Use the file name as the title.
upload_file_info->title = params.remote_file_path.BaseName().value();
upload_file_info->content_length = file_size;
@@ -777,7 +777,7 @@ void DriveFileSystem::OnTransferCompleted(
if (error == DRIVE_FILE_OK && upload_file_info->entry.get()) {
AddUploadedFile(UPLOAD_NEW_FILE,
- upload_file_info->gdata_path.DirName(),
+ upload_file_info->drive_path.DirName(),
upload_file_info->entry.Pass(),
upload_file_info->file_path,
DriveCache::FILE_OPERATION_COPY,
@@ -2052,7 +2052,7 @@ void DriveFileSystem::OnUpdatedFileUploaded(
}
AddUploadedFile(UPLOAD_EXISTING_FILE,
- upload_file_info->gdata_path.DirName(),
+ upload_file_info->drive_path.DirName(),
upload_file_info->entry.Pass(),
upload_file_info->file_path,
DriveCache::FILE_OPERATION_MOVE,
« no previous file with comments | « chrome/browser/chromeos/gdata/drive_file_system.h ('k') | chrome/browser/chromeos/gdata/drive_file_system_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698