| Index: ios/public/provider/chrome/browser/signin/signin_error_provider.h
|
| diff --git a/ios/public/provider/chrome/browser/signin/signin_error_provider.h b/ios/public/provider/chrome/browser/signin/signin_error_provider.h
|
| index cf44c881b31c9e5561761809ff1fef3bdb6ee7b0..39db1a8b8828ae79a8fd157c1b1ff0e07e6a1c7e 100644
|
| --- a/ios/public/provider/chrome/browser/signin/signin_error_provider.h
|
| +++ b/ios/public/provider/chrome/browser/signin/signin_error_provider.h
|
| @@ -47,6 +47,12 @@ class SigninErrorProvider {
|
| // Tests if an NSError is user cancellation error.
|
| virtual bool IsCanceled(NSError* error);
|
|
|
| + // Tests if an NSError is an authorization forbidden error.
|
| + virtual bool IsForbidden(NSError* error);
|
| +
|
| + // Tests if an NSError is a bad request error.
|
| + virtual bool IsBadRequest(NSError* error);
|
| +
|
| // Constant in JSON error responses to server requests indicating that
|
| // the authentication was revoked by the server.
|
| virtual NSString* GetInvalidGrantJsonErrorKey();
|
|
|