| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_PERSONALIZATION_AUTH_ERROR_STATE_H_ | |
| 6 #define CHROME_PERSONALIZATION_AUTH_ERROR_STATE_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 #include "base/string_util.h" | |
| 10 | |
| 11 enum AuthErrorState { | |
| 12 AUTH_ERROR_NONE = 0, | |
| 13 // The credentials supplied to GAIA were either invalid, or the locally | |
| 14 // cached credentials have expired. If this happens, the sync system | |
| 15 // will continue as if offline until authentication is reattempted. | |
| 16 AUTH_ERROR_INVALID_GAIA_CREDENTIALS, | |
| 17 // The GAIA user is not authorized to use the sync service. | |
| 18 AUTH_ERROR_USER_NOT_SIGNED_UP, | |
| 19 // Could not connect to server to verify credentials. This could be in | |
| 20 // response to either failure to connect to GAIA or failure to connect to | |
| 21 // the service needing GAIA tokens during authentication. | |
| 22 AUTH_ERROR_CONNECTION_FAILED, | |
| 23 }; | |
| 24 | |
| 25 #endif // CHROME_PERSONALIZATION_AUTH_ERROR_STATE | |
| OLD | NEW |