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

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

Issue 10541019: Adding a field trial for testing --force-compositing-mode on 50% of (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 6 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
OLDNEW
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser_trial.cc » ('j') | chrome/browser/chrome_content_browser_client.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698