| 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 1bf202a56e88ea9873aa072277fa898488f7413e..0f2b1ac66f74559a7fc1321edd9e5ab4870f229f 100644
|
| --- a/chrome/browser/net/gaia/token_service.cc
|
| +++ b/chrome/browser/net/gaia/token_service.cc
|
| @@ -110,11 +110,11 @@ void TokenService::EraseTokensFromDB() {
|
| web_data_service_->RemoveAllTokens();
|
| }
|
|
|
| -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();
|
| }
|
|
|
| @@ -134,7 +134,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;
|
| }
|
|
|
|
|