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

Unified Diff: ios/chrome/browser/experimental_flags.h

Issue 1495443006: Keep WKWebView control group users in the control group (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/chrome/browser/application_context_impl.cc ('k') | ios/chrome/browser/experimental_flags.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/experimental_flags.h
diff --git a/ios/chrome/browser/experimental_flags.h b/ios/chrome/browser/experimental_flags.h
index a262864ea01c00c75a2dcc2cb9f79a65bfa7289f..5bfa8214ca307351a675d04c3415206969359bd5 100644
--- a/ios/chrome/browser/experimental_flags.h
+++ b/ios/chrome/browser/experimental_flags.h
@@ -32,6 +32,14 @@ bool IsLRUSnapshotCacheEnabled();
// The returned value will not change within a given session.
bool IsWKWebViewEnabled();
+// Whether the user would be put into a control group for the WKWebView
+// experiment assuming they were eligible. Calling this will *not* activate a
+// trial, so is safe to call without checking eligibility.
+bool IsTargetedToWKWebViewExperimentControlGroup();
+
+// Whether the user is part of a control group for the WKWebView experiment.
+bool IsInWKWebViewExperimentControlGroup();
+
// Returns a string containing extra params that should be sent along with
// omnibox search requests. The returned value contains a leading "&".
std::string GetWKWebViewSearchParams();
« no previous file with comments | « ios/chrome/browser/application_context_impl.cc ('k') | ios/chrome/browser/experimental_flags.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698