blob: 44eb1e1c09491e27d81f6d44c3e7ab16cbad02e6 [file] [log] [blame]
[email protected]691aa2f2013-05-28 22:52:041// Copyright (c) 2013 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef CONTENT_RENDERER_HISTORY_ITEM_SERIALIZATION_H_
6#define CONTENT_RENDERER_HISTORY_ITEM_SERIALIZATION_H_
7
8#include <string>
9
10#include "content/common/content_export.h"
11
12namespace WebKit {
13class WebHistoryItem;
14}
15
16namespace content {
17class PageState;
18
19CONTENT_EXPORT PageState HistoryItemToPageState(
20 const WebKit::WebHistoryItem& item);
21CONTENT_EXPORT WebKit::WebHistoryItem PageStateToHistoryItem(
22 const PageState& state);
23
24} // namespace content
25
26#endif // CONTENT_RENDERER_HISTORY_ITEM_SERIALIZATION_H_