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

Unified Diff: chrome/browser/sync/auth_error_state.h

Issue 160598: Add files to browser/sync. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/profile.h ('k') | chrome/browser/sync/engine/syncapi.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/auth_error_state.h
===================================================================
--- chrome/browser/sync/auth_error_state.h (revision 0)
+++ chrome/browser/sync/auth_error_state.h (revision 0)
@@ -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_BROWSER_SYNC_AUTH_ERROR_STATE_H_
+#define CHROME_BROWSER_SYNC_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_BROWSER_SYNC_AUTH_ERROR_STATE_H_
Property changes on: chrome\browser\sync\auth_error_state.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome/browser/profile.h ('k') | chrome/browser/sync/engine/syncapi.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698