Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Side by Side Diff: ios/chrome/browser/experimental_flags.h

Issue 1609293003: Removing WKWebViewSearchParam (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 22 matching lines...) Expand all
33 bool IsWKWebViewEnabled(); 33 bool IsWKWebViewEnabled();
34 34
35 // Whether the user would be put into a control group for the WKWebView 35 // Whether the user would be put into a control group for the WKWebView
36 // experiment assuming they were eligible. Calling this will *not* activate a 36 // experiment assuming they were eligible. Calling this will *not* activate a
37 // trial, so is safe to call without checking eligibility. 37 // trial, so is safe to call without checking eligibility.
38 bool IsTargetedToWKWebViewExperimentControlGroup(); 38 bool IsTargetedToWKWebViewExperimentControlGroup();
39 39
40 // Whether the user is part of a control group for the WKWebView experiment. 40 // Whether the user is part of a control group for the WKWebView experiment.
41 bool IsInWKWebViewExperimentControlGroup(); 41 bool IsInWKWebViewExperimentControlGroup();
42 42
43 // Returns a string containing extra params that should be sent along with
44 // omnibox search requests. The returned value contains a leading "&".
45 std::string GetWKWebViewSearchParams();
46
47 // Whether viewing and copying passwords is enabled. 43 // Whether viewing and copying passwords is enabled.
48 bool IsViewCopyPasswordsEnabled(); 44 bool IsViewCopyPasswordsEnabled();
49 45
50 // Whether password generation is enabled. 46 // Whether password generation is enabled.
51 bool IsPasswordGenerationEnabled(); 47 bool IsPasswordGenerationEnabled();
52 48
53 // Whether password generation fields are determined using local heuristics 49 // Whether password generation fields are determined using local heuristics
54 // only. 50 // only.
55 bool UseOnlyLocalHeuristicsForPasswordGeneration(); 51 bool UseOnlyLocalHeuristicsForPasswordGeneration();
56 52
57 // Whether the Tab Switcher is enabled for iPad or not. 53 // Whether the Tab Switcher is enabled for iPad or not.
58 bool IsTabSwitcherEnabled(); 54 bool IsTabSwitcherEnabled();
59 55
60 } // namespace experimental_flags 56 } // namespace experimental_flags
61 57
62 #endif // IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_ 58 #endif // IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_
OLDNEW
« no previous file with comments | « components/search_engines/search_terms_data.cc ('k') | ios/chrome/browser/experimental_flags.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698