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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « content/common/navigation_params.cc ('k') | content/renderer/history_serialization.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_HISTORY_SERIALIZATION_H_ 5 #ifndef CONTENT_RENDERER_HISTORY_SERIALIZATION_H_
6 #define CONTENT_RENDERER_HISTORY_SERIALIZATION_H_ 6 #define CONTENT_RENDERER_HISTORY_SERIALIZATION_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "content/common/content_export.h" 11 #include "content/common/content_export.h"
12 12
13 namespace blink { 13 namespace blink {
14 class WebHistoryItem; 14 class WebHistoryItem;
15 } 15 }
16 16
17 namespace content { 17 namespace content {
18 class HistoryEntry; 18 class HistoryEntry;
19 class PageState; 19 class PageState;
20 struct ExplodedFrameState;
20 21
21 CONTENT_EXPORT PageState HistoryEntryToPageState(HistoryEntry* entry); 22 CONTENT_EXPORT PageState HistoryEntryToPageState(HistoryEntry* entry);
22 CONTENT_EXPORT PageState SingleHistoryItemToPageState( 23 CONTENT_EXPORT PageState SingleHistoryItemToPageState(
23 const blink::WebHistoryItem& item); 24 const blink::WebHistoryItem& item);
24 CONTENT_EXPORT scoped_ptr<HistoryEntry> PageStateToHistoryEntry( 25 CONTENT_EXPORT scoped_ptr<HistoryEntry> PageStateToHistoryEntry(
25 const PageState& state); 26 const PageState& state);
26 27
28 CONTENT_EXPORT ExplodedFrameState
29 HistoryItemToFrameState(const blink::WebHistoryItem& item);
30 CONTENT_EXPORT blink::WebHistoryItem FrameStateToHistoryItem(
31 const ExplodedFrameState& state);
32
27 } // namespace content 33 } // namespace content
28 34
29 #endif // CONTENT_RENDERER_HISTORY_SERIALIZATION_H_ 35 #endif // CONTENT_RENDERER_HISTORY_SERIALIZATION_H_
OLDNEW
« 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