Disable all predictors code: disable AI Mode starter pack
This commit is contained in:
@@ -39,6 +39,7 @@ License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html
|
||||
.../autofill_optimization_guide.cc | 5 +++--
|
||||
.../field_classification_model_handler.cc | 12 ++++++++----
|
||||
.../field_classification_model_handler.h | 10 ++++++----
|
||||
.../omnibox/browser/aim_eligibility_service.cc | 1 +
|
||||
.../omnibox/browser/autocomplete_controller.cc | 4 ++++
|
||||
.../omnibox/browser/base_search_provider.cc | 4 ++--
|
||||
.../prediction_model_download_manager.cc | 6 ++++--
|
||||
@@ -64,7 +65,7 @@ License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html
|
||||
.../core/html/parser/html_document_parser.cc | 1 +
|
||||
.../document_speculation_rules.cc | 1 +
|
||||
.../platform/runtime_enabled_features.json5 | 2 +-
|
||||
59 files changed, 150 insertions(+), 88 deletions(-)
|
||||
60 files changed, 151 insertions(+), 88 deletions(-)
|
||||
create mode 100644 cromite_flags/chrome/browser/browser_features_cc/Disable-all-predictors-code.inc
|
||||
create mode 100644 cromite_flags/chrome/browser/flags/android/chrome_feature_list_cc/Disable-all-predictors-code.inc
|
||||
create mode 100644 cromite_flags/chrome/common/chrome_features_cc/Disable-all-predictors-code.inc
|
||||
@@ -898,6 +899,17 @@ diff --git a/components/autofill/core/browser/ml_model/field_classification_mode
|
||||
|
||||
base::WeakPtrFactory<FieldClassificationModelHandler> weak_ptr_factory_{this};
|
||||
};
|
||||
diff --git a/components/omnibox/browser/aim_eligibility_service.cc b/components/omnibox/browser/aim_eligibility_service.cc
|
||||
--- a/components/omnibox/browser/aim_eligibility_service.cc
|
||||
+++ b/components/omnibox/browser/aim_eligibility_service.cc
|
||||
@@ -33,6 +33,7 @@ namespace {
|
||||
|
||||
// If disabled, AIM is completely turned off (kill switch).
|
||||
BASE_FEATURE(kAimEnabled, "AimEnabled", base::FEATURE_ENABLED_BY_DEFAULT);
|
||||
+SET_CROMITE_FEATURE_DISABLED(kAimEnabled); // Disable AI Mode starter pack
|
||||
|
||||
// If enabled, uses the server response for AIM eligibility for all locales.
|
||||
BASE_FEATURE(kAimServerEligibilityEnabled,
|
||||
diff --git a/components/omnibox/browser/autocomplete_controller.cc b/components/omnibox/browser/autocomplete_controller.cc
|
||||
--- a/components/omnibox/browser/autocomplete_controller.cc
|
||||
+++ b/components/omnibox/browser/autocomplete_controller.cc
|
||||
|
||||
Reference in New Issue
Block a user