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

Unified Diff: chrome/browser/chromeos/drive/job_scheduler.cc

Issue 1042803002: Drive: Move inner structures of DriveAPIService under drive namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests. Created 5 years, 9 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/drive/job_scheduler.cc
diff --git a/chrome/browser/chromeos/drive/job_scheduler.cc b/chrome/browser/chromeos/drive/job_scheduler.cc
index a74485e0c8319b5b1b9a572bc224227f57793dc2..58700a32300c30af4a511ee4453eeb1cea7b95b4 100644
--- a/chrome/browser/chromeos/drive/job_scheduler.cc
+++ b/chrome/browser/chromeos/drive/job_scheduler.cc
@@ -74,7 +74,7 @@ struct UploadNewFileParams {
base::FilePath local_file_path;
std::string title;
std::string content_type;
- DriveUploader::UploadNewFileOptions options;
+ UploadNewFileOptions options;
UploadCompletionCallback callback;
google_apis::ProgressCallback progress_callback;
};
@@ -97,7 +97,7 @@ struct UploadExistingFileParams {
std::string resource_id;
base::FilePath local_file_path;
std::string content_type;
- DriveUploader::UploadExistingFileOptions options;
+ UploadExistingFileOptions options;
std::string etag;
UploadCompletionCallback callback;
google_apis::ProgressCallback progress_callback;
@@ -565,7 +565,7 @@ void JobScheduler::RemoveResourceFromDirectory(
void JobScheduler::AddNewDirectory(
const std::string& parent_resource_id,
const std::string& directory_title,
- const DriveServiceInterface::AddNewDirectoryOptions& options,
+ const AddNewDirectoryOptions& options,
const ClientContext& context,
const google_apis::FileResourceCallback& callback) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
@@ -628,7 +628,7 @@ void JobScheduler::UploadNewFile(
const base::FilePath& local_file_path,
const std::string& title,
const std::string& content_type,
- const DriveUploader::UploadNewFileOptions& options,
+ const UploadNewFileOptions& options,
const ClientContext& context,
const google_apis::FileResourceCallback& callback) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
@@ -672,7 +672,7 @@ void JobScheduler::UploadExistingFile(
const base::FilePath& drive_file_path,
const base::FilePath& local_file_path,
const std::string& content_type,
- const DriveUploader::UploadExistingFileOptions& options,
+ const UploadExistingFileOptions& options,
const ClientContext& context,
const google_apis::FileResourceCallback& callback) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
« no previous file with comments | « chrome/browser/chromeos/drive/job_scheduler.h ('k') | chrome/browser/chromeos/drive/job_scheduler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698