blob: c9f4fe9df33c7c4045696445d298bbced3e6babb [file] [log] [blame]
// Copyright 2014 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.
#include <memory>
#include <string>
#include "content/common/content_export.h"
namespace blink {
class WebHistoryItem;
namespace content {
class HistoryEntry;
class PageState;
CONTENT_EXPORT PageState HistoryEntryToPageState(HistoryEntry* entry);
CONTENT_EXPORT PageState SingleHistoryItemToPageState(
const blink::WebHistoryItem& item);
CONTENT_EXPORT std::unique_ptr<HistoryEntry> PageStateToHistoryEntry(
const PageState& state);
} // namespace content