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

Unified Diff: chrome/browser/signin/signin_manager_factory.h

Issue 898003002: [Cleanup] Const-correct the profile() method for the EasyUnlockService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 10 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/signin/screenlock_bridge.cc ('k') | chrome/browser/signin/signin_manager_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/signin/signin_manager_factory.h
diff --git a/chrome/browser/signin/signin_manager_factory.h b/chrome/browser/signin/signin_manager_factory.h
index 3d00b066145b085e1666ab4e4a0bd8e90f87bd6b..dec6b6d988e2f913a7d4bf556f16a3aa35a5004c 100644
--- a/chrome/browser/signin/signin_manager_factory.h
+++ b/chrome/browser/signin/signin_manager_factory.h
@@ -42,11 +42,13 @@ class SigninManagerFactory : public BrowserContextKeyedServiceFactory {
// null if no SigninManager instance currently exists (will not create a new
// instance).
static SigninManagerBase* GetForProfileIfExists(Profile* profile);
+ static const SigninManagerBase* GetForProfileIfExists(const Profile* profile);
#else
// On non-ChromeOS platforms, the SigninManager the factory creates will be
// an instance of the extended SigninManager class.
static SigninManager* GetForProfile(Profile* profile);
static SigninManager* GetForProfileIfExists(Profile* profile);
+ static const SigninManager* GetForProfileIfExists(const Profile* profile);
#endif
// Returns an instance of the SigninManagerFactory singleton.
« no previous file with comments | « chrome/browser/signin/screenlock_bridge.cc ('k') | chrome/browser/signin/signin_manager_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698