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

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: 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 85ced0dfc8f64a02b5ca1028a29fda9c865666e0..6ee756c9d526dbcd8919286a7d66150d2195ea8b 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). The final result is
+ // all found bitmap masks OR-ed together.
Mark P 2013/02/11 21:13:34 "all found". ick. please rephrase
Bart N. 2013/02/11 21:42:12 Ooops. Fixed.
+ static int GetDisabledProviderTypes();
+
// ---------------------------------------------------------
// For the inline History Quick Provider field trial.

Powered by Google App Engine
This is Rietveld 408576698