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

Unified Diff: components/search_engines/search_terms_data.h

Issue 345803002: Move GoogleImageSearchSource() from template_url.cc to UIThreadSearchTermsData (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 6 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
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 32594a066b764e732dc5ae6291040bbc385326fa..a2ff8ed75f8d139782a7bb76eb516b6f12d1f683 100644
--- a/components/search_engines/search_terms_data.h
+++ b/components/search_engines/search_terms_data.h
@@ -56,6 +56,10 @@ class SearchTermsData {
// non-empty for UIThreadSearchTermsData.
virtual std::string NTPIsThemedParam() const;
+ // Returns the value to use for replacements of type
+ // GOOGLE_IMAGE_SEARCH_SOURCE.
+ virtual std::string GoogleImageSearchSource() const;
+
private:
DISALLOW_COPY_AND_ASSIGN(SearchTermsData);
};
« no previous file with comments | « chrome/browser/search_engines/ui_thread_search_terms_data.cc ('k') | components/search_engines/search_terms_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698