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

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

Issue 2310363002: Persist offline page info in a navigation entry if needed (Closed)
Patch Set: Fix win compiling error due to using unique_ptr map in SESSIONS_EXPORT class Created 4 years, 3 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 4c96d55e2b7342d18cd35e31ca6ae2b681e20e3f..6251edc7b27fb91990e70fc7e16c3f507f2a0499 100644
--- a/content/browser/frame_host/navigation_entry_impl.h
+++ b/content/browser/frame_host/navigation_entry_impl.h
@@ -146,6 +146,8 @@ class CONTENT_EXPORT NavigationEntryImpl
void SetRedirectChain(const std::vector<GURL>& redirects) override;
const std::vector<GURL>& GetRedirectChain() const override;
bool IsRestored() const override;
+ std::string GetExtraHeaders() const override;
+ void AddExtraHeaders(const std::string& extra_headers) override;
// Creates a copy of this NavigationEntryImpl that can be modified
// independently from the original. Does not copy any value that would be
@@ -281,7 +283,7 @@ class CONTENT_EXPORT NavigationEntryImpl
update_virtual_url_with_url_ = update;
}
- // Extra headers (separated by \n) to send during the request.
+ // Extra headers (separated by \r\n) to send during the request.
void set_extra_headers(const std::string& extra_headers) {
extra_headers_ = extra_headers;
}
« no previous file with comments | « components/sessions/core/serialized_navigation_entry_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