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

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

Issue 385123004: Implement the WindowsLogoffRace finch experiment. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add an additional timing check around EndSession to prevent test success when timing out on the blo… Created 6 years, 5 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 | Annotate | Revision Log
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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 } 50 }
51 51
52 void ChromeBrowserFieldTrials::InstantiateDynamicTrials() { 52 void ChromeBrowserFieldTrials::InstantiateDynamicTrials() {
53 // Call |FindValue()| on the trials below, which may come from the server, to 53 // Call |FindValue()| on the trials below, which may come from the server, to
54 // ensure they get marked as "used" for the purposes of data reporting. 54 // ensure they get marked as "used" for the purposes of data reporting.
55 base::FieldTrialList::FindValue("UMA-Dynamic-Binary-Uniformity-Trial"); 55 base::FieldTrialList::FindValue("UMA-Dynamic-Binary-Uniformity-Trial");
56 base::FieldTrialList::FindValue("UMA-Dynamic-Uniformity-Trial"); 56 base::FieldTrialList::FindValue("UMA-Dynamic-Uniformity-Trial");
57 base::FieldTrialList::FindValue("InstantDummy"); 57 base::FieldTrialList::FindValue("InstantDummy");
58 base::FieldTrialList::FindValue("InstantChannel"); 58 base::FieldTrialList::FindValue("InstantChannel");
59 base::FieldTrialList::FindValue("Test0PercentDefault"); 59 base::FieldTrialList::FindValue("Test0PercentDefault");
60 base::FieldTrialList::FindValue("WindowsLogoffRace");
Alexei Svitkine (slow) 2014/07/14 18:55:02 I don't think this is necessary since your experim
Sigurður Ásgeirsson 2014/07/14 20:31:38 I don't know how this machinery works, but the com
Alexei Svitkine (slow) 2014/07/14 21:40:32 Having the trial start in "active" state makes sen
60 // The following trials are used from renderer process. 61 // The following trials are used from renderer process.
61 // Mark here so they will be sync-ed. 62 // Mark here so they will be sync-ed.
62 base::FieldTrialList::FindValue("CLD1VsCLD2"); 63 base::FieldTrialList::FindValue("CLD1VsCLD2");
63 base::FieldTrialList::FindValue("MouseEventPreconnect"); 64 base::FieldTrialList::FindValue("MouseEventPreconnect");
64 base::FieldTrialList::FindValue("UnauthorizedPluginInfoBar"); 65 base::FieldTrialList::FindValue("UnauthorizedPluginInfoBar");
65 // Activate the autocomplete dynamic field trials. 66 // Activate the autocomplete dynamic field trials.
66 OmniboxFieldTrial::ActivateDynamicTrials(); 67 OmniboxFieldTrial::ActivateDynamicTrials();
67 } 68 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698