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

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

Issue 15650008: drive: Rename drive::DriveClientContext to drive::ClientContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 7 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 8779b264676186204cf9c21bcd787b574ca392cf..1dc7201e64f535251a061811656a2590b9dae0fe 100644
--- a/chrome/browser/chromeos/drive/job_scheduler.cc
+++ b/chrome/browser/chromeos/drive/job_scheduler.cc
@@ -82,7 +82,7 @@ const int JobScheduler::kMaxJobCount[] = {
JobScheduler::JobEntry::JobEntry(JobType type)
: job_info(type),
- context(DriveClientContext(USER_INITIATED)),
+ context(ClientContext(USER_INITIATED)),
retry_count(0) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
}
@@ -284,7 +284,7 @@ void JobScheduler::ContinueGetResourceList(
void JobScheduler::GetResourceEntry(
const std::string& resource_id,
- const DriveClientContext& context,
+ const ClientContext& context,
const google_apis::GetResourceEntryCallback& callback) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
DCHECK(!callback.is_null());
@@ -467,7 +467,7 @@ JobID JobScheduler::DownloadFile(
const base::FilePath& virtual_path,
const base::FilePath& local_cache_path,
const GURL& download_url,
- const DriveClientContext& context,
+ const ClientContext& context,
const google_apis::DownloadActionCallback& download_action_callback,
const google_apis::GetContentCallback& get_content_callback) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
@@ -500,7 +500,7 @@ void JobScheduler::UploadNewFile(
const base::FilePath& local_file_path,
const std::string& title,
const std::string& content_type,
- const DriveClientContext& context,
+ const ClientContext& context,
const google_apis::GetResourceEntryCallback& callback) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
@@ -539,7 +539,7 @@ void JobScheduler::UploadExistingFile(
const base::FilePath& local_file_path,
const std::string& content_type,
const std::string& etag,
- const DriveClientContext& context,
+ const ClientContext& context,
const google_apis::GetResourceEntryCallback& callback) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
@@ -577,7 +577,7 @@ void JobScheduler::CreateFile(
const base::FilePath& drive_file_path,
const std::string& title,
const std::string& content_type,
- const DriveClientContext& context,
+ const ClientContext& context,
const google_apis::GetResourceEntryCallback& callback) {
DCHECK(BrowserThread::CurrentlyOn(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