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 <stdlib.h> | 8 #include <stdlib.h> |
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 |
11 // declarations required for experimental flags. | 11 // declarations required for experimental flags. |
12 | 12 |
13 namespace experimental_flags { | 13 namespace experimental_flags { |
14 | 14 |
15 // Whether background crash report upload should generate a local notification. | 15 // Whether background crash report upload should generate a local notification. |
16 bool IsAlertOnBackgroundUploadEnabled(); | 16 bool IsAlertOnBackgroundUploadEnabled(); |
17 | 17 |
18 // Returns true if the contents of the clipboard can be used for autocomplete. | 18 // Returns true if the contents of the clipboard can be used for autocomplete. |
19 bool IsOpenFromClipboardEnabled(); | 19 bool IsOpenFromClipboardEnabled(); |
20 | 20 |
| 21 // Whether the app uses WKWebView instead of UIWebView. |
| 22 bool IsWKWebViewEnabled(); |
| 23 |
21 // Returns the size in MB of the memory wedge to insert during a cold start. | 24 // Returns the size in MB of the memory wedge to insert during a cold start. |
22 // If 0, no memory wedge should be inserted. | 25 // If 0, no memory wedge should be inserted. |
23 size_t MemoryWedgeSizeInMB(); | 26 size_t MemoryWedgeSizeInMB(); |
24 | 27 |
25 } // namespace experimental_flags | 28 } // namespace experimental_flags |
26 | 29 |
27 #endif // IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_ | 30 #endif // IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_ |
OLD | NEW |