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

Unified Diff: content/browser/frame_host/navigation_entry_impl.h

Issue 1184423005: Add item and document sequence numbers to FrameNavigationEntry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add const; git cl format Created 5 years, 6 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/browser/frame_host/navigation_entry_impl.h
diff --git a/content/browser/frame_host/navigation_entry_impl.h b/content/browser/frame_host/navigation_entry_impl.h
index a5ce6fcf9f11657bf8155682a84d3f81c8953156..63fa5e0642eb2d6b190d239333a79d33c1b6cfd5 100644
--- a/content/browser/frame_host/navigation_entry_impl.h
+++ b/content/browser/frame_host/navigation_entry_impl.h
@@ -172,14 +172,16 @@ class CONTENT_EXPORT NavigationEntryImpl
// Does nothing if there is no entry already and |url| is about:blank, since
// that does not count as a real commit.
void AddOrUpdateFrameEntry(FrameTreeNode* frame_tree_node,
+ int64 item_sequence_number,
+ int64 document_sequence_number,
SiteInstanceImpl* site_instance,
const GURL& url,
const Referrer& referrer,
const PageState& page_state);
- // Returns whether this entry has a FrameNavigationEntry for the given
- // |frame_tree_node|.
- bool HasFrameEntry(FrameTreeNode* frame_tree_node) const;
+ // Returns the FrameNavigationEntry corresponding to |frame_tree_node|, if
+ // there is one in this NavigationEntry.
+ FrameNavigationEntry* GetFrameEntry(FrameTreeNode* frame_tree_node) const;
void set_unique_id(int unique_id) {
unique_id_ = unique_id;

Powered by Google App Engine
This is Rietveld 408576698