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

Unified Diff: ios/chrome/browser/signin/signin_manager_factory_observer.h

Issue 1257663002: iOS factories for SigninManager and GaiaCookieManagerService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fakeSigninManager
Patch Set: Fix copyright Created 5 years, 5 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 | « ios/chrome/browser/signin/signin_manager_factory.cc ('k') | ios/chrome/ios_chrome.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/signin/signin_manager_factory_observer.h
diff --git a/ios/chrome/browser/signin/signin_manager_factory_observer.h b/ios/chrome/browser/signin/signin_manager_factory_observer.h
new file mode 100644
index 0000000000000000000000000000000000000000..094817288c58881cf7da4a35af05c5b072dc8659
--- /dev/null
+++ b/ios/chrome/browser/signin/signin_manager_factory_observer.h
@@ -0,0 +1,29 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef IOS_CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_FACTORY_OBSERVER_H_
+#define IOS_CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_FACTORY_OBSERVER_H_
+
+#include "base/macros.h"
+
+class SigninManager;
+
+// Observer for SigninManagerFactory.
+class SigninManagerFactoryObserver {
+ public:
+ SigninManagerFactoryObserver() {}
+ virtual ~SigninManagerFactoryObserver() {}
+
+ // Called when a SigninManager instance is created.
+ virtual void SigninManagerCreated(SigninManager* manager) {}
+
+ // Called when a SigninManager instance is being shut down. Observers
+ // of |manager| should remove themselves at this point.
+ virtual void SigninManagerShutdown(SigninManager* manager) {}
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(SigninManagerFactoryObserver);
+};
+
+#endif // IOS_CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_FACTORY_OBSERVER_H_
« no previous file with comments | « ios/chrome/browser/signin/signin_manager_factory.cc ('k') | ios/chrome/ios_chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698