Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Side by Side Diff: sync/protocol/extension_specifics.proto

Issue 1136543003: Extensions: Store disable reasons in Sync (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add test Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 30 matching lines...) Expand all
41 optional bool remote_install = 7; 41 optional bool remote_install = 7;
42 42
43 // Whether this extension was installed by the custodian of a supervised user. 43 // Whether this extension was installed by the custodian of a supervised user.
44 optional bool installed_by_custodian = 8; 44 optional bool installed_by_custodian = 8;
45 45
46 // Whether this extension has explicit user consent access to all urls. 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* 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 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. 49 // to know if a user has not set an explicit preference.
50 optional bool all_urls_enabled = 9; 50 optional bool all_urls_enabled = 9;
51
52 // Bitmask of the set of reasons why the extension is disabled (see
53 // Extension::DisableReason). Only relevant when enabled == false.
not at google - send to devlin 2015/05/12 18:04:17 You might also want to add that older clients won'
Marc Treib 2015/05/19 12:12:03 Done.
54 optional int32 disable_reasons = 10;
51 } 55 }
52 56
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698