Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(381)

Side by Side Diff: chrome/browser/chrome_browser_field_trials.cc

Issue 1584733003: [Cleanup] Remove some expired omnibox field trials. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 26 matching lines...) Expand all
37 chrome::SetupMobileFieldTrials(parsed_command_line_); 37 chrome::SetupMobileFieldTrials(parsed_command_line_);
38 #else 38 #else
39 chrome::SetupDesktopFieldTrials(parsed_command_line_); 39 chrome::SetupDesktopFieldTrials(parsed_command_line_);
40 #endif 40 #endif
41 } 41 }
42 42
43 void ChromeBrowserFieldTrials::InstantiateDynamicTrials() { 43 void ChromeBrowserFieldTrials::InstantiateDynamicTrials() {
44 // The following trials are used from renderer process. 44 // The following trials are used from renderer process.
45 // Mark here so they will be sync-ed. 45 // Mark here so they will be sync-ed.
46 base::FieldTrialList::FindValue("DisplayList2dCanvas"); 46 base::FieldTrialList::FindValue("DisplayList2dCanvas");
47 // Activate the autocomplete dynamic field trials.
48 OmniboxFieldTrial::ActivateDynamicTrials();
49 } 47 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698