| 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 25 matching lines...) Expand all Loading... |
| 36 // host specified. | 36 // host specified. |
| 37 std::string GetOriginServerHost(); | 37 std::string GetOriginServerHost(); |
| 38 | 38 |
| 39 // Returns the promo force enabled, as determined by the experimental flags. | 39 // Returns the promo force enabled, as determined by the experimental flags. |
| 40 // If |WHATS_NEW_DEFAULT| is returned, no promo is force enabled. | 40 // If |WHATS_NEW_DEFAULT| is returned, no promo is force enabled. |
| 41 WhatsNewPromoStatus GetWhatsNewPromoStatus(); | 41 WhatsNewPromoStatus GetWhatsNewPromoStatus(); |
| 42 | 42 |
| 43 // Whether background crash report upload should generate a local notification. | 43 // Whether background crash report upload should generate a local notification. |
| 44 bool IsAlertOnBackgroundUploadEnabled(); | 44 bool IsAlertOnBackgroundUploadEnabled(); |
| 45 | 45 |
| 46 // Whether the All Bookmarks view is visible in bookmarks. | |
| 47 bool IsAllBookmarksEnabled(); | |
| 48 | |
| 49 // Whether auto-reload is enabled. | 46 // Whether auto-reload is enabled. |
| 50 bool IsAutoReloadEnabled(); | 47 bool IsAutoReloadEnabled(); |
| 51 | 48 |
| 52 // Whether "Save Image" should be renamed as "Download Image". | 49 // Whether "Save Image" should be renamed as "Download Image". |
| 53 bool IsDownloadRenamingEnabled(); | 50 bool IsDownloadRenamingEnabled(); |
| 54 | 51 |
| 55 // Whether the external applicaiton prompt is enabled. | 52 // Whether the external applicaiton prompt is enabled. |
| 56 bool IsExternalApplicationPromptEnabled(); | 53 bool IsExternalApplicationPromptEnabled(); |
| 57 | 54 |
| 58 // Whether contextual search must be reset to undecided state. | 55 // Whether contextual search must be reset to undecided state. |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 // Whether password generation fields are determined using local heuristics | 112 // Whether password generation fields are determined using local heuristics |
| 116 // only. | 113 // only. |
| 117 bool UseOnlyLocalHeuristicsForPasswordGeneration(); | 114 bool UseOnlyLocalHeuristicsForPasswordGeneration(); |
| 118 | 115 |
| 119 // Whether the Suggestions UI is enabled. | 116 // Whether the Suggestions UI is enabled. |
| 120 bool IsSuggestionsUIEnabled(); | 117 bool IsSuggestionsUIEnabled(); |
| 121 | 118 |
| 122 } // namespace experimental_flags | 119 } // namespace experimental_flags |
| 123 | 120 |
| 124 #endif // IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_ | 121 #endif // IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_ |
| OLD | NEW |