blob: c9f4fe9df33c7c4045696445d298bbced3e6babb [file] [log] [blame]
[email protected]dc064352014-04-25 08:36:381// Copyright 2014 The Chromium Authors. All rights reserved.
[email protected]691aa2f2013-05-28 22:52:042// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
[email protected]dc064352014-04-25 08:36:385#ifndef CONTENT_RENDERER_HISTORY_SERIALIZATION_H_
6#define CONTENT_RENDERER_HISTORY_SERIALIZATION_H_
[email protected]691aa2f2013-05-28 22:52:047
dchengcedca5612016-04-09 01:40:158#include <memory>
[email protected]691aa2f2013-05-28 22:52:049#include <string>
10
11#include "content/common/content_export.h"
12
[email protected]180ef242013-11-07 06:50:4613namespace blink {
[email protected]691aa2f2013-05-28 22:52:0414class WebHistoryItem;
15}
16
17namespace content {
[email protected]9cd14ef2014-04-30 18:26:0318class HistoryEntry;
[email protected]691aa2f2013-05-28 22:52:0419class PageState;
20
[email protected]9cd14ef2014-04-30 18:26:0321CONTENT_EXPORT PageState HistoryEntryToPageState(HistoryEntry* entry);
22CONTENT_EXPORT PageState SingleHistoryItemToPageState(
[email protected]180ef242013-11-07 06:50:4623 const blink::WebHistoryItem& item);
dchengcedca5612016-04-09 01:40:1524CONTENT_EXPORT std::unique_ptr<HistoryEntry> PageStateToHistoryEntry(
[email protected]477f1e72014-05-01 00:49:0925 const PageState& state);
[email protected]691aa2f2013-05-28 22:52:0426
27} // namespace content
28
[email protected]dc064352014-04-25 08:36:3829#endif // CONTENT_RENDERER_HISTORY_SERIALIZATION_H_