| Index: chrome/browser/net/gaia/token_service.cc
|
| diff --git a/chrome/browser/net/gaia/token_service.cc b/chrome/browser/net/gaia/token_service.cc
|
| index 8420fb2c29fa1981ff8b3b67611f7ba85dbbaccb..0a87dfe5c32f5a089d3dae9374124fea23447923 100644
|
| --- a/chrome/browser/net/gaia/token_service.cc
|
| +++ b/chrome/browser/net/gaia/token_service.cc
|
| @@ -20,11 +20,11 @@ void TokenService::Initialize(
|
| talk_token_fetcher_.reset(new GaiaAuthenticator2(this, source_, getter));
|
| }
|
|
|
| -const bool TokenService::AreCredentialsValid() const {
|
| +bool TokenService::AreCredentialsValid() const {
|
| return !credentials_.lsid.empty() && !credentials_.sid.empty();
|
| }
|
|
|
| -const bool TokenService::HasLsid() const {
|
| +bool TokenService::HasLsid() const {
|
| return !credentials_.lsid.empty();
|
| }
|
|
|
| @@ -44,7 +44,7 @@ void TokenService::StartFetchingTokens() {
|
|
|
| // Services dependent on a token will check if a token is available.
|
| // If it isn't, they'll go to sleep until they get a token event.
|
| -const bool TokenService::HasTokenForService(const char* const service) const {
|
| +bool TokenService::HasTokenForService(const char* const service) const {
|
| return token_map_.count(service) > 0;
|
| }
|
|
|
|
|