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

Unified Diff: components/search_engines/search_terms_data.h

Issue 1238683003: Unpunycode search keywords and short names. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Fix grammar. Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/search_engines/keyword_table.cc ('k') | 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 64d0f124b16b8d3716a8ccfd7757835779dc3d78..2dcdd414eb45e1f8e6624900562337074ea893f9 100644
--- a/components/search_engines/search_terms_data.h
+++ b/components/search_engines/search_terms_data.h
@@ -74,6 +74,11 @@ class SearchTermsData {
// GOOGLE_IMAGE_SEARCH_SOURCE.
virtual std::string GoogleImageSearchSource() const;
+ // Returns a string with languages understood by the user.
+ // Determining this requires accessing the Profile, so this can only ever be
+ // non-empty for UIThreadSearchTermsData.
+ virtual std::string GetAcceptLanguages() const;
+
private:
DISALLOW_COPY_AND_ASSIGN(SearchTermsData);
};
« no previous file with comments | « components/search_engines/keyword_table.cc ('k') | components/search_engines/search_terms_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698