| 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 #pragma once | |
| 8 | |
| 9 #include <string> | |
| 10 | |
| 11 namespace history { | |
| 12 | |
| 13 class HistoryFieldTrial { | |
| 14 public: | |
| 15 static void Activate(); | |
| 16 | |
| 17 // Returns true if history should try to use less memory. | |
| 18 static bool IsLowMemFieldTrial(); | |
| 19 | |
| 20 // Returns the group name as a suffix to append to histogram names for the | |
| 21 // current field trial, or the empty string if none. | |
| 22 static std::string GetGroupSuffix(); | |
| 23 }; | |
| 24 | |
| 25 } // namespace history | |
| 26 | |
| 27 #endif // CHROME_BROWSER_HISTORY_HISTORY_FIELD_TRIAL_H_ | |
| OLD | NEW |