| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_ | 5 #ifndef IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_ |
| 6 #define IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_ | 6 #define IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 // This file can be empty. Its purpose is to contain the relatively short lived | 10 // This file can be empty. Its purpose is to contain the relatively short lived |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 // Returns the promo force enabled, as determined by the experimental flags. | 38 // Returns the promo force enabled, as determined by the experimental flags. |
| 39 // If |WHATS_NEW_DEFAULT| is returned, no promo is force enabled. | 39 // If |WHATS_NEW_DEFAULT| is returned, no promo is force enabled. |
| 40 WhatsNewPromoStatus GetWhatsNewPromoStatus(); | 40 WhatsNewPromoStatus GetWhatsNewPromoStatus(); |
| 41 | 41 |
| 42 // Whether background crash report upload should generate a local notification. | 42 // Whether background crash report upload should generate a local notification. |
| 43 bool IsAlertOnBackgroundUploadEnabled(); | 43 bool IsAlertOnBackgroundUploadEnabled(); |
| 44 | 44 |
| 45 // Whether auto-reload is enabled. | 45 // Whether auto-reload is enabled. |
| 46 bool IsAutoReloadEnabled(); | 46 bool IsAutoReloadEnabled(); |
| 47 | 47 |
| 48 // Whether the external applicaiton prompt is enabled. | |
| 49 bool IsExternalApplicationPromptEnabled(); | |
| 50 | |
| 51 // Whether contextual search must be reset to undecided state. | 48 // Whether contextual search must be reset to undecided state. |
| 52 bool IsForceResetContextualSearchEnabled(); | 49 bool IsForceResetContextualSearchEnabled(); |
| 53 | 50 |
| 54 // Whether the lru snapshot cache experiment is enabled. | 51 // Whether the lru snapshot cache experiment is enabled. |
| 55 bool IsLRUSnapshotCacheEnabled(); | 52 bool IsLRUSnapshotCacheEnabled(); |
| 56 | 53 |
| 57 // Whether the iOS MDM integration is enabled. | 54 // Whether the iOS MDM integration is enabled. |
| 58 bool IsMDMIntegrationEnabled(); | 55 bool IsMDMIntegrationEnabled(); |
| 59 | 56 |
| 60 // Whether memory debugging tools are enabled. | 57 // Whether memory debugging tools are enabled. |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 | 96 |
| 100 // Whether Sign-in promo is enabled. | 97 // Whether Sign-in promo is enabled. |
| 101 bool IsSigninPromoEnabled(); | 98 bool IsSigninPromoEnabled(); |
| 102 | 99 |
| 103 // Whether Google Native App Launcher is enabled. | 100 // Whether Google Native App Launcher is enabled. |
| 104 bool IsNativeAppLauncherEnabled(); | 101 bool IsNativeAppLauncherEnabled(); |
| 105 | 102 |
| 106 } // namespace experimental_flags | 103 } // namespace experimental_flags |
| 107 | 104 |
| 108 #endif // IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_ | 105 #endif // IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_ |
| OLD | NEW |