OLD | NEW |
---|---|
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 // BrowserTrial contains methods specific to field trials (using FieldTrial | 5 // BrowserTrial contains methods specific to field trials (using FieldTrial |
6 // functionality) for browser tests. | 6 // functionality) for browser tests. |
7 | 7 |
8 #ifndef CHROME_BROWSER_BROWSER_TRIAL_H_ | 8 #ifndef CHROME_BROWSER_BROWSER_TRIAL_H_ |
9 #define CHROME_BROWSER_BROWSER_TRIAL_H_ | 9 #define CHROME_BROWSER_BROWSER_TRIAL_H_ |
10 #pragma once | 10 #pragma once |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 | 13 |
14 // Currently we use this as a name space, to hold static shared constants which | 14 // Currently we use this as a name space, to hold static shared constants which |
15 // define current and past trials. | 15 // define current and past trials. |
16 class BrowserTrial { | 16 class BrowserTrial { |
17 public: | 17 public: |
18 | 18 |
19 // The following is a sample line for what should be listed in this file. | 19 // The following is a sample line for what should be listed in this file. |
20 // static const wchar_t* kPruningAlgorithmFieldTrial; | 20 // static const char* kPruningAlgorithmFieldTrial; |
21 | |
22 // Field trial for force-compositing-mode. | |
23 static const char* kForceCompositingModeTrial; | |
Ilya Sherman
2012/06/06 09:50:21
nit: Jim might correct me, but I don't think this
jar (doing other things)
2012/06/06 18:16:52
+1
I had to look back at the history... and this
| |
21 | 24 |
22 private: | 25 private: |
23 DISALLOW_COPY_AND_ASSIGN(BrowserTrial); | 26 DISALLOW_COPY_AND_ASSIGN(BrowserTrial); |
24 }; | 27 }; |
25 | 28 |
26 #endif // CHROME_BROWSER_BROWSER_TRIAL_H_ | 29 #endif // CHROME_BROWSER_BROWSER_TRIAL_H_ |
OLD | NEW |