Makes the view manager client lib remove children when embedding
[chromium-blink-merge.git] / sync / protocol / extension_specifics.proto
bloba854e013c968f974a54bec46c0df2a6eaf3656c9
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
3 // found in the LICENSE file.
4 //
5 // Sync protocol datatype extension for extensions.
7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change
8 // any fields in this file.
10 syntax = "proto2";
12 option optimize_for = LITE_RUNTIME;
13 option retain_unknown_fields = true;
15 package sync_pb;
17 // Properties of extension sync objects.
19 // Merge policy: the settings for the higher version number win; in
20 // the case of a tie, server wins.
21 message ExtensionSpecifics {
22   // Globally unique id for this extension.
23   optional string id = 1;
24   // The known installed version.
25   optional string version = 2;
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
29   // Extensions Gallery) is used.
30   optional string update_url = 3;
31   // Whether or not this extension is enabled.
32   optional bool enabled = 4;
33   // Whether or not this extension is enabled in incognito mode.
34   optional bool incognito_enabled = 5;
36   // The name of the extension. Used for bookmark apps.
37   optional string name = 6;
39   // Whether this extension was installed remotely, and hasn't been approved by
40   // a user in chrome yet.
41   optional bool remote_install = 7;
43   // Whether this extension was installed by the custodian of a supervised user.
44   optional bool installed_by_custodian = 8;
46   // Whether this extension has explicit user consent access to all urls.
47   // This is a tri-state boolean, so, unlike most fields here, it really *is*
48   // optional and may be absent. We need this for the time being because we need
49   // to know if a user has not set an explicit preference.
50   optional bool all_urls_enabled = 9;
52   // Bitmask of the set of reasons why the extension is disabled (see
53   // Extension::DisableReason). Only relevant when enabled == false. Note that
54   // old clients (<M45) won't set this, even when enabled is false.
55   optional int32 disable_reasons = 10;