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 31b1d508e8ee0a7f70a5fdbc9a28b5e169c5d57e..cc5b092bf394fc8fdb1edae84103b4cbb25e8bbf 100644 |
--- a/content/browser/frame_host/navigation_entry_impl.cc |
+++ b/content/browser/frame_host/navigation_entry_impl.cc |
@@ -559,6 +559,18 @@ bool NavigationEntryImpl::IsRestored() const { |
return restore_type_ != RestoreType::NONE; |
} |
+std::string NavigationEntryImpl::GetExtraHeaders() const { |
+ return extra_headers_; |
+} |
+ |
+void NavigationEntryImpl::AddExtraHeaders(const std::string& |
+ more_extra_headers) { |
+ DCHECK(!more_extra_headers.empty()); |
+ if (!extra_headers_.empty()) |
+ extra_headers_ += "\r\n"; |
+ extra_headers_ += more_extra_headers; |
+} |
+ |
void NavigationEntryImpl::SetCanLoadLocalResources(bool allow) { |
can_load_local_resources_ = allow; |
} |