OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_FIELD_TRIAL_H_ | 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_FIELD_TRIAL_H_ |
6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_FIELD_TRIAL_H_ | 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_FIELD_TRIAL_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 | 9 |
11 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
12 | 11 |
13 // This class manages the Autocomplete field trials. | 12 // This class manages the Autocomplete field trials. |
14 class AutocompleteFieldTrial { | 13 class AutocompleteFieldTrial { |
15 public: | 14 public: |
16 // Creates the field trial groups. | 15 // Creates the field trial groups. |
17 // *** MUST NOT BE CALLED MORE THAN ONCE. *** | 16 // *** MUST NOT BE CALLED MORE THAN ONCE. *** |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 // group uses "new scoring" (a complex multiplicative calculation | 63 // group uses "new scoring" (a complex multiplicative calculation |
65 // that, among other differences from "old scoring", uses word | 64 // that, among other differences from "old scoring", uses word |
66 // break information). | 65 // break information). |
67 static bool InHQPNewScoringFieldTrialExperimentGroup(); | 66 static bool InHQPNewScoringFieldTrialExperimentGroup(); |
68 | 67 |
69 private: | 68 private: |
70 DISALLOW_IMPLICIT_CONSTRUCTORS(AutocompleteFieldTrial); | 69 DISALLOW_IMPLICIT_CONSTRUCTORS(AutocompleteFieldTrial); |
71 }; | 70 }; |
72 | 71 |
73 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_FIELD_TRIAL_H_ | 72 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_FIELD_TRIAL_H_ |
OLD | NEW |