123456789101112131415161718192021 |
- // Copyright 2022 The Chromium Authors. All rights reserved.
- // 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_
|