blob: 9aa85bed81c17b4044bf68d386b14eb40fb82c82 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_SIGNIN_REAUTH_RESULT_H_
#define CHROME_BROWSER_SIGNIN_REAUTH_RESULT_H_
namespace signin {
// Indicates the result of the Gaia Reauth flow.
// Needs to be kept in sync with "SigninReauthResult" in enums.xml.
// These values are persisted to logs. Entries should not be renumbered and
// numeric values should never be reused.
enum class ReauthResult {
// The user was successfully re-authenticated.
kSuccess = 0,
// The user account is not signed in.
kAccountNotSignedIn = 1,
// The user dismissed the reauth prompt.
kDismissedByUser = 2,
// The reauth page failed to load.
kLoadFailed = 3,
// A caller canceled the reauth flow.
kCancelled = 4,
// An unexpected response was received from Gaia.
kUnexpectedResponse = 5,
kMaxValue = kUnexpectedResponse,
};
} // namespace signin
#endif // CHROME_BROWSER_SIGNIN_REAUTH_RESULT_H_
|