OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 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. |
| 4 |
| 5 #ifndef IOS_CHROME_BROWSER_UI_AUTHENTICATION_SIGNED_IN_ACCOUNTS_VIEW_CONTROLLER_
H_ |
| 6 #define IOS_CHROME_BROWSER_UI_AUTHENTICATION_SIGNED_IN_ACCOUNTS_VIEW_CONTROLLER_
H_ |
| 7 |
| 8 #import <UIKit/UIKit.h> |
| 9 |
| 10 namespace ios { |
| 11 class ChromeBrowserState; |
| 12 } // namespace ios |
| 13 |
| 14 // View controller that presents the signed in accounts when they have changed |
| 15 // while the application was in background. |
| 16 @interface SignedInAccountsViewController : UIViewController |
| 17 |
| 18 // Returns whether the collection view should be presented for |browserState|, |
| 19 // which happens when the accounts have changed while in background. |
| 20 + (BOOL)shouldBePresentedForBrowserState:(ios::ChromeBrowserState*)browserState; |
| 21 |
| 22 - (instancetype)initWithBrowserState:(ios::ChromeBrowserState*)browserState |
| 23 NS_DESIGNATED_INITIALIZER; |
| 24 |
| 25 - (instancetype)initWithNibName:(NSString*)name |
| 26 bundle:(NSBundle*)bundle NS_UNAVAILABLE; |
| 27 |
| 28 - (instancetype)initWithCoder:(NSCoder*)coder NS_UNAVAILABLE; |
| 29 |
| 30 @end |
| 31 |
| 32 #endif // IOS_CHROME_BROWSER_UI_AUTHENTICATION_SIGNED_IN_ACCOUNTS_VIEW_CONTROLL
ER_H_ |
OLD | NEW |