// Copyright 2014 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_SHUTDOWN_REASON_H_ #define COMPONENTS_SYNC_ENGINE_SHUTDOWN_REASON_H_ #include "components/sync/base/sync_stop_metadata_fate.h" namespace syncer { // Reason for shutting down the sync engine. enum class ShutdownReason { … }; const char* ShutdownReasonToString(ShutdownReason reason); SyncStopMetadataFate ShutdownReasonToSyncStopMetadataFate( ShutdownReason shutdown_reason); } // namespace syncer #endif // COMPONENTS_SYNC_ENGINE_SHUTDOWN_REASON_H_