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

Unified Diff: chrome/browser/android/contextualsearch/resolved_search_term.cc

Issue 2322793002: [Contextual Search] Fetch and display thumbnails returned in resolution response (Closed)
Patch Set: std::unique_ptr Created 4 years, 3 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 | « chrome/browser/android/contextualsearch/resolved_search_term.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/contextualsearch/resolved_search_term.cc
diff --git a/chrome/browser/android/contextualsearch/resolved_search_term.cc b/chrome/browser/android/contextualsearch/resolved_search_term.cc
index 63fe475684e17925b7729b7d9a92311bf1743eec..4c9daeef664a26149c50fe9186401007af86d1f6 100644
--- a/chrome/browser/android/contextualsearch/resolved_search_term.cc
+++ b/chrome/browser/android/contextualsearch/resolved_search_term.cc
@@ -16,7 +16,8 @@ ResolvedSearchTerm::ResolvedSearchTerm(int response_code)
prevent_preload(false),
selection_start_adjust(0),
selection_end_adjust(0),
- context_language("") {}
+ context_language(""),
+ thumbnail_url("") {}
ResolvedSearchTerm::ResolvedSearchTerm(bool is_invalid,
int response_code,
@@ -27,7 +28,8 @@ ResolvedSearchTerm::ResolvedSearchTerm(bool is_invalid,
bool prevent_preload,
int selection_start_adjust,
int selection_end_adjust,
- const std::string& context_language)
+ const std::string& context_language,
+ const std::string& thumbnail_url)
: is_invalid(is_invalid),
response_code(response_code),
search_term(search_term),
@@ -37,6 +39,7 @@ ResolvedSearchTerm::ResolvedSearchTerm(bool is_invalid,
prevent_preload(prevent_preload),
selection_start_adjust(selection_start_adjust),
selection_end_adjust(selection_end_adjust),
- context_language(context_language) {}
+ context_language(context_language),
+ thumbnail_url(thumbnail_url) {}
ResolvedSearchTerm::~ResolvedSearchTerm() {}
« no previous file with comments | « chrome/browser/android/contextualsearch/resolved_search_term.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698