Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / sync / internal_api / public / connection_status.h
blobfe24b477e04969e7d3d86826e514b0d53e7ceef6
1 // Copyright 2015 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.
5 #ifndef SYNC_INTERNAL_API_PUBLIC_CONNECTION_STATUS_H_
6 #define SYNC_INTERNAL_API_PUBLIC_CONNECTION_STATUS_H_
8 namespace syncer {
10 // Status of the sync connection to the server.
11 enum ConnectionStatus {
12 CONNECTION_NOT_ATTEMPTED,
13 CONNECTION_OK,
14 CONNECTION_AUTH_ERROR,
15 CONNECTION_SERVER_ERROR
18 } // namespace syncer
20 #endif // SYNC_INTERNAL_API_PUBLIC_CONNECTION_STATUS_H_