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

Unified Diff: chrome/browser/sync_file_system/drive_backend/drive_service_on_worker.cc

Issue 309253002: [SyncFS] SyncWorker cache refresh token status (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rename again Created 6 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/drive_backend/drive_service_wrapper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync_file_system/drive_backend/drive_service_on_worker.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/drive_service_on_worker.cc b/chrome/browser/sync_file_system/drive_backend/drive_service_on_worker.cc
index 935a351a005809125e60e745fe675d4388e75156..8fc92d70dd5503ddbd1ae2bfada7d2d1a0e544a4 100644
--- a/chrome/browser/sync_file_system/drive_backend/drive_service_on_worker.cc
+++ b/chrome/browser/sync_file_system/drive_backend/drive_service_on_worker.cc
@@ -93,7 +93,6 @@ google_apis::CancelCallback DriveServiceOnWorker::DownloadFile(
return google_apis::CancelCallback();
}
-
google_apis::CancelCallback DriveServiceOnWorker::GetAboutResource(
const google_apis::AboutResourceCallback& callback) {
ui_task_runner_->PostTask(
@@ -108,7 +107,6 @@ google_apis::CancelCallback DriveServiceOnWorker::GetAboutResource(
return google_apis::CancelCallback();
}
-
google_apis::CancelCallback DriveServiceOnWorker::GetChangeList(
int64 start_changestamp,
const google_apis::ChangeListCallback& callback) {
@@ -233,10 +231,8 @@ google_apis::CancelCallback DriveServiceOnWorker::SearchByTitle(
}
bool DriveServiceOnWorker::HasRefreshToken() const {
- // TODO(peria): Cache the state and returns it directly, before migration of
- // SyncWorker to a worker thread.
- DCHECK(wrapper_);
- return wrapper_->HasRefreshToken();
+ NOTREACHED();
+ return false;
}
void DriveServiceOnWorker::Initialize(const std::string& account_id) {
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/drive_backend/drive_service_wrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698