Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(411)

Unified Diff: chrome/browser/autocomplete/autocomplete_field_trial.h

Issue 12220004: Introduce dynamic ablation of AutocompleteProviders using AC dynamic trials. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Remove unused variable. Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..ffe43f1301137ec371ad632cd1b3d9280e89a901 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 group names like "ProvidersDisabled_NNN" where 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.
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_controller.cc ('k') | chrome/browser/autocomplete/autocomplete_field_trial.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698