Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Unified Diff: content/public/renderer/history_item_serialization.h

Issue 14985014: Introduce content::PageState (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compilation issues. Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698