blob: 34557f8e0d9b3e5abe8c70611f1a968fb1c21bcf [file] [log] [blame]
// Copyright 2022 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_BASE_PAGE_TRANSITION_CONVERSION_H_
#define COMPONENTS_SYNC_BASE_PAGE_TRANSITION_CONVERSION_H_
#include "ui/base/page_transition_types.h"
namespace sync_pb {
enum SyncEnums_PageTransition : int;
} // namespace sync_pb
namespace syncer {
sync_pb::SyncEnums_PageTransition ToSyncPageTransition(
ui::PageTransition transition_type);
ui::PageTransition FromSyncPageTransition(
sync_pb::SyncEnums_PageTransition transition_type);
} // namespace syncer
#endif // COMPONENTS_SYNC_BASE_PAGE_TRANSITION_CONVERSION_H_