Index: chrome/browser/autocomplete/autocomplete_field_trial.h |
diff --git a/chrome/browser/autocomplete/autocomplete_field_trial.h b/chrome/browser/autocomplete/autocomplete_field_trial.h |
index dd9bfa3375ecc73ddbc21c7447cd1e00a62f6590..7dddece381ee769966e656fa9d2cac9a9c1c4638 100644 |
--- a/chrome/browser/autocomplete/autocomplete_field_trial.h |
+++ b/chrome/browser/autocomplete/autocomplete_field_trial.h |
@@ -24,6 +24,14 @@ class AutocompleteFieldTrial { |
// This method, unlike ActivateStaticTrials(), may be called multiple times. |
static void ActivateDynamicTrials(); |
+ // Returns a bitmap containing AutocompleteProvider::Type values |
+ // that should be disabled in AutocompleteController. |
+ // This method simply goes over all autocomplete dynamic field trial groups |
+ // and looks for "ProvidersDisabled_NNN" substring in the group name |
+ // (NNN is an integer corresponding to a bitmap mask). All extracted bitmaps |
+ // are OR-ed together and returned as the final result. |
+ static int GetDisabledProviderTypes(); |
+ |
// --------------------------------------------------------- |
// For the inline History Quick Provider field trial. |