summaryrefslogtreecommitdiffstats
path: root/extensions/common/extension.h
diff options
context:
space:
mode:
authortreib <treib@chromium.org>2015-11-11 00:50:56 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-11 08:52:16 +0000
commit29e1b9b1150114db61336deda26ac48c549d18f4 (patch)
tree90f68d7e499abef91f6eaee57a3cfaca4b381f9c /extensions/common/extension.h
parent1cd284ab30c30c57d74bf515c81a888644ac70d8 (diff)
downloadchromium_src-29e1b9b1150114db61336deda26ac48c549d18f4.zip
chromium_src-29e1b9b1150114db61336deda26ac48c549d18f4.tar.gz
chromium_src-29e1b9b1150114db61336deda26ac48c549d18f4.tar.bz2
Extensions sync: Create a whitelist of syncable disable reasons
BUG=542691,548333 Review URL: https://codereview.chromium.org/1431623003 Cr-Commit-Position: refs/heads/master@{#359069}
Diffstat (limited to 'extensions/common/extension.h')
-rw-r--r--extensions/common/extension.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/extensions/common/extension.h b/extensions/common/extension.h
index f2c24d6..75495fb 100644
--- a/extensions/common/extension.h
+++ b/extensions/common/extension.h
@@ -85,6 +85,8 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
// not remove/reorder entries - only add at the end just before
// DISABLE_REASON_LAST (and update the shift value for it). Also remember to
// update the enum listing in tools/metrics/histograms.xml.
+ // Also carefully consider if your reason should sync to other devices, and if
+ // so, add it to kKnownSyncableDisableReasons in extension_sync_service.cc.
enum DisableReason {
DISABLE_NONE = 0,
DISABLE_USER_ACTION = 1 << 0,