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
3 // found in the LICENSE file.
5 #ifndef IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_
6 #define IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_
10 // This file can be empty. Its purpose is to contain the relatively short lived
11 // declarations required for experimental flags.
13 namespace experimental_flags
{
15 // Whether background crash report upload should generate a local notification.
16 bool IsAlertOnBackgroundUploadEnabled();
18 // Whether external URL request blocking from subframes is enabled.
19 bool IsExternalURLBlockingEnabled();
21 // Whether the new bookmark collection experience is enabled.
22 bool IsBookmarkCollectionEnabled();
24 // Whether to extract salient images from pages at load time if bookmarked.
25 bool IsBookmarkImageFetchingOnVisitEnabled();
27 // Whether the app uses WKWebView instead of UIWebView.
28 bool IsWKWebViewEnabled();
30 // Returns the size in MB of the memory wedge to insert during a cold start.
31 // If 0, no memory wedge should be inserted.
32 size_t MemoryWedgeSizeInMB();
34 } // namespace experimental_flags
36 #endif // IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_