| 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 827840434cf2cd10e13f22d26caec28e524407ae..075d533dd3f3a6d40fb462e79dc6d38df5fd534a 100644
|
| --- a/chrome/browser/signin/signin_manager_factory.h
|
| +++ b/chrome/browser/signin/signin_manager_factory.h
|
| @@ -25,15 +25,17 @@ class SigninManagerFactory : public BrowserContextKeyedServiceFactory {
|
| // SigninManager (for example, if |profile| is incognito).
|
| static SigninManagerBase* GetForProfile(Profile* profile);
|
|
|
| - // Returns the instance of SigninManager associated with this profile. Returns
|
| - // null if no SigninManager instance currently exists (will not create a new
|
| - // instance).
|
| - static SigninManagerBase* GetForProfileIfExists(Profile* profile);
|
| + // Returns the instance of SigninManager associated with this browser context.
|
| + // Returns null if no SigninManager instance currently exists (will not create
|
| + // a new instance).
|
| + static SigninManagerBase* GetForBrowserContextIfExists(
|
| + content::BrowserContext* context);
|
| #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 SigninManager* GetForBrowserContextIfExists(
|
| + content::BrowserContext* context);
|
| #endif
|
|
|
| // Returns an instance of the SigninManagerFactory singleton.
|
|
|