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

Unified Diff: components/search_engines/template_url.h

Issue 573063002: Add ContextualSearchParams constructor to be called when content is passed via HTTP header and not … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « no previous file | components/search_engines/template_url.cc » ('j') | components/search_engines/template_url.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/search_engines/template_url.h
diff --git a/components/search_engines/template_url.h b/components/search_engines/template_url.h
index a01a50e0a66248762b35734b822b357095bb06fe..e4e517afac9a97996d073ab90bdebd8cf2b0adc2 100644
--- a/components/search_engines/template_url.h
+++ b/components/search_engines/template_url.h
@@ -74,14 +74,12 @@ class TemplateURLRef {
struct ContextualSearchParams {
ContextualSearchParams();
- // TODO(jeremycho): Delete constructor once Clank no longer depends on it.
+ // TODO(jeremycho): Remove base_page_url parameter once it is logged from
+ // the HTTP header.
ContextualSearchParams(const int version,
donnd 2014/09/16 21:23:18 I would add comments detailing what the difference
jeremycho 2014/09/16 21:26:53 Done.
- const size_t start,
- const size_t end,
- const std::string& selection,
- const std::string& content,
const std::string& base_page_url,
- const std::string& encoding);
+ const bool resolve);
+ // TODO(jeremycho): Delete constructor once Clank no longer depends on it.
ContextualSearchParams(const int version,
const size_t start,
const size_t end,
« no previous file with comments | « no previous file | components/search_engines/template_url.cc » ('j') | components/search_engines/template_url.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698