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

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

Issue 10827018: gdata: Rename functions in GDataAuthService per OAuth2 terminology (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 8 years, 5 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/gdata_documents_service.cc
diff --git a/chrome/browser/chromeos/gdata/gdata_documents_service.cc b/chrome/browser/chromeos/gdata/gdata_documents_service.cc
index 0a8213f5520d0a3c6ac7df7cbe5db948efa240e9..8666e77b9af4d9292dd7ae7b167f29afd23ec3eb 100644
--- a/chrome/browser/chromeos/gdata/gdata_documents_service.cc
+++ b/chrome/browser/chromeos/gdata/gdata_documents_service.cc
@@ -271,16 +271,16 @@ void DocumentsService::AuthorizeApp(const GURL& resource_url,
resource_url, app_ids));
}
-bool DocumentsService::IsFullyAuthenticated() const {
+bool DocumentsService::HasAccessToken() const {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
- return runner_->auth_service()->IsFullyAuthenticated();
+ return runner_->auth_service()->HasAccessToken();
}
-bool DocumentsService::IsPartiallyAuthenticated() const {
+bool DocumentsService::HasRefreshToken() const {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
- return runner_->auth_service()->IsPartiallyAuthenticated();
+ return runner_->auth_service()->HasRefreshToken();
}
} // namespace gdata

Powered by Google App Engine
This is Rietveld 408576698