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

Unified Diff: chrome/browser/chrome_browser_field_trials.h

Issue 10827080: Extract ChromeBrowserFieldTrials out of ChromeBrowserMainParts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/browser_trial.cc ('k') | chrome/browser/chrome_browser_field_trials.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_field_trials.h
===================================================================
--- chrome/browser/chrome_browser_field_trials.h (revision 0)
+++ chrome/browser/chrome_browser_field_trials.h (revision 0)
@@ -0,0 +1,73 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_H_
+#define CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_H_
+
+#include "base/basictypes.h"
+#include "base/command_line.h"
+#include "base/gtest_prod_util.h"
+
+class ChromeBrowserFieldTrials {
+ public:
+ explicit ChromeBrowserFieldTrials(const CommandLine& command_line);
+ ~ChromeBrowserFieldTrials();
+
+ // Add an invocation of your field trial init function to this method.
+ void SetupFieldTrials(bool proxy_policy_is_set);
+
+ private:
+ FRIEND_TEST_ALL_PREFIXES(BrowserMainTest,
+ WarmConnectionFieldTrial_WarmestSocket);
+ FRIEND_TEST_ALL_PREFIXES(BrowserMainTest, WarmConnectionFieldTrial_Random);
+ FRIEND_TEST_ALL_PREFIXES(BrowserMainTest, WarmConnectionFieldTrial_Invalid);
+
+ // A/B test for the maximum number of persistent connections per host.
+ void ConnectionFieldTrial();
+
+ // A/B test for determining a value for unused socket timeout.
+ void SocketTimeoutFieldTrial();
+
+ // A/B test for the maximum number of connections per proxy server.
+ void ProxyConnectionsFieldTrial();
+
+ // A/B test for spdy when --use-spdy not set.
+ void SpdyFieldTrial();
+
+ // A/B test for warmest socket vs. most recently used socket.
+ void WarmConnectionFieldTrial();
+
+ // A/B test for automatically establishing a backup TCP connection when a
+ // specified timeout value is reached.
+ void ConnectBackupJobsFieldTrial();
+
+ // Field trial to see what disabling DNS pre-resolution does to
+ // latency of page loads.
+ void PredictorFieldTrial();
+
+ // Field trial to see what effect installing defaults in the NTP apps pane
+ // has on retention and general apps/webstore usage.
+ void DefaultAppsFieldTrial();
+
+ // A field trial to see what effects launching Chrome automatically on
+ // computer startup has on retention and usage of Chrome.
+ void AutoLaunchChromeFieldTrial();
+
+ // A collection of one-time-randomized and session-randomized field trials
+ // intended to test the uniformity and correctness of the field trial control,
+ // bucketing and reporting systems.
+ void SetupUniformityFieldTrials();
+
+ // Disables the new tab field trial if not running in desktop mode.
+ void DisableNewTabFieldTrialIfNecesssary();
+
+ // Field trial for testing TLS channel id.
+ void ChannelIDFieldTrial();
+
+ const CommandLine& parsed_command_line_;
+
+ DISALLOW_COPY_AND_ASSIGN(ChromeBrowserFieldTrials);
+};
+
+#endif // CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_H_
« no previous file with comments | « chrome/browser/browser_trial.cc ('k') | chrome/browser/chrome_browser_field_trials.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698