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

Unified Diff: sync/protocol/session_specifics.proto

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
Index: sync/protocol/session_specifics.proto
diff --git a/sync/protocol/session_specifics.proto b/sync/protocol/session_specifics.proto
index bde8924858432fc6182c218c184420d5d7731fe0..d3518e67df705618328b61829434923c7f30b56f 100644
--- a/sync/protocol/session_specifics.proto
+++ b/sync/protocol/session_specifics.proto
@@ -135,8 +135,7 @@ message TabNavigation {
// The status code from the last navigation.
optional int32 http_status_code = 20;
- // Referrer policy. Valid enums are defined in
- // third_party/WebKit/public/platform/WebReferrerPolicy.h.
+ // Referrer policy. Old, broken value.
optional int32 referrer_policy = 21 [default = 1];
Andrew T Wilson (Slow) 2015/01/29 11:02:13 Should this be named obsolete_referrer_policy?
// True if created from restored navigation entry that hasn't been loaded.
optional bool is_restored = 22;
@@ -146,6 +145,9 @@ message TabNavigation {
// Normally not present.
// The last URL traversed when different from the virtual_url.
optional string last_navigation_redirect_url = 24;
+ // Correct referrer policy. Valid enums are defined in
+ // third_party/WebKit/public/platform/WebReferrerPolicy.h.
+ optional int32 correct_referrer_policy = 25 [default = 1];
}
// Navigation information for a single redirection within a single navigation.

Powered by Google App Engine
This is Rietveld 408576698