| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 chrome::SetupDesktopFieldTrials( | 45 chrome::SetupDesktopFieldTrials( |
| 46 parsed_command_line_, local_state); | 46 parsed_command_line_, local_state); |
| 47 #endif | 47 #endif |
| 48 } | 48 } |
| 49 | 49 |
| 50 void ChromeBrowserFieldTrials::InstantiateDynamicTrials() { | 50 void ChromeBrowserFieldTrials::InstantiateDynamicTrials() { |
| 51 // The following trials are used from renderer process. | 51 // The following trials are used from renderer process. |
| 52 // Mark here so they will be sync-ed. | 52 // Mark here so they will be sync-ed. |
| 53 base::FieldTrialList::FindValue("CLD1VsCLD2"); | 53 base::FieldTrialList::FindValue("CLD1VsCLD2"); |
| 54 base::FieldTrialList::FindValue("MouseEventPreconnect"); | 54 base::FieldTrialList::FindValue("MouseEventPreconnect"); |
| 55 base::FieldTrialList::FindValue("UnauthorizedPluginInfoBar"); | |
| 56 base::FieldTrialList::FindValue("DisplayList2dCanvas"); | 55 base::FieldTrialList::FindValue("DisplayList2dCanvas"); |
| 57 base::FieldTrialList::FindValue("V8ScriptStreaming"); | 56 base::FieldTrialList::FindValue("V8ScriptStreaming"); |
| 58 // Activate the autocomplete dynamic field trials. | 57 // Activate the autocomplete dynamic field trials. |
| 59 OmniboxFieldTrial::ActivateDynamicTrials(); | 58 OmniboxFieldTrial::ActivateDynamicTrials(); |
| 60 } | 59 } |
| OLD | NEW |