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

Side by Side Diff: components/sync/protocol/session_specifics.proto

Issue 2921883003: [Sync] Ensure referrer is recorded regardless of policy conversion (Closed)
Patch Set: Tighten Created 3 years, 6 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 unified diff | Download patch
« no previous file with comments | « components/sessions/ios/ios_serialized_navigation_driver.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Sync protocol datatype extension for sessions. 5 // Sync protocol datatype extension for sessions.
6 6
7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change 7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change
8 // any fields in this file. 8 // any fields in this file.
9 9
10 syntax = "proto2"; 10 syntax = "proto2";
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 STATE_ALLOWED = 1; 127 STATE_ALLOWED = 1;
128 STATE_BLOCKED = 2; 128 STATE_BLOCKED = 2;
129 } 129 }
130 // Whether access to the URL was allowed or blocked. 130 // Whether access to the URL was allowed or blocked.
131 optional BlockedState blocked_state = 18 [default = STATE_ALLOWED]; 131 optional BlockedState blocked_state = 18 [default = STATE_ALLOWED];
132 // A list of category identifiers for the URL. 132 // A list of category identifiers for the URL.
133 repeated string content_pack_categories = 19; 133 repeated string content_pack_categories = 19;
134 // The status code from the last navigation. 134 // The status code from the last navigation.
135 optional int32 http_status_code = 20; 135 optional int32 http_status_code = 20;
136 136
137 // Referrer policy. Old, broken value. 137 // Referrer policy. Old, broken value. Deprecated in M61.
138 optional int32 obsolete_referrer_policy = 21 [default = 1]; 138 optional int32 obsolete_referrer_policy = 21 [deprecated = true];
139 // True if created from restored navigation entry that hasn't been loaded. 139 // True if created from restored navigation entry that hasn't been loaded.
140 optional bool is_restored = 22; 140 optional bool is_restored = 22;
141 // The chain of redirections for this navigation, from the original URL 141 // The chain of redirections for this navigation, from the original URL
142 // through the last URL that redirected. 142 // through the last URL that redirected.
143 repeated NavigationRedirect navigation_redirect = 23; 143 repeated NavigationRedirect navigation_redirect = 23;
144 // Normally not present. 144 // Normally not present.
145 // The last URL traversed when different from the virtual_url. 145 // The last URL traversed when different from the virtual_url.
146 optional string last_navigation_redirect_url = 24; 146 optional string last_navigation_redirect_url = 24;
147 // Correct referrer policy. Valid enums are defined in 147 // Correct referrer policy. Valid enums are defined in
148 // third_party/WebKit/public/platform/WebReferrerPolicy.h. 148 // third_party/WebKit/public/platform/WebReferrerPolicy.h.
(...skipping 18 matching lines...) Expand all
167 // B is got by clicking a link on page of A. This relationship is used to 167 // B is got by clicking a link on page of A. This relationship is used to
168 // define a Chrome Task as a tree rooted by a navigation. 168 // define a Chrome Task as a tree rooted by a navigation.
169 repeated int64 ancestor_task_id = 28; 169 repeated int64 ancestor_task_id = 28;
170 } 170 }
171 171
172 // Navigation information for a single redirection within a single navigation. 172 // Navigation information for a single redirection within a single navigation.
173 message NavigationRedirect { 173 message NavigationRedirect {
174 // A URL that redirected while navigating to the virtual_url. 174 // A URL that redirected while navigating to the virtual_url.
175 optional string url = 1; 175 optional string url = 1;
176 } 176 }
OLDNEW
« no previous file with comments | « components/sessions/ios/ios_serialized_navigation_driver.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698