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

Side by Side Diff: chrome\browser\sync\auth_error_state.h

Issue 159728: Add browser/sync to the repository. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_PERSONALIZATION_AUTH_ERROR_STATE_H_ 5 #ifndef CHROME_PERSONALIZATION_AUTH_ERROR_STATE_H_
6 #define CHROME_PERSONALIZATION_AUTH_ERROR_STATE_H_ 6 #define CHROME_PERSONALIZATION_AUTH_ERROR_STATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include "base/string_util.h" 9 #include "base/string_util.h"
10 10
11 enum AuthErrorState { 11 enum AuthErrorState {
12 AUTH_ERROR_NONE = 0, 12 AUTH_ERROR_NONE = 0,
13 // The credentials supplied to GAIA were either invalid, or the locally 13 // The credentials supplied to GAIA were either invalid, or the locally
14 // cached credentials have expired. If this happens, the sync system 14 // cached credentials have expired. If this happens, the sync system
15 // will continue as if offline until authentication is reattempted. 15 // will continue as if offline until authentication is reattempted.
16 AUTH_ERROR_INVALID_GAIA_CREDENTIALS, 16 AUTH_ERROR_INVALID_GAIA_CREDENTIALS,
17 // The GAIA user is not authorized to use the sync service. 17 // The GAIA user is not authorized to use the sync service.
18 AUTH_ERROR_USER_NOT_SIGNED_UP, 18 AUTH_ERROR_USER_NOT_SIGNED_UP,
19 // Could not connect to server to verify credentials. This could be in 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 20 // response to either failure to connect to GAIA or failure to connect to
21 // the service needing GAIA tokens during authentication. 21 // the service needing GAIA tokens during authentication.
22 AUTH_ERROR_CONNECTION_FAILED, 22 AUTH_ERROR_CONNECTION_FAILED,
23 }; 23 };
24 24
25 #endif // CHROME_PERSONALIZATION_AUTH_ERROR_STATE 25 #endif // CHROME_PERSONALIZATION_AUTH_ERROR_STATE
OLDNEW
« no previous file with comments | « chrome/test/live_sync/two_client_live_bookmarks_sync_test.cc ('k') | chrome\browser\sync\engine\syncapi.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698