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

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

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.h
diff --git a/chrome/browser/chromeos/gdata/gdata_documents_service.h b/chrome/browser/chromeos/gdata/gdata_documents_service.h
index d626cbf623dc0a191f947f0e129637febfff13f5..61eecc6c5121d45d28e9ff2219d66e779594c5a4 100644
--- a/chrome/browser/chromeos/gdata/gdata_documents_service.h
+++ b/chrome/browser/chromeos/gdata/gdata_documents_service.h
@@ -185,11 +185,11 @@ class DocumentsServiceInterface {
const std::string& app_id,
const GetDataCallback& callback) = 0;
- // True if OAuth2 auth token is retrieved and believed to be fresh.
- virtual bool IsFullyAuthenticated() const = 0;
+ // True if OAuth2 access token is retrieved and believed to be fresh.
+ virtual bool HasAccessToken() const = 0;
// True if OAuth2 refresh token is present.
- virtual bool IsPartiallyAuthenticated() const = 0;
+ virtual bool HasRefreshToken() const = 0;
};
// This class provides documents feed service calls.
@@ -254,8 +254,8 @@ class DocumentsService : public DocumentsServiceInterface {
virtual void AuthorizeApp(const GURL& resource_url,
const std::string& app_id,
const GetDataCallback& callback) OVERRIDE;
- virtual bool IsFullyAuthenticated() const OVERRIDE;
- virtual bool IsPartiallyAuthenticated() const OVERRIDE;
+ virtual bool HasAccessToken() const OVERRIDE;
+ virtual bool HasRefreshToken() const OVERRIDE;
private:
Profile* profile_;
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_auth_service.cc ('k') | chrome/browser/chromeos/gdata/gdata_documents_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698