1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef IOS_CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_FACTORY_OBSERVER_H_
6 #define IOS_CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_FACTORY_OBSERVER_H_
8 #include "base/macros.h"
12 // Observer for SigninManagerFactory.
13 class SigninManagerFactoryObserver
{
15 SigninManagerFactoryObserver() {}
16 virtual ~SigninManagerFactoryObserver() {}
18 // Called when a SigninManager instance is created.
19 virtual void SigninManagerCreated(SigninManager
* manager
) {}
21 // Called when a SigninManager instance is being shut down. Observers
22 // of |manager| should remove themselves at this point.
23 virtual void SigninManagerShutdown(SigninManager
* manager
) {}
26 DISALLOW_COPY_AND_ASSIGN(SigninManagerFactoryObserver
);
29 #endif // IOS_CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_FACTORY_OBSERVER_H_