OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_HISTORY_HISTORY_FIELD_TRIAL_H_ |
| 6 #define CHROME_BROWSER_HISTORY_HISTORY_FIELD_TRIAL_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 namespace history { |
| 11 |
| 12 class HistoryFieldTrial { |
| 13 public: |
| 14 static void Activate(); |
| 15 |
| 16 // Returns true if history should try to use less memory. |
| 17 static bool IsLowMemFieldTrial(); |
| 18 |
| 19 // Returns the group name as a suffix to append to histogram names for the |
| 20 // current field trial, or the empty string if none. |
| 21 static std::string GetGroupSuffix(); |
| 22 }; |
| 23 |
| 24 } // namespace history |
| 25 |
| 26 #endif // CHROME_BROWSER_HISTORY_HISTORY_FIELD_TRIAL_H_ |
OLD | NEW |