| // Copyright 2018 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #include "components/sync/engine/sync_engine_switches.h" |
| |
| namespace switches { |
| |
| const base::Feature kSyncResetPollIntervalOnStart{ |
| "SyncResetPollIntervalOnStart", base::FEATURE_DISABLED_BY_DEFAULT}; |
| |
| // Causes Sync to ignore updates encrypted with keys that have been missing for |
| // too long from this client; Sync will proceed normally as if those updates |
| // didn't exist. |
| const base::Feature kIgnoreSyncEncryptionKeysLongMissing{ |
| "IgnoreSyncEncryptionKeysLongMissing", base::FEATURE_DISABLED_BY_DEFAULT}; |
| |
| // The threshold for kIgnoreSyncEncryptionKeysLongMissing to start ignoring keys |
| // (measured in number of GetUpdatesResponses messages). |
| const base::FeatureParam<int> kMinGuResponsesToIgnoreKey{ |
| &kIgnoreSyncEncryptionKeysLongMissing, "MinGuResponsesToIgnoreKey", 50}; |
| |
| } // namespace switches |