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

Unified Diff: content/renderer/history_serialization.h

Issue 1415603018: OOPIF: Support session restore by combining/splitting frame states. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clean up and fix bugs Created 5 years 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
« no previous file with comments | « content/common/navigation_params.cc ('k') | content/renderer/history_serialization.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/history_serialization.h
diff --git a/content/renderer/history_serialization.h b/content/renderer/history_serialization.h
index e9752af048e27d525c1d017153a79aca38f1f129..0bf4b81bcad3af46ef839193ede7cf0745ac20ab 100644
--- a/content/renderer/history_serialization.h
+++ b/content/renderer/history_serialization.h
@@ -17,6 +17,7 @@ class WebHistoryItem;
namespace content {
class HistoryEntry;
class PageState;
+struct ExplodedFrameState;
CONTENT_EXPORT PageState HistoryEntryToPageState(HistoryEntry* entry);
CONTENT_EXPORT PageState SingleHistoryItemToPageState(
@@ -24,6 +25,11 @@ CONTENT_EXPORT PageState SingleHistoryItemToPageState(
CONTENT_EXPORT scoped_ptr<HistoryEntry> PageStateToHistoryEntry(
const PageState& state);
+CONTENT_EXPORT ExplodedFrameState
+HistoryItemToFrameState(const blink::WebHistoryItem& item);
+CONTENT_EXPORT blink::WebHistoryItem FrameStateToHistoryItem(
+ const ExplodedFrameState& state);
+
} // namespace content
#endif // CONTENT_RENDERER_HISTORY_SERIALIZATION_H_
« no previous file with comments | « content/common/navigation_params.cc ('k') | content/renderer/history_serialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698