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

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

Issue 2580753002: Fix NavigationControllerBrowserTest. EnsureSamePageNavigationUpdatesFrameNavigationEntry browser nav (Closed)
Patch Set: Revert changes to browser-side-navigation.linux.content_browsertests.filter. Will do that in a sepa… Created 4 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 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 4b93695b791e5620e2aed4b2cb1d88055bd07e9e..9782bf1668dc097b23dbfea570204d5c4dd87fca 100644
--- a/content/browser/frame_host/navigation_entry_impl.h
+++ b/content/browser/frame_host/navigation_entry_impl.h
@@ -388,6 +388,11 @@ class CONTENT_EXPORT NavigationEntryImpl
// Returns the history URL for a data URL to use in Blink.
GURL GetHistoryURLForDataURL() const;
+ // These flags are set when the navigation controller gets notified of an SSL
+ // error while a navigation is pending.
+ void set_ssl_error(bool error) { ssl_error_ = error; }
+ bool ssl_error() const { return ssl_error_; }
+
#if defined(OS_ANDROID)
base::TimeTicks intent_received_timestamp() const {
return intent_received_timestamp_;
@@ -543,6 +548,10 @@ class CONTENT_EXPORT NavigationEntryImpl
// time (see TabNavigation for an example of this).
std::map<std::string, base::string16> extra_data_;
+ // Set to true if the navigation controller gets notified about a SSL error
+ // for a pending navigation. Defaults to false.
+ bool ssl_error_;
+
DISALLOW_COPY_AND_ASSIGN(NavigationEntryImpl);
};
« no previous file with comments | « content/browser/frame_host/navigation_controller_impl_unittest.cc ('k') | content/browser/frame_host/navigation_entry_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698