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

Unified Diff: chrome/browser/net/gaia/token_service.cc

Issue 3089004: Mac: Some clang appeasing. (Closed)
Patch Set: '' Created 10 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/net/gaia/token_service.h ('k') | chrome/default_plugin/plugin_impl_gtk.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « chrome/browser/net/gaia/token_service.h ('k') | chrome/default_plugin/plugin_impl_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698