Index: content/public/renderer/history_item_serialization.h |
diff --git a/content/public/renderer/history_item_serialization.h b/content/public/renderer/history_item_serialization.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..44eb1e1c09491e27d81f6d44c3e7ab16cbad02e6 |
--- /dev/null |
+++ b/content/public/renderer/history_item_serialization.h |
@@ -0,0 +1,26 @@ |
+// Copyright (c) 2013 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_ITEM_SERIALIZATION_H_ |
+#define CONTENT_RENDERER_HISTORY_ITEM_SERIALIZATION_H_ |
+ |
+#include <string> |
+ |
+#include "content/common/content_export.h" |
+ |
+namespace WebKit { |
+class WebHistoryItem; |
+} |
+ |
+namespace content { |
+class PageState; |
+ |
+CONTENT_EXPORT PageState HistoryItemToPageState( |
brettw
2013/05/17 04:57:10
Does this need to be in the public API? I was not
|
+ const WebKit::WebHistoryItem& item); |
+CONTENT_EXPORT WebKit::WebHistoryItem PageStateToHistoryItem( |
+ const PageState& state); |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_RENDERER_HISTORY_ITEM_SERIALIZATION_H_ |