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. |