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

Unified Diff: chrome/browser/ui/app_list/search/webstore/webstore_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/webstore/webstore_result.cc
diff --git a/chrome/browser/ui/app_list/search/webstore/webstore_result.cc b/chrome/browser/ui/app_list/search/webstore/webstore_result.cc
index 6b3d25b9e13d919a1cfa0c513ee2d6c66332dc9c..beacbfc84f83b076ba549d0b7c67e881b7db365f 100644
--- a/chrome/browser/ui/app_list/search/webstore/webstore_result.cc
+++ b/chrome/browser/ui/app_list/search/webstore/webstore_result.cc
@@ -128,14 +128,14 @@ void WebstoreResult::InvokeAction(int action_index, int event_flags) {
StartInstall(action_index == kLaunchEphemeralAppAction);
}
-scoped_ptr<ChromeSearchResult> WebstoreResult::Duplicate() {
- return scoped_ptr<ChromeSearchResult>(new WebstoreResult(profile_,
- app_id_,
- localized_name_,
- icon_url_,
- is_paid_,
- item_type_,
- controller_)).Pass();
+scoped_ptr<SearchResult> WebstoreResult::Duplicate() {
+ return scoped_ptr<SearchResult>(new WebstoreResult(profile_,
+ app_id_,
+ localized_name_,
+ icon_url_,
+ is_paid_,
+ item_type_,
+ controller_));
}
void WebstoreResult::InitAndStartObserving() {
@@ -301,7 +301,7 @@ void WebstoreResult::OnShutdown(extensions::ExtensionRegistry* registry) {
StopObservingRegistry();
}
-ChromeSearchResultType WebstoreResult::GetType() {
+SearchResultType WebstoreResult::GetType() {
return SEARCH_WEBSTORE_SEARCH_RESULT;
}

Powered by Google App Engine
This is Rietveld 408576698