| // Copyright 2026 The Chromium Authors | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| #include "chrome/browser/selection/features.h" | |
| namespace selection { | |
| BASE_FEATURE(kSmartSelectionServerSuggestions, | |
| base::FEATURE_DISABLED_BY_DEFAULT); | |
| BASE_FEATURE_PARAM(base::TimeDelta, | |
| kSmartSelectionServerTimeout, | |
| &kSmartSelectionServerSuggestions, | |
| base::Seconds(20)); | |
| BASE_FEATURE_PARAM(int, | |
| kSmartSelectionServerCropPadding, | |
| &kSmartSelectionServerSuggestions, | |
| -1); | |
| BASE_FEATURE_PARAM(int, | |
| kSmartSelectionServerMaxScreenshotDimension, | |
| &kSmartSelectionServerSuggestions, | |
| -1); | |
| BASE_FEATURE_PARAM(int, | |
| kSmartSelectionServerJpegQuality, | |
| &kSmartSelectionServerSuggestions, | |
| -1); | |
| BASE_FEATURE_PARAM(bool, | |
| kSmartSelectionServerAppendApc, | |
| &kSmartSelectionServerSuggestions, | |
| true); | |
| BASE_FEATURE_PARAM(bool, | |
| kSmartSelectionServerPrewarmAuthToken, | |
| &kSmartSelectionServerSuggestions, | |
| true); | |
| BASE_FEATURE_PARAM(base::TimeDelta, | |
| kSmartSelectionServerPrewarmAuthTokenCooldown, | |
| &kSmartSelectionServerSuggestions, | |
| base::Seconds(30)); | |
| } // namespace selection |