Chromium Code Reviews| 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 129 STATE_BLOCKED = 2; | 129 STATE_BLOCKED = 2; |
| 130 } | 130 } |
| 131 // Whether access to the URL was allowed or blocked. | 131 // Whether access to the URL was allowed or blocked. |
| 132 optional BlockedState blocked_state = 18 [default=STATE_ALLOWED]; | 132 optional BlockedState blocked_state = 18 [default=STATE_ALLOWED]; |
| 133 // A list of category identifiers for the URL. | 133 // A list of category identifiers for the URL. |
| 134 repeated string content_pack_categories = 19; | 134 repeated string content_pack_categories = 19; |
| 135 // The status code from the last navigation. | 135 // The status code from the last navigation. |
| 136 optional int32 http_status_code = 20; | 136 optional int32 http_status_code = 20; |
| 137 // Referrer policy. | 137 // Referrer policy. |
| 138 optional int32 referrer_policy = 21; | 138 optional int32 referrer_policy = 21; |
| 139 // The redirections traversed during this navigation. | |
| 140 // The first entry corresponds to the original URL, and the last entry | |
| 141 // corresponds the last URL that redirected (to the virtual_url). | |
| 142 repeated NavigationRedirect navigation_redirect = 22; | |
| 143 // Normally not present. | |
| 144 // The last URL traversed when different from the virtual_url. | |
| 145 optional string last_navigation_redirect_url = 23; | |
|
haitaol1
2014/01/17 23:52:23
Can you confirm that this could happen, i.e. virtu
Donn Denman
2014/01/18 01:30:19
I have only seen this for urls like the new tab pa
| |
| 139 } | 146 } |
| 147 | |
| 148 // Navigation information for a single redirection within a single navigation. | |
| 149 message NavigationRedirect { | |
| 150 // A URL that redirected while navigating to this virtual_url. | |
| 151 optional string url = 1; | |
| 152 } | |
| OLD | NEW |