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

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

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.h
diff --git a/chrome/browser/chromeos/drive/job_scheduler.h b/chrome/browser/chromeos/drive/job_scheduler.h
index 75ecf749ead9647a1a469191e6645f10ff66a2b7..5e898adf830edb9c19e8278a23fd177dff3dcf51 100644
--- a/chrome/browser/chromeos/drive/job_scheduler.h
+++ b/chrome/browser/chromeos/drive/job_scheduler.h
@@ -159,12 +159,11 @@ class JobScheduler
const google_apis::EntryActionCallback& callback);
// Adds a AddNewDirectory operation to the queue.
- void AddNewDirectory(
- const std::string& parent_resource_id,
- const std::string& directory_title,
- const DriveServiceInterface::AddNewDirectoryOptions& options,
- const ClientContext& context,
- const google_apis::FileResourceCallback& callback);
+ void AddNewDirectory(const std::string& parent_resource_id,
+ const std::string& directory_title,
+ const AddNewDirectoryOptions& options,
+ const ClientContext& context,
+ const google_apis::FileResourceCallback& callback);
// Adds a DownloadFile operation to the queue.
// The first two arguments |virtual_path| and |expected_file_size| are used
@@ -185,19 +184,18 @@ class JobScheduler
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);
// Adds an UploadExistingFile operation to the queue.
- void UploadExistingFile(
- const std::string& resource_id,
- const base::FilePath& drive_file_path,
- const base::FilePath& local_file_path,
- const std::string& content_type,
- const DriveUploader::UploadExistingFileOptions& options,
- const ClientContext& context,
- const google_apis::FileResourceCallback& callback);
+ void UploadExistingFile(const std::string& resource_id,
+ const base::FilePath& drive_file_path,
+ const base::FilePath& local_file_path,
+ const std::string& content_type,
+ const UploadExistingFileOptions& options,
+ const ClientContext& context,
+ const google_apis::FileResourceCallback& callback);
// Adds AddPermission operation to the queue. |callback| must not be null.
void AddPermission(const std::string& resource_id,
« no previous file with comments | « chrome/browser/chromeos/drive/file_system_unittest.cc ('k') | chrome/browser/chromeos/drive/job_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698