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

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
« no previous file with comments | « sync/protocol/proto_value_conversions.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/protocol/session_specifics.proto
diff --git a/sync/protocol/session_specifics.proto b/sync/protocol/session_specifics.proto
index bde8924858432fc6182c218c184420d5d7731fe0..659db01864bcaf1fdc1fcd30fc9b8344af389716 100644
--- a/sync/protocol/session_specifics.proto
+++ b/sync/protocol/session_specifics.proto
@@ -135,9 +135,8 @@ 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.
- optional int32 referrer_policy = 21 [default = 1];
+ // Referrer policy. Old, broken value.
+ optional int32 obsolete_referrer_policy = 21 [default = 1];
// True if created from restored navigation entry that hasn't been loaded.
optional bool is_restored = 22;
// The chain of redirections for this navigation, from the original URL
@@ -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.
« no previous file with comments | « sync/protocol/proto_value_conversions.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698