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

Unified Diff: chrome/browser/autocomplete/history_contents_provider.h

Issue 6976001: Turn on the History Quick Provider by Default (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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: chrome/browser/autocomplete/history_contents_provider.h
===================================================================
--- chrome/browser/autocomplete/history_contents_provider.h (revision 85061)
+++ chrome/browser/autocomplete/history_contents_provider.h (working copy)
@@ -65,6 +65,9 @@
// results_.
void AddBookmarkTitleMatchToResults(const bookmark_utils::TitleMatch& match);
+ // Return true if the search term can be found in the title of |result|.
+ bool MatchInTitle(const history::URLResult& result);
+
CancelableRequestConsumerT<int, 0> request_consumer_;
// The number of times we're returned each different type of result. These are
@@ -79,6 +82,8 @@
// Whether we should match against the body text only (true) or also against
// url and titles (false).
+ // TODO(mrossetti): Remove body_only_ and MatchInTitle once body_only_
+ // becomes permanent.
bool body_only_;
// Whether we should trim "http://" from results.
« no previous file with comments | « chrome/browser/autocomplete/autocomplete.cc ('k') | chrome/browser/autocomplete/history_contents_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698