summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/auth_error_state.h
diff options
context:
space:
mode:
authortim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-03 21:46:10 +0000
committertim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-03 21:46:10 +0000
commit4728aab62e1076e58ccd756200719b9babd7ed9b (patch)
treeedd111a1c5e86f1b144429559883dacffc682664 /chrome/browser/sync/auth_error_state.h
parentb2afacb2162f630136421a01094155474b081add (diff)
downloadchromium_src-4728aab62e1076e58ccd756200719b9babd7ed9b.zip
chromium_src-4728aab62e1076e58ccd756200719b9babd7ed9b.tar.gz
chromium_src-4728aab62e1076e58ccd756200719b9babd7ed9b.tar.bz2
Add the image resources first so the CL that references them can pass on
the try servers. Review URL: http://codereview.chromium.org/159808 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22317 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/auth_error_state.h')
-rw-r--r--chrome/browser/sync/auth_error_state.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/chrome/browser/sync/auth_error_state.h b/chrome/browser/sync/auth_error_state.h
new file mode 100644
index 0000000..863a9eb
--- /dev/null
+++ b/chrome/browser/sync/auth_error_state.h
@@ -0,0 +1,25 @@
+// Copyright (c) 2006-2008 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_PERSONALIZATION_AUTH_ERROR_STATE_H_
+#define CHROME_PERSONALIZATION_AUTH_ERROR_STATE_H_
+
+#include <string>
+#include "base/string_util.h"
+
+enum AuthErrorState {
+ AUTH_ERROR_NONE = 0,
+ // The credentials supplied to GAIA were either invalid, or the locally
+ // cached credentials have expired. If this happens, the sync system
+ // will continue as if offline until authentication is reattempted.
+ AUTH_ERROR_INVALID_GAIA_CREDENTIALS,
+ // The GAIA user is not authorized to use the sync service.
+ AUTH_ERROR_USER_NOT_SIGNED_UP,
+ // Could not connect to server to verify credentials. This could be in
+ // response to either failure to connect to GAIA or failure to connect to
+ // the service needing GAIA tokens during authentication.
+ AUTH_ERROR_CONNECTION_FAILED,
+};
+
+#endif // CHROME_PERSONALIZATION_AUTH_ERROR_STATE