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

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

Issue 10381121: Add SearchProvider's most relevant NavigationResult to |matches_|. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update SearchProviderTest.Navsuggest with test case. Created 8 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/search_provider.h
diff --git a/chrome/browser/autocomplete/search_provider.h b/chrome/browser/autocomplete/search_provider.h
index 856bd0be4b0deb9b5577209a0edee124e4bb8d7a..82b6fe81ea98bef14c7333d0dbcb5deee982bf02 100644
--- a/chrome/browser/autocomplete/search_provider.h
+++ b/chrome/browser/autocomplete/search_provider.h
@@ -236,7 +236,7 @@ class SearchProvider : public AutocompleteProvider,
// Converts the first navigation result in |navigation_results| to an
// AutocompleteMatch and adds it to |matches_|.
void AddNavigationResultsToMatches(
- const NavigationResults& navigation_results,
+ NavigationResults navigation_results,
bool is_keyword);
// Adds a match for each result in |results| to |map|. |is_keyword| indicates
« no previous file with comments | « no previous file | chrome/browser/autocomplete/search_provider.cc » ('j') | chrome/browser/autocomplete/search_provider.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698