| 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_CHROME_BROWSER_FIELD_TRIALS_H_ | 5 #ifndef CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_H_ |
| 6 #define CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_H_ | 6 #define CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 // intended to test the uniformity and correctness of the field trial control, | 58 // intended to test the uniformity and correctness of the field trial control, |
| 59 // bucketing and reporting systems. | 59 // bucketing and reporting systems. |
| 60 void SetupUniformityFieldTrials(); | 60 void SetupUniformityFieldTrials(); |
| 61 | 61 |
| 62 // Disables the new tab field trial if not running in desktop mode. | 62 // Disables the new tab field trial if not running in desktop mode. |
| 63 void DisableNewTabFieldTrialIfNecesssary(); | 63 void DisableNewTabFieldTrialIfNecesssary(); |
| 64 | 64 |
| 65 // Sets up the Safe Browsing interstitial redesign trial. | 65 // Sets up the Safe Browsing interstitial redesign trial. |
| 66 void SetUpSafeBrowsingInterstitialFieldTrial(); | 66 void SetUpSafeBrowsingInterstitialFieldTrial(); |
| 67 | 67 |
| 68 // Sets up the field trial for testing TLS channel id. | |
| 69 void SetUpChannelIDFieldTrial(); | |
| 70 | |
| 71 // Sets up the InfiniteCache field trial. | 68 // Sets up the InfiniteCache field trial. |
| 72 void SetUpInfiniteCacheFieldTrial(); | 69 void SetUpInfiniteCacheFieldTrial(); |
| 73 | 70 |
| 74 const CommandLine& parsed_command_line_; | 71 const CommandLine& parsed_command_line_; |
| 75 | 72 |
| 76 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserFieldTrials); | 73 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserFieldTrials); |
| 77 }; | 74 }; |
| 78 | 75 |
| 79 #endif // CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_H_ | 76 #endif // CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_H_ |
| OLD | NEW |