app_shell: Add version number in user agent
[chromium-blink-merge.git] / content / renderer / history_serialization.h
blobe9752af048e27d525c1d017153a79aca38f1f129
1 // Copyright 2014 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.
5 #ifndef CONTENT_RENDERER_HISTORY_SERIALIZATION_H_
6 #define CONTENT_RENDERER_HISTORY_SERIALIZATION_H_
8 #include <string>
10 #include "base/memory/scoped_ptr.h"
11 #include "content/common/content_export.h"
13 namespace blink {
14 class WebHistoryItem;
17 namespace content {
18 class HistoryEntry;
19 class PageState;
21 CONTENT_EXPORT PageState HistoryEntryToPageState(HistoryEntry* entry);
22 CONTENT_EXPORT PageState SingleHistoryItemToPageState(
23 const blink::WebHistoryItem& item);
24 CONTENT_EXPORT scoped_ptr<HistoryEntry> PageStateToHistoryEntry(
25 const PageState& state);
27 } // namespace content
29 #endif // CONTENT_RENDERER_HISTORY_SERIALIZATION_H_