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

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

Issue 10944037: Add field trial for enabling Stage3D in XP (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix browser_tests Created 8 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/chrome_gpu_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 ProxyConnectionsFieldTrial(); 117 ProxyConnectionsFieldTrial();
118 prerender::ConfigurePrefetchAndPrerender(parsed_command_line_); 118 prerender::ConfigurePrefetchAndPrerender(parsed_command_line_);
119 instant::SetupInstantFieldTrials(); 119 instant::SetupInstantFieldTrials();
120 SpdyFieldTrial(); 120 SpdyFieldTrial();
121 ConnectBackupJobsFieldTrial(); 121 ConnectBackupJobsFieldTrial();
122 WarmConnectionFieldTrial(); 122 WarmConnectionFieldTrial();
123 PredictorFieldTrial(); 123 PredictorFieldTrial();
124 DefaultAppsFieldTrial(); 124 DefaultAppsFieldTrial();
125 AutoLaunchChromeFieldTrial(); 125 AutoLaunchChromeFieldTrial();
126 gpu_util::InitializeCompositingFieldTrial(); 126 gpu_util::InitializeCompositingFieldTrial();
127 gpu_util::InitializeStage3DFieldTrial();
127 SetupUniformityFieldTrials(); 128 SetupUniformityFieldTrials();
128 AutocompleteFieldTrial::Activate(); 129 AutocompleteFieldTrial::Activate();
129 DisableNewTabFieldTrialIfNecesssary(); 130 DisableNewTabFieldTrialIfNecesssary();
130 SetUpSafeBrowsingInterstitialFieldTrial(); 131 SetUpSafeBrowsingInterstitialFieldTrial();
131 SetUpInfiniteCacheFieldTrial(); 132 SetUpInfiniteCacheFieldTrial();
132 #if defined(ENABLE_ONE_CLICK_SIGNIN) 133 #if defined(ENABLE_ONE_CLICK_SIGNIN)
133 OneClickSigninHelper::InitializeFieldTrial(); 134 OneClickSigninHelper::InitializeFieldTrial();
134 #endif 135 #endif
135 } 136 }
136 137
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 if (parsed_command_line_.HasSwitch(switches::kDisableInfiniteCache)) 558 if (parsed_command_line_.HasSwitch(switches::kDisableInfiniteCache))
558 infinite_cache_probability = 0; 559 infinite_cache_probability = 0;
559 560
560 scoped_refptr<base::FieldTrial> trial( 561 scoped_refptr<base::FieldTrial> trial(
561 base::FieldTrialList::FactoryGetFieldTrial("InfiniteCache", kDivisor, 562 base::FieldTrialList::FactoryGetFieldTrial("InfiniteCache", kDivisor,
562 "No", 2013, 12, 31, NULL)); 563 "No", 2013, 12, 31, NULL));
563 trial->UseOneTimeRandomization(); 564 trial->UseOneTimeRandomization();
564 trial->AppendGroup("Yes", infinite_cache_probability); 565 trial->AppendGroup("Yes", infinite_cache_probability);
565 trial->AppendGroup("Control", infinite_cache_probability); 566 trial->AppendGroup("Control", infinite_cache_probability);
566 } 567 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_gpu_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698