| // Copyright 2022 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #include "components/browser_sync/browser_sync_switches.h" |
| |
| #include "base/feature_list.h" |
| #include "build/build_config.h" |
| |
| namespace switches { |
| |
| BASE_FEATURE(kMigrateSyncingUserToSignedIn, |
| "MigrateSyncingUserToSignedIn", |
| #if BUILDFLAG(IS_IOS) || BUILDFLAG(IS_ANDROID) |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| #else |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| #endif |
| |
| BASE_FEATURE_PARAM(base::TimeDelta, |
| kMinDelayToMigrateSyncPaused, |
| &switches::kMigrateSyncingUserToSignedIn, |
| "min_delay_to_migrate_sync_paused", |
| base::Days(7)); |
| |
| BASE_FEATURE(kUndoMigrationOfSyncingUserToSignedIn, |
| "UndoMigrationOfSyncingUserToSignedIn", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kForceMigrateSyncingUserToSignedIn, |
| "ForceMigrateSyncingUserToSignedIn", |
| #if BUILDFLAG(IS_IOS) |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| #else |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| #endif |
| |
| } // namespace switches |