blob: 1267bc2387c8e4a11e6209953ff2bca44cda674c [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 "components/sync/protocol/sync_enums.pb.h"
#include "ui/base/page_transition_types.h"
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_