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_
8 // This file can be empty. Its purpose is to contain the relatively short lived
9 // declarations required for experimental flags.
11 namespace experimental_flags
{
13 // Whether background crash report upload should generate a local notification.
14 bool IsAlertOnBackgroundUploadEnabled();
16 // Whether external URL request blocking from subframes is enabled.
17 bool IsExternalURLBlockingEnabled();
19 // Whether the new bookmark collection experience is enabled.
20 bool IsBookmarkCollectionEnabled();
22 // Whether to extract salient images from pages at load time if bookmarked.
23 bool IsBookmarkImageFetchingOnVisitEnabled();
25 // Whether the app uses WKWebView instead of UIWebView.
26 bool IsWKWebViewEnabled();
28 // Whether viewing and copying passwords is enabled.
29 bool IsViewCopyPasswordsEnabled();
31 } // namespace experimental_flags
33 #endif // IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_