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

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

Issue 10907098: Revert 155218 - Move gpu blacklist to content side. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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_browser_main.cc » ('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"
11 #include "base/string_number_conversions.h" 11 #include "base/string_number_conversions.h"
12 #include "base/string_util.h" 12 #include "base/string_util.h"
13 #include "base/stringprintf.h" 13 #include "base/stringprintf.h"
14 #include "base/sys_string_conversions.h" 14 #include "base/sys_string_conversions.h"
15 #include "base/utf_string_conversions.h" 15 #include "base/utf_string_conversions.h"
16 #include "chrome/browser/auto_launch_trial.h" 16 #include "chrome/browser/auto_launch_trial.h"
17 #include "chrome/browser/autocomplete/autocomplete_field_trial.h" 17 #include "chrome/browser/autocomplete/autocomplete_field_trial.h"
18 #include "chrome/browser/chrome_gpu_util.h"
19 #include "chrome/browser/extensions/default_apps_trial.h" 18 #include "chrome/browser/extensions/default_apps_trial.h"
20 #include "chrome/browser/google/google_util.h" 19 #include "chrome/browser/google/google_util.h"
20 #include "chrome/browser/gpu_util.h"
21 #include "chrome/browser/instant/instant_field_trials.h" 21 #include "chrome/browser/instant/instant_field_trials.h"
22 #include "chrome/browser/net/predictor.h" 22 #include "chrome/browser/net/predictor.h"
23 #include "chrome/browser/prerender/prerender_field_trial.h" 23 #include "chrome/browser/prerender/prerender_field_trial.h"
24 #include "chrome/browser/safe_browsing/safe_browsing_blocking_page.h" 24 #include "chrome/browser/safe_browsing/safe_browsing_blocking_page.h"
25 #include "chrome/common/chrome_switches.h" 25 #include "chrome/common/chrome_switches.h"
26 #include "chrome/common/chrome_version_info.h" 26 #include "chrome/common/chrome_version_info.h"
27 #include "chrome/common/metrics/variations/variations_util.h" 27 #include "chrome/common/metrics/variations/variations_util.h"
28 #include "net/http/http_stream_factory.h" 28 #include "net/http/http_stream_factory.h"
29 #include "net/socket/client_socket_pool_base.h" 29 #include "net/socket/client_socket_pool_base.h"
30 #include "net/socket/client_socket_pool_manager.h" 30 #include "net/socket/client_socket_pool_manager.h"
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 const base::FieldTrial::Probability kEnableProbability = 10; 552 const base::FieldTrial::Probability kEnableProbability = 10;
553 scoped_refptr<base::FieldTrial> trial = 553 scoped_refptr<base::FieldTrial> trial =
554 base::FieldTrialList::FactoryGetFieldTrial( 554 base::FieldTrialList::FactoryGetFieldTrial(
555 "ChannelID", kDivisor, "disable", 2012, 11, 5, NULL); 555 "ChannelID", kDivisor, "disable", 2012, 11, 5, NULL);
556 trial->UseOneTimeRandomization(); 556 trial->UseOneTimeRandomization();
557 int enable_group = trial->AppendGroup("enable", kEnableProbability); 557 int enable_group = trial->AppendGroup("enable", kEnableProbability);
558 if (trial->group() == enable_group) 558 if (trial->group() == enable_group)
559 net::SSLConfigService::EnableChannelIDTrial(); 559 net::SSLConfigService::EnableChannelIDTrial();
560 } 560 }
561 } 561 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698