| 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 #include "chrome/browser/chrome_browser_field_trials.h" | 5 #include "chrome/browser/chrome_browser_field_trials.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/metrics/field_trial.h" | 10 #include "base/metrics/field_trial.h" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 chrome::SetupMobileFieldTrials(parsed_command_line_); | 40 chrome::SetupMobileFieldTrials(parsed_command_line_); |
| 41 #else | 41 #else |
| 42 chrome::SetupDesktopFieldTrials(parsed_command_line_); | 42 chrome::SetupDesktopFieldTrials(parsed_command_line_); |
| 43 #endif | 43 #endif |
| 44 } | 44 } |
| 45 | 45 |
| 46 void ChromeBrowserFieldTrials::InstantiateDynamicTrials() { | 46 void ChromeBrowserFieldTrials::InstantiateDynamicTrials() { |
| 47 // The following trials are used from renderer process. | 47 // The following trials are used from renderer process. |
| 48 // Mark here so they will be sync-ed. | 48 // Mark here so they will be sync-ed. |
| 49 base::FieldTrialList::FindValue("CLD1VsCLD2"); | 49 base::FieldTrialList::FindValue("CLD1VsCLD2"); |
| 50 base::FieldTrialList::FindValue("MouseEventPreconnect"); | |
| 51 base::FieldTrialList::FindValue("DisplayList2dCanvas"); | 50 base::FieldTrialList::FindValue("DisplayList2dCanvas"); |
| 52 // Activate the autocomplete dynamic field trials. | 51 // Activate the autocomplete dynamic field trials. |
| 53 OmniboxFieldTrial::ActivateDynamicTrials(); | 52 OmniboxFieldTrial::ActivateDynamicTrials(); |
| 54 } | 53 } |
| OLD | NEW |