| Index: ios/chrome/browser/ui/commands/show_signin_command.h
|
| diff --git a/ios/chrome/browser/ui/commands/show_signin_command.h b/ios/chrome/browser/ui/commands/show_signin_command.h
|
| index efc415980e056760392eacf5762531af47ab07c9..70651268196c9cfd9eb45bf67dd048fbcbd8a797 100644
|
| --- a/ios/chrome/browser/ui/commands/show_signin_command.h
|
| +++ b/ios/chrome/browser/ui/commands/show_signin_command.h
|
| @@ -8,7 +8,6 @@
|
| #import <Foundation/Foundation.h>
|
|
|
| #include "components/signin/core/browser/signin_metrics.h"
|
| -#include "ios/chrome/browser/signin/constants.h"
|
| #include "ios/chrome/browser/ui/commands/generic_chrome_command.h"
|
|
|
| typedef void (^ShowSigninCommandCompletionCallback)(BOOL succeeded);
|
| @@ -36,22 +35,12 @@ enum AuthenticationOperation {
|
| // Initializes a command to perform the specified operation with a
|
| // SigninInteractionController and invoke a possibly-nil callback when finished.
|
| - (instancetype)initWithOperation:(AuthenticationOperation)operation
|
| - signInSource:(SignInSource)signInSource
|
| + signInAccessPoint:(signin_metrics::AccessPoint)signInAccessPoint
|
| callback:(ShowSigninCommandCompletionCallback)callback
|
| NS_DESIGNATED_INITIALIZER;
|
|
|
| // Initializes a ShowSigninCommand with a nil callback.
|
| - (instancetype)initWithOperation:(AuthenticationOperation)operation
|
| - signInSource:(SignInSource)signInSource;
|
| -
|
| -// Initializes a command to perform the specified operation with a
|
| -// SigninInteractionController and invoke a possibly-nil callback when finished.
|
| -- (instancetype)initWithOperation:(AuthenticationOperation)operation
|
| - signInAccessPoint:(signin_metrics::AccessPoint)signInAccessPoint
|
| - callback:(ShowSigninCommandCompletionCallback)callback;
|
| -
|
| -// Initializes a ShowSigninCommand with a nil callback.
|
| -- (instancetype)initWithOperation:(AuthenticationOperation)operation
|
| signInAccessPoint:
|
| (signin_metrics::AccessPoint)signInAccessPoint;
|
|
|
| @@ -61,9 +50,6 @@ enum AuthenticationOperation {
|
| // The operation to perform during the sign-in flow.
|
| @property(nonatomic, readonly) AuthenticationOperation operation;
|
|
|
| -// The source of this authentication operation.
|
| -@property(nonatomic, readonly) SignInSource signInSource;
|
| -
|
| // The access point of this authentication operation.
|
| @property(nonatomic, readonly) signin_metrics::AccessPoint signInAccessPoint;
|
|
|
|
|