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

Unified Diff: chrome/browser/ui/app_list/search/app_result.cc

Issue 176883003: Make InstallObserver methods not pure-virtual (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 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/app_result.cc
diff --git a/chrome/browser/ui/app_list/search/app_result.cc b/chrome/browser/ui/app_list/search/app_result.cc
index 56e3d88c109bf5a50a1be66ac5213f02ee66f5af..77e9b938c1e9a3d074abd6f7904db9ba0daee797 100644
--- a/chrome/browser/ui/app_list/search/app_result.cc
+++ b/chrome/browser/ui/app_list/search/app_result.cc
@@ -182,22 +182,10 @@ void AppResult::ExtensionEnableFlowAborted(bool user_initiated) {
controller_->OnCloseExtensionPrompt();
}
-void AppResult::OnBeginExtensionInstall(
- const ExtensionInstallParams& params) {}
-
-void AppResult::OnDownloadProgress(const std::string& extension_id,
- int percent_downloaded) {}
-
-void AppResult::OnInstallFailure(const std::string& extension_id) {}
-
-void AppResult::OnExtensionInstalled(const extensions::Extension* extension) {}
-
void AppResult::OnExtensionLoaded(const extensions::Extension* extension) {
UpdateIcon();
}
-void AppResult::OnExtensionUnloaded(const extensions::Extension* extension) {}
-
void AppResult::OnExtensionUninstalled(const extensions::Extension* extension) {
if (extension->id() != app_id_)
return;
@@ -205,10 +193,6 @@ void AppResult::OnExtensionUninstalled(const extensions::Extension* extension) {
NotifyItemUninstalled();
}
-void AppResult::OnAppsReordered() {}
-
-void AppResult::OnAppInstalledToAppList(const std::string& extension_id) {}
-
void AppResult::OnShutdown() { StopObservingInstall(); }
} // namespace app_list
« no previous file with comments | « chrome/browser/ui/app_list/search/app_result.h ('k') | chrome/browser/ui/app_list/search/webstore/webstore_result.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698