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

Unified Diff: components/sessions/content/content_serialized_navigation_driver.h

Issue 869613006: Move referrer policy to a different field when serializing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 5 years, 11 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
« no previous file with comments | « no previous file | components/sessions/content/content_serialized_navigation_driver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sessions/content/content_serialized_navigation_driver.h
diff --git a/components/sessions/content/content_serialized_navigation_driver.h b/components/sessions/content/content_serialized_navigation_driver.h
index c7829f243d3da1f4bc196d7d39d4a16fded6236a..496437672a24d1bc6fa0449c1a73717563487fa9 100644
--- a/components/sessions/content/content_serialized_navigation_driver.h
+++ b/components/sessions/content/content_serialized_navigation_driver.h
@@ -26,6 +26,10 @@ class SESSIONS_EXPORT_PRIVATE ContentSerializedNavigationDriver
// SerializedNavigationDriver implementation.
int GetDefaultReferrerPolicy() const override;
+ bool MapReferrerPolicyToOldValues(int referrer_policy,
+ int* mapped_referrer_policy) const override;
+ bool MapReferrerPolicyToNewValues(int referrer_policy,
+ int* mapped_referrer_policy) const override;
std::string GetSanitizedPageStateForPickle(
const SerializedNavigationEntry* navigation) const override;
void Sanitize(SerializedNavigationEntry* navigation) const override;
« no previous file with comments | « no previous file | components/sessions/content/content_serialized_navigation_driver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698