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

Unified Diff: chrome/browser/ui/app_list/search/people/people_result.cc

Issue 621823004: Simplifies the structure of app_list search a bit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/people/people_result.cc
diff --git a/chrome/browser/ui/app_list/search/people/people_result.cc b/chrome/browser/ui/app_list/search/people/people_result.cc
index 57ae19fdbbec5103bf840c808031daac145235a9..458fbf007460ccb8ec7b03b34cf7ae4838c74cb5 100644
--- a/chrome/browser/ui/app_list/search/people/people_result.cc
+++ b/chrome/browser/ui/app_list/search/people/people_result.cc
@@ -109,9 +109,9 @@ void PeopleResult::InvokeAction(int action_index, int event_flags) {
}
}
-scoped_ptr<ChromeSearchResult> PeopleResult::Duplicate() {
- return scoped_ptr<ChromeSearchResult>(
- new PeopleResult(profile_, person_->Duplicate().Pass())).Pass();
+scoped_ptr<SearchResult> PeopleResult::Duplicate() {
+ return scoped_ptr<SearchResult>(
+ new PeopleResult(profile_, person_->Duplicate().Pass()));
}
void PeopleResult::OnIconLoaded() {
@@ -194,7 +194,7 @@ void PeopleResult::RefreshHangoutsExtensionId() {
hangouts_extension_id_.clear();
}
-ChromeSearchResultType PeopleResult::GetType() {
+SearchResultType PeopleResult::GetType() {
return SEARCH_PEOPLE_SEARCH_RESULT;
}

Powered by Google App Engine
This is Rietveld 408576698