OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #import "ios/public/provider/chrome/browser/signin/chrome_identity_interaction_m
anager.h" | 5 #import "ios/public/provider/chrome/browser/signin/chrome_identity_interaction_m
anager.h" |
6 | 6 |
7 #import "base/ios/weak_nsobject.h" | 7 #import "base/ios/weak_nsobject.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 | 9 |
10 @interface ChromeIdentityInteractionManager () { | 10 @interface ChromeIdentityInteractionManager () { |
(...skipping 13 matching lines...) Expand all Loading... |
24 | 24 |
25 - (BOOL)isCanceling { | 25 - (BOOL)isCanceling { |
26 return NO; | 26 return NO; |
27 } | 27 } |
28 | 28 |
29 - (void)addAccountWithCompletion:(SigninCompletionCallback)completion { | 29 - (void)addAccountWithCompletion:(SigninCompletionCallback)completion { |
30 NOTREACHED() << "Subclasses must override this"; | 30 NOTREACHED() << "Subclasses must override this"; |
31 completion(nil, nil); | 31 completion(nil, nil); |
32 } | 32 } |
33 | 33 |
| 34 - (void)reauthenticateUserWithID:(NSString*)userID |
| 35 email:(NSString*)userEmail |
| 36 completion:(SigninCompletionCallback)completion { |
| 37 NOTREACHED() << "Subclasses must override this"; |
| 38 completion(nil, nil); |
| 39 } |
| 40 |
34 - (void)reauthenticateUserWithEmail:(NSString*)email | 41 - (void)reauthenticateUserWithEmail:(NSString*)email |
35 completion:(SigninCompletionCallback)completion { | 42 completion:(SigninCompletionCallback)completion { |
36 NOTREACHED() << "Subclasses must override this"; | 43 NOTREACHED() << "Subclasses must override this"; |
37 completion(nil, nil); | 44 completion(nil, nil); |
38 } | 45 } |
39 | 46 |
40 - (void)cancelAndDismissAnimated:(BOOL)animated { | 47 - (void)cancelAndDismissAnimated:(BOOL)animated { |
41 NOTREACHED() << "Subclasses must override this"; | 48 NOTREACHED() << "Subclasses must override this"; |
42 } | 49 } |
43 | 50 |
44 @end | 51 @end |
OLD | NEW |