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 enum BlockedState { | 127 enum BlockedState { |
128 STATE_ALLOWED = 1; | 128 STATE_ALLOWED = 1; |
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. |
Nicolas Zea
2014/02/18 19:53:44
nit: mention where the policy enum is defined?
| |
138 optional int32 referrer_policy = 21; | 138 optional int32 referrer_policy = 21 [default = 1]; |
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 } | 141 } |
OLD | NEW |