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

Side by Side Diff: content/renderer/history_serialization.h

Issue 248013003: Remove WebHistoryItem child usage (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moar comments Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/renderer/history_entry.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 "content/common/content_export.h" 10 #include "content/common/content_export.h"
11 11
12 namespace blink { 12 namespace blink {
13 class WebHistoryItem; 13 class WebHistoryItem;
14 } 14 }
15 15
16 namespace content { 16 namespace content {
17 class HistoryEntry;
17 class PageState; 18 class PageState;
18 19
19 CONTENT_EXPORT PageState HistoryItemToPageState( 20 CONTENT_EXPORT PageState HistoryEntryToPageState(HistoryEntry* entry);
21 CONTENT_EXPORT PageState SingleHistoryItemToPageState(
20 const blink::WebHistoryItem& item); 22 const blink::WebHistoryItem& item);
21 CONTENT_EXPORT blink::WebHistoryItem PageStateToHistoryItem( 23 CONTENT_EXPORT HistoryEntry* PageStateToHistoryEntry(const PageState& state);
22 const PageState& state);
23 24
24 } // namespace content 25 } // namespace content
25 26
26 #endif // CONTENT_RENDERER_HISTORY_SERIALIZATION_H_ 27 #endif // CONTENT_RENDERER_HISTORY_SERIALIZATION_H_
OLDNEW
« no previous file with comments | « content/renderer/history_entry.cc ('k') | content/renderer/history_serialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698