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

Unified Diff: ios/public/provider/chrome/browser/signin/chrome_identity_interaction_manager.h

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, 6 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 | « no previous file | ios/public/provider/chrome/browser/signin/chrome_identity_interaction_manager.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/public/provider/chrome/browser/signin/chrome_identity_interaction_manager.h
diff --git a/ios/public/provider/chrome/browser/signin/chrome_identity_interaction_manager.h b/ios/public/provider/chrome/browser/signin/chrome_identity_interaction_manager.h
index ccbb66d748505983ff2a2bd4307a37844704dbee..a12b31b3b5ffe370ea4132e8f2202eb403ddc020 100644
--- a/ios/public/provider/chrome/browser/signin/chrome_identity_interaction_manager.h
+++ b/ios/public/provider/chrome/browser/signin/chrome_identity_interaction_manager.h
@@ -50,6 +50,18 @@ typedef void (^SigninCompletionCallback)(ChromeIdentity* identity,
// Note: Calling this method will fail and the completion will be called with a
// CHROME_IDENTITY_OPERATION_ONGOING error if there is already another add
// account or reauthenticate operation ongoing.
+// * |userID| is the unique identifier of the user.
+// * |userEmail| will be pre-entered on the presented screen.
+// * |completion| will be called once the operation has finished.
+- (void)reauthenticateUserWithID:(NSString*)userID
+ email:(NSString*)userEmail
+ completion:(SigninCompletionCallback)completion;
+
+// Starts the reauthentication operation for a user. Presents user with the
+// screen to enter credentials with the email pre-entered.
+// Note: Calling this method will fail and the completion will be called with a
+// CHROME_IDENTITY_OPERATION_ONGOING error if there is already another add
+// account or reauthenticate operation ongoing.
// * |email| will be pre-entered on the presented screen.
// * |completion| will be called once the operation has finished.
- (void)reauthenticateUserWithEmail:(NSString*)email
« no previous file with comments | « no previous file | ios/public/provider/chrome/browser/signin/chrome_identity_interaction_manager.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698