Index: content/browser/frame_host/navigation_controller_impl.h |
diff --git a/content/browser/frame_host/navigation_controller_impl.h b/content/browser/frame_host/navigation_controller_impl.h |
index 7a06ba663b67bce4950cd7571f4231ae67749af0..31093c34037c277f5696b2bfb4d61f4e66a54da1 100644 |
--- a/content/browser/frame_host/navigation_controller_impl.h |
+++ b/content/browser/frame_host/navigation_controller_impl.h |
@@ -56,6 +56,9 @@ class CONTENT_EXPORT NavigationControllerImpl |
virtual int GetPendingEntryIndex() const OVERRIDE; |
virtual NavigationEntry* GetTransientEntry() const OVERRIDE; |
virtual void SetTransientEntry(NavigationEntry* entry) OVERRIDE; |
+ virtual NavigationEntry* GetBlockedPageEntry() const OVERRIDE; |
+ virtual void SetBlockedPageEntry(NavigationEntry* entry) OVERRIDE; |
+ |
virtual void LoadURL(const GURL& url, |
const Referrer& referrer, |
PageTransition type, |
@@ -341,6 +344,9 @@ class CONTENT_EXPORT NavigationControllerImpl |
typedef std::vector<linked_ptr<NavigationEntryImpl> > NavigationEntries; |
NavigationEntries entries_; |
+ // Preserved copy of a NavigationEntry when blink blocks a page. |
+ linked_ptr<NavigationEntryImpl> blocked_page_entry_; |
nasko
2014/06/10 23:21:30
Why not use scoped_ptr here?
|
+ |
// An entry we haven't gotten a response for yet. This will be discarded |
// when we navigate again. It's used only so we know what the currently |
// displayed tab is. |