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

Unified Diff: components/search_engines/search_terms_data.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. 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 | « no previous file | components/search_engines/search_terms_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/search_engines/search_terms_data.h
diff --git a/components/search_engines/search_terms_data.h b/components/search_engines/search_terms_data.h
index 2dcdd414eb45e1f8e6624900562337074ea893f9..96c88548993638163faf23d5c18e6f763894084a 100644
--- a/components/search_engines/search_terms_data.h
+++ b/components/search_engines/search_terms_data.h
@@ -70,6 +70,11 @@ class SearchTermsData {
// non-empty for UIThreadSearchTermsData.
virtual std::string NTPIsThemedParam() const;
+ // Returns a string indicating which webview is currently in use on iOS,
+ // suitable for adding as a query string param to search requests. Returns an
+ // empty string if no parameter should be passed along with search requests.
+ virtual std::string IOSWebViewTypeParam() const;
+
// Returns the value to use for replacements of type
// GOOGLE_IMAGE_SEARCH_SOURCE.
virtual std::string GoogleImageSearchSource() const;
« no previous file with comments | « no previous file | components/search_engines/search_terms_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698