Index: content/browser/frame_host/navigation_entry_impl.cc |
diff --git a/content/browser/frame_host/navigation_entry_impl.cc b/content/browser/frame_host/navigation_entry_impl.cc |
index b021d5eda18cea37a92d27924094752c5b77a5b7..5f82ea50b8b0cf8a2f5e579c5b21985d22ce2951 100644 |
--- a/content/browser/frame_host/navigation_entry_impl.cc |
+++ b/content/browser/frame_host/navigation_entry_impl.cc |
@@ -53,6 +53,7 @@ NavigationEntryImpl::NavigationEntryImpl() |
should_replace_entry_(false), |
should_clear_history_list_(false), |
can_load_local_resources_(false), |
+ xss_detected_(false), |
frame_tree_node_id_(-1) { |
} |
@@ -82,6 +83,7 @@ NavigationEntryImpl::NavigationEntryImpl(SiteInstanceImpl* instance, |
should_replace_entry_(false), |
should_clear_history_list_(false), |
can_load_local_resources_(false), |
+ xss_detected_(false), |
frame_tree_node_id_(-1) { |
} |
@@ -310,6 +312,10 @@ bool NavigationEntryImpl::GetCanLoadLocalResources() const { |
return can_load_local_resources_; |
} |
+bool NavigationEntryImpl::GetXssDetected() const { |
+ return xss_detected_; |
+} |
+ |
void NavigationEntryImpl::SetFrameToNavigate(const std::string& frame_name) { |
frame_to_navigate_ = frame_name; |
} |