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

Unified Diff: content/public/common/page_state.cc

Issue 134813003: Add the referrer policy to the page state (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
Index: content/public/common/page_state.cc
diff --git a/content/public/common/page_state.cc b/content/public/common/page_state.cc
index b82ef89a50de603a8e6afbee15c4448ac6633eb0..fbcc0d00b5660eb4bcd2d338b165b9ba29352b83 100644
--- a/content/public/common/page_state.cc
+++ b/content/public/common/page_state.cc
@@ -46,6 +46,7 @@ void RecursivelyRemoveScrollOffset(ExplodedFrameState* state) {
void RecursivelyRemoveReferrer(ExplodedFrameState* state) {
state->referrer = base::NullableString16();
+ state->referrer_policy = blink::WebReferrerPolicyDefault;
for (std::vector<ExplodedFrameState>::iterator it = state->children.begin();
it != state->children.end();
++it) {
« no previous file with comments | « content/common/page_state_serialization_unittest.cc ('k') | content/public/renderer/history_item_serialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698