Chromium Code Reviews

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

Issue 1492163004: Adds an IOSWebViewTypeParam() method to SearchTermsData. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2564
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« 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 »
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 a284e187517c467efd35dc1efbed34a9b09c717f..0869146cb1e4f97ad2421db21b6039d4df5dc6bf 100644
--- a/ios/chrome/browser/experimental_flags.h
+++ b/ios/chrome/browser/experimental_flags.h
@@ -5,6 +5,8 @@
#ifndef IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_
#define IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_
+#include <string>
+
// This file can be empty. Its purpose is to contain the relatively short lived
// declarations required for experimental flags.
@@ -30,6 +32,10 @@ bool IsLRUSnapshotCacheEnabled();
// The returned value will not change within a given session.
bool IsWKWebViewEnabled();
+// Returns a string containing extra params that should be sent along with
+// omnibox search requests. The returned value contains a leading "&".
+std::string GetWKWebViewSearchParams();
+
// Whether keyboard commands are supported.
bool AreKeyboardCommandsEnabled();
« 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