| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |