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

Side by Side Diff: ios/public/provider/chrome/browser/signin/chrome_identity_interaction_manager.mm

Issue 2110183006: Introduce reauthenticateUserWithID:email:callback: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Better parameters name Created 4 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 unified diff | Download patch
« no previous file with comments | « ios/public/provider/chrome/browser/signin/chrome_identity_interaction_manager.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « ios/public/provider/chrome/browser/signin/chrome_identity_interaction_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698