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

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

Issue 11228007: Remove the ConnCountImpact FieldTrial code. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 2 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 #ifndef CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_H_ 5 #ifndef CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_H_
6 #define CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_H_ 6 #define CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
11 11
12 class ChromeBrowserFieldTrials { 12 class ChromeBrowserFieldTrials {
13 public: 13 public:
14 explicit ChromeBrowserFieldTrials(const CommandLine& command_line); 14 explicit ChromeBrowserFieldTrials(const CommandLine& command_line);
15 ~ChromeBrowserFieldTrials(); 15 ~ChromeBrowserFieldTrials();
16 16
17 // Add an invocation of your field trial init function to this method. 17 // Add an invocation of your field trial init function to this method.
18 void SetupFieldTrials(bool proxy_policy_is_set); 18 void SetupFieldTrials(bool proxy_policy_is_set);
19 19
20 private: 20 private:
21 FRIEND_TEST_ALL_PREFIXES(BrowserMainTest, 21 FRIEND_TEST_ALL_PREFIXES(BrowserMainTest,
22 WarmConnectionFieldTrial_WarmestSocket); 22 WarmConnectionFieldTrial_WarmestSocket);
23 FRIEND_TEST_ALL_PREFIXES(BrowserMainTest, WarmConnectionFieldTrial_Random); 23 FRIEND_TEST_ALL_PREFIXES(BrowserMainTest, WarmConnectionFieldTrial_Random);
24 FRIEND_TEST_ALL_PREFIXES(BrowserMainTest, WarmConnectionFieldTrial_Invalid); 24 FRIEND_TEST_ALL_PREFIXES(BrowserMainTest, WarmConnectionFieldTrial_Invalid);
25 25
26 // A/B test for the maximum number of persistent connections per host.
27 void ConnectionFieldTrial();
28
29 // A/B test for determining a value for unused socket timeout. 26 // A/B test for determining a value for unused socket timeout.
30 void SocketTimeoutFieldTrial(); 27 void SocketTimeoutFieldTrial();
31 28
32 // A/B test for the maximum number of connections per proxy server. 29 // A/B test for the maximum number of connections per proxy server.
33 void ProxyConnectionsFieldTrial(); 30 void ProxyConnectionsFieldTrial();
34 31
35 // A/B test for spdy when --use-spdy not set. 32 // A/B test for spdy when --use-spdy not set.
36 void SpdyFieldTrial(); 33 void SpdyFieldTrial();
37 34
38 // A/B test for warmest socket vs. most recently used socket. 35 // A/B test for warmest socket vs. most recently used socket.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 67
71 // Sets up field trials for doing Cache Sensitivity Analysis. 68 // Sets up field trials for doing Cache Sensitivity Analysis.
72 void SetUpCacheSensitivityAnalysisFieldTrial(); 69 void SetUpCacheSensitivityAnalysisFieldTrial();
73 70
74 const CommandLine& parsed_command_line_; 71 const CommandLine& parsed_command_line_;
75 72
76 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserFieldTrials); 73 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserFieldTrials);
77 }; 74 };
78 75
79 #endif // CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_H_ 76 #endif // CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_field_trials.cc » ('j') | chrome/browser/chrome_browser_field_trials.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698