| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 | 48 |
| 49 // Disables the new tab field trial if not running in desktop mode. | 49 // Disables the new tab field trial if not running in desktop mode. |
| 50 void DisableNewTabFieldTrialIfNecesssary(); | 50 void DisableNewTabFieldTrialIfNecesssary(); |
| 51 | 51 |
| 52 // Sets up the InfiniteCache field trial. | 52 // Sets up the InfiniteCache field trial. |
| 53 void SetUpInfiniteCacheFieldTrial(); | 53 void SetUpInfiniteCacheFieldTrial(); |
| 54 | 54 |
| 55 // Sets up field trials for doing Cache Sensitivity Analysis. | 55 // Sets up field trials for doing Cache Sensitivity Analysis. |
| 56 void SetUpCacheSensitivityAnalysisFieldTrial(); | 56 void SetUpCacheSensitivityAnalysisFieldTrial(); |
| 57 | 57 |
| 58 // Disables the show profile switcher field trial if multi-profiles is not |
| 59 // enabled. |
| 60 void DisableShowProfileSwitcherTrialIfNecessary(); |
| 61 |
| 58 // A field trial to determine the impact of using non-blocking reads for | 62 // A field trial to determine the impact of using non-blocking reads for |
| 59 // TCP sockets on Windows instead of overlapped I/O. | 63 // TCP sockets on Windows instead of overlapped I/O. |
| 60 void WindowsOverlappedTCPReadsFieldTrial(); | 64 void WindowsOverlappedTCPReadsFieldTrial(); |
| 61 | 65 |
| 62 // Instantiates dynamic trials by querying their state, to ensure they get | 66 // Instantiates dynamic trials by querying their state, to ensure they get |
| 63 // reported as used. | 67 // reported as used. |
| 64 void InstantiateDynamicTrials(); | 68 void InstantiateDynamicTrials(); |
| 65 | 69 |
| 66 const CommandLine& parsed_command_line_; | 70 const CommandLine& parsed_command_line_; |
| 67 | 71 |
| 68 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserFieldTrials); | 72 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserFieldTrials); |
| 69 }; | 73 }; |
| 70 | 74 |
| 71 #endif // CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_H_ | 75 #endif // CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_H_ |
| OLD | NEW |