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

Unified Diff: content/public/browser/navigation_entry.h

Issue 2310363002: Persist offline page info in a navigation entry if needed (Closed)
Patch Set: Update 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/public/browser/navigation_entry.h
diff --git a/content/public/browser/navigation_entry.h b/content/public/browser/navigation_entry.h
index 87c17cd29e18c2dd566e6435cc46dbb6716c75d5..0f9659b5867de0c535dc298b67bdf68a0388ec80 100644
--- a/content/public/browser/navigation_entry.h
+++ b/content/public/browser/navigation_entry.h
@@ -225,6 +225,12 @@ class NavigationEntry {
// True if this entry is restored and hasn't been loaded.
virtual bool IsRestored() const = 0;
+
+ // Returns the extra headers (separated by \n) to send during the request.
+ virtual std::string GetExtraHeaders() const = 0;
+
+ // Adds more extra headers (separated by \n) to send during the request.
+ virtual void AddExtraHeaders(const std::string& extra_headers) = 0;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698