connection_status.h 542 B

1234567891011121314151617181920
  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.
  4. #ifndef COMPONENTS_SYNC_ENGINE_CONNECTION_STATUS_H_
  5. #define COMPONENTS_SYNC_ENGINE_CONNECTION_STATUS_H_
  6. namespace syncer {
  7. // Status of the sync connection to the server.
  8. enum ConnectionStatus {
  9. CONNECTION_NOT_ATTEMPTED,
  10. CONNECTION_OK,
  11. CONNECTION_AUTH_ERROR,
  12. CONNECTION_SERVER_ERROR
  13. };
  14. } // namespace syncer
  15. #endif // COMPONENTS_SYNC_ENGINE_CONNECTION_STATUS_H_