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

Unified Diff: chrome/browser/ui/app_list/search/mixer.h

Issue 621823004: Simplifies the structure of app_list search a bit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 2 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/ui/app_list/search/mixer.h
diff --git a/chrome/browser/ui/app_list/search/mixer.h b/chrome/browser/ui/app_list/search/mixer.h
index c555145fc79f2a5ac2c45f7b88ea86a4b8ee7ebb..1e2f2fa7b05d96eac4f2adf428c91938f4a9bb1c 100644
--- a/chrome/browser/ui/app_list/search/mixer.h
+++ b/chrome/browser/ui/app_list/search/mixer.h
@@ -17,8 +17,8 @@ namespace test {
FORWARD_DECLARE_TEST(MixerTest, Publish);
}
-class ChromeSearchResult;
class SearchProvider;
+class SearchResult;
// Mixer collects results from providers, sorts them and publishes them to the
// SearchResults UI model. The targeted results have 6 slots to hold the
@@ -55,11 +55,11 @@ class Mixer {
// Used for sorting and mixing results.
struct SortData {
SortData();
- SortData(ChromeSearchResult* result, double score);
+ SortData(SearchResult* result, double score);
bool operator<(const SortData& other) const;
- ChromeSearchResult* result; // Not owned.
+ SearchResult* result; // Not owned.
double score;
};
typedef std::vector<Mixer::SortData> SortedResults;
« no previous file with comments | « chrome/browser/ui/app_list/search/chrome_search_result.h ('k') | chrome/browser/ui/app_list/search/mixer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698