[email protected] | 691aa2f | 2013-05-28 22:52:04 | [diff] [blame] | 1 | // 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 | |||||
[email protected] | 180ef24 | 2013-11-07 06:50:46 | [diff] [blame^] | 12 | namespace blink { |
[email protected] | 691aa2f | 2013-05-28 22:52:04 | [diff] [blame] | 13 | class WebHistoryItem; |
14 | } | ||||
15 | |||||
16 | namespace content { | ||||
17 | class PageState; | ||||
18 | |||||
19 | CONTENT_EXPORT PageState HistoryItemToPageState( | ||||
[email protected] | 180ef24 | 2013-11-07 06:50:46 | [diff] [blame^] | 20 | const blink::WebHistoryItem& item); |
21 | CONTENT_EXPORT blink::WebHistoryItem PageStateToHistoryItem( | ||||
[email protected] | 691aa2f | 2013-05-28 22:52:04 | [diff] [blame] | 22 | const PageState& state); |
23 | |||||
24 | } // namespace content | ||||
25 | |||||
26 | #endif // CONTENT_RENDERER_HISTORY_ITEM_SERIALIZATION_H_ |