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

Unified Diff: components/search_engines/template_url.h

Issue 1595103007: TemplateURL Performance - don't call replace search terms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 dd11b39a5026dc4792acd0065c2a8a633d9cb84e..d8bdbf3a3ce20c9be68c6c4e82530c93dd821303 100644
--- a/components/search_engines/template_url.h
+++ b/components/search_engines/template_url.h
@@ -452,9 +452,10 @@ class TemplateURLRef {
// into the string, and may be empty.
mutable Replacements replacements_;
- // Host, path, key and location of the search term. These are only set if the
- // url contains one search term.
+ // Host, port, path, key and location of the search term. These are only set
+ // if the url contains one search term.
mutable std::string host_;
+ mutable std::string port_;
mutable std::string path_;
mutable std::string search_term_key_;
mutable size_t search_term_position_in_path_;
« 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