| 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 extensions. | 5 // Sync protocol datatype extension for extensions. |
| 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 11 matching lines...) Expand all Loading... |
| 22 // Globally unique id for this extension. | 22 // Globally unique id for this extension. |
| 23 optional string id = 1; | 23 optional string id = 1; |
| 24 // The known installed version. | 24 // The known installed version. |
| 25 optional string version = 2; | 25 optional string version = 2; |
| 26 | 26 |
| 27 // Auto-update URL to use for this extension. May be blank, in | 27 // Auto-update URL to use for this extension. May be blank, in |
| 28 // which case the default one (i.e., the one for the Chrome | 28 // which case the default one (i.e., the one for the Chrome |
| 29 // Extensions Gallery) is used. | 29 // Extensions Gallery) is used. |
| 30 optional string update_url = 3; | 30 optional string update_url = 3; |
| 31 // Whether or not this extension is enabled. | 31 // Whether or not this extension is enabled. |
| 32 // TODO(yoz): New sync clients will ignore this state, but we must | |
| 33 // keep populating it because old clients behave incorrectly if it's | |
| 34 // not present. Temporarily, enabled changes will propagate from new | |
| 35 // clients to old, but not vice versa. Once all clients are updated to | |
| 36 // ignore this field, we can remove it. See crbug.com/303311. | |
| 37 optional bool enabled = 4; | 32 optional bool enabled = 4; |
| 38 // Whether or not this extension is enabled in incognito mode. | 33 // Whether or not this extension is enabled in incognito mode. |
| 39 optional bool incognito_enabled = 5; | 34 optional bool incognito_enabled = 5; |
| 40 | 35 |
| 41 // The name of the extension. Used only for debugging. | 36 // The name of the extension. Used only for debugging. |
| 42 optional string name = 6; | 37 optional string name = 6; |
| 43 } | 38 } |
| 44 | 39 |
| OLD | NEW |