diff options
Diffstat (limited to 'chromium/content/renderer/history_serialization.h')
-rw-r--r-- | chromium/content/renderer/history_serialization.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/chromium/content/renderer/history_serialization.h b/chromium/content/renderer/history_serialization.h new file mode 100644 index 00000000000..e9752af048e --- /dev/null +++ b/chromium/content/renderer/history_serialization.h @@ -0,0 +1,29 @@ +// 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. + +#ifndef CONTENT_RENDERER_HISTORY_SERIALIZATION_H_ +#define CONTENT_RENDERER_HISTORY_SERIALIZATION_H_ + +#include <string> + +#include "base/memory/scoped_ptr.h" +#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 scoped_ptr<HistoryEntry> PageStateToHistoryEntry( + const PageState& state); + +} // namespace content + +#endif // CONTENT_RENDERER_HISTORY_SERIALIZATION_H_ |