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

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

Issue 12684010: Add simple cache backend experiment hidden behind a flag. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 9 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"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 void SetUpCacheSensitivityAnalysisFieldTrial(); 58 void SetUpCacheSensitivityAnalysisFieldTrial();
59 59
60 // Disables the show profile switcher field trial if multi-profiles is not 60 // Disables the show profile switcher field trial if multi-profiles is not
61 // enabled. 61 // enabled.
62 void DisableShowProfileSwitcherTrialIfNecessary(); 62 void DisableShowProfileSwitcherTrialIfNecessary();
63 63
64 // A field trial to determine the impact of using non-blocking reads for 64 // A field trial to determine the impact of using non-blocking reads for
65 // TCP sockets on Windows instead of overlapped I/O. 65 // TCP sockets on Windows instead of overlapped I/O.
66 void WindowsOverlappedTCPReadsFieldTrial(); 66 void WindowsOverlappedTCPReadsFieldTrial();
67 67
68 // A field trial to check the simple cache performance. Currently hidden
69 // behind a flag.
70 // TODO(pasko): adjust the trial parameters and change the flag default.
SteveT 2013/03/15 14:07:05 nit: adjust -> Adjust
pasko-google - do not use 2013/03/15 15:36:28 Done.
71 void SetUpSimpleCacheFieldTrial();
72
68 // Instantiates dynamic trials by querying their state, to ensure they get 73 // Instantiates dynamic trials by querying their state, to ensure they get
69 // reported as used. 74 // reported as used.
70 void InstantiateDynamicTrials(); 75 void InstantiateDynamicTrials();
71 76
72 const CommandLine& parsed_command_line_; 77 const CommandLine& parsed_command_line_;
73 78
74 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserFieldTrials); 79 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserFieldTrials);
75 }; 80 };
76 81
77 #endif // CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_H_ 82 #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