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

Unified Diff: chrome/browser/chromeos/gdata/operations_base.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
« no previous file with comments | « chrome/browser/chromeos/gdata/operations_base.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/gdata/operations_base.cc
diff --git a/chrome/browser/chromeos/gdata/operations_base.cc b/chrome/browser/chromeos/gdata/operations_base.cc
index 5890d19f08683a479fb0d7a5b9f1a7020380f526..ac6c67ae483883b8d4bd49103bb57db85b563631 100644
--- a/chrome/browser/chromeos/gdata/operations_base.cc
+++ b/chrome/browser/chromeos/gdata/operations_base.cc
@@ -56,13 +56,13 @@ AuthOperation::AuthOperation(GDataOperationRegistry* registry,
const AuthStatusCallback& callback,
const std::string& refresh_token)
: GDataOperationRegistry::Operation(registry),
- profile_(profile), token_(refresh_token), callback_(callback) {
+ profile_(profile), refresh_token_(refresh_token), callback_(callback) {
}
AuthOperation::~AuthOperation() {}
void AuthOperation::Start() {
- DCHECK(!token_.empty());
+ DCHECK(!refresh_token_.empty());
std::vector<std::string> scopes;
scopes.push_back(kDocsListScope);
scopes.push_back(kSpreadsheetsScope);
@@ -73,7 +73,7 @@ void AuthOperation::Start() {
oauth2_access_token_fetcher_->Start(
GaiaUrls::GetInstance()->oauth2_chrome_client_id(),
GaiaUrls::GetInstance()->oauth2_chrome_client_secret(),
- token_,
+ refresh_token_,
scopes);
}
« no previous file with comments | « chrome/browser/chromeos/gdata/operations_base.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698