Revert "Fix broken channel icon in chrome://help on CrOS" and try again
[chromium-blink-merge.git] / ios / chrome / browser / signin / signin_manager_factory_observer.h
blob094817288c58881cf7da4a35af05c5b072dc8659
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"
10 class SigninManager;
12 // Observer for SigninManagerFactory.
13 class SigninManagerFactoryObserver {
14 public:
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) {}
25 private:
26 DISALLOW_COPY_AND_ASSIGN(SigninManagerFactoryObserver);
29 #endif // IOS_CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_FACTORY_OBSERVER_H_