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

Unified Diff: content/renderer/history_serialization.h

Issue 248013003: Remove WebHistoryItem child usage (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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/renderer/history_serialization.h
diff --git a/content/renderer/history_serialization.h b/content/renderer/history_serialization.h
index 6160fd3b34b9072fe0dd41c0c4c727b2a48fb537..16a8778e1b41b8d1c4c59c688b2e6b7d21465385 100644
--- a/content/renderer/history_serialization.h
+++ b/content/renderer/history_serialization.h
@@ -6,21 +6,17 @@
#define CONTENT_RENDERER_HISTORY_SERIALIZATION_H_
#include <string>
+#include <vector>
#include "content/common/content_export.h"
-namespace blink {
-class WebHistoryItem;
-}
-
namespace content {
+class HistoryEntry;
class PageState;
-CONTENT_EXPORT PageState HistoryItemToPageState(
- const blink::WebHistoryItem& item);
-CONTENT_EXPORT blink::WebHistoryItem PageStateToHistoryItem(
- const PageState& state);
-
+CONTENT_EXPORT PageState HistoryEntryToPageState(HistoryEntry* entry);
+CONTENT_EXPORT HistoryEntry* PageStateToHistoryEntry(const PageState& state,
+ int main_routing_id);
} // namespace content
#endif // CONTENT_RENDERER_HISTORY_SERIALIZATION_H_

Powered by Google App Engine
This is Rietveld 408576698