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

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

Issue 3473006: Fix a bunch of clang warnings/errors. (Closed)
Patch Set: Created 10 years, 3 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
Index: chrome/browser/net/gaia/token_service.h
diff --git a/chrome/browser/net/gaia/token_service.h b/chrome/browser/net/gaia/token_service.h
index 006423f11bec7fd34715e1653f358db455954e59..b6f1b3c49e32e659fc7d173083e3cdce2733c922 100644
--- a/chrome/browser/net/gaia/token_service.h
+++ b/chrome/browser/net/gaia/token_service.h
@@ -115,16 +115,16 @@ class TokenService : public GaiaAuthConsumer,
// For legacy services with their own auth routines, they can just read
// the LSID out directly. Deprecated.
- const bool HasLsid() const;
+ bool HasLsid() const;
const std::string& GetLsid() const;
// Did we get a proper LSID?
- const bool AreCredentialsValid() const;
+ bool AreCredentialsValid() const;
// Tokens will be fetched for all services(sync, talk) in the background.
// Results come back via event channel. Services can also poll before events
// are issued.
void StartFetchingTokens();
- const bool HasTokenForService(const char* const service) const;
+ bool HasTokenForService(const char* const service) const;
const std::string& GetTokenForService(const char* const service) const;
// For tests only. Doesn't save to the WebDB.

Powered by Google App Engine
This is Rietveld 408576698