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); |
} |