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

Unified Diff: chrome/browser/ui/app_list/search/webstore/webstore_provider.h

Issue 1110903002: App Launcher: Webstore results are now ranked by title match. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: NULL -> nullptr. Created 5 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
« no previous file with comments | « no previous file | chrome/browser/ui/app_list/search/webstore/webstore_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/search/webstore/webstore_provider.h
diff --git a/chrome/browser/ui/app_list/search/webstore/webstore_provider.h b/chrome/browser/ui/app_list/search/webstore/webstore_provider.h
index 8dee4afb75e1a5eeabf25c7309efc17f54bdac7c..eb9570ff295c4fbe1868e6df5cb89cd871e4520b 100644
--- a/chrome/browser/ui/app_list/search/webstore/webstore_provider.h
+++ b/chrome/browser/ui/app_list/search/webstore/webstore_provider.h
@@ -24,6 +24,7 @@ class WebstoreProviderTest;
class JSONResponseFetcher;
class SearchResult;
+class TokenizedString;
// WebstoreProvider fetches search results from the web store server.
// A "Search in web store" result will be returned if the server does not
@@ -45,7 +46,8 @@ class WebstoreProvider : public WebserviceSearchProvider{
void OnWebstoreSearchFetched(scoped_ptr<base::DictionaryValue> json);
void ProcessWebstoreSearchResults(const base::DictionaryValue* json);
- scoped_ptr<SearchResult> CreateResult(const base::DictionaryValue& dict);
+ scoped_ptr<SearchResult> CreateResult(const TokenizedString& query,
+ const base::DictionaryValue& dict);
void set_webstore_search_fetched_callback(const base::Closure& callback) {
webstore_search_fetched_callback_ = callback;
« no previous file with comments | « no previous file | chrome/browser/ui/app_list/search/webstore/webstore_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698