// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_SYNC_ENGINE_SYNC_PROTOCOL_ERROR_H_ #define COMPONENTS_SYNC_ENGINE_SYNC_PROTOCOL_ERROR_H_ #include <memory> #include <string> #include "components/sync/base/data_type.h" namespace syncer { enum SyncProtocolErrorType { … }; enum ClientAction { … }; struct SyncProtocolError { … }; const char* GetSyncErrorTypeString(SyncProtocolErrorType type); const char* GetClientActionString(ClientAction action); } // namespace syncer #endif // COMPONENTS_SYNC_ENGINE_SYNC_PROTOCOL_ERROR_H_