Chromium Code Reviews

Unified Diff: chrome/browser/ui/app_list/search/webstore/webstore_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.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « chrome/browser/ui/app_list/search/webstore/webstore_result.h ('k') | no next file » | 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_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 fdcc4481ff801241321a3e903633c690db07caf9..a698e220777eeed80a50e0b332091998e7d90aa9 100644
--- a/chrome/browser/ui/app_list/search/webstore/webstore_result.cc
+++ b/chrome/browser/ui/app_list/search/webstore/webstore_result.cc
@@ -224,9 +224,6 @@ void WebstoreResult::StopObservingInstall() {
install_tracker_ = NULL;
}
-void WebstoreResult::OnBeginExtensionInstall(
- const ExtensionInstallParams& params) {}
-
void WebstoreResult::OnDownloadProgress(const std::string& extension_id,
int percent_downloaded) {
if (extension_id != app_id_ || percent_downloaded < 0)
@@ -235,8 +232,6 @@ void WebstoreResult::OnDownloadProgress(const std::string& extension_id,
SetPercentDownloaded(percent_downloaded);
}
-void WebstoreResult::OnInstallFailure(const std::string& extension_id) {}
-
void WebstoreResult::OnExtensionInstalled(
const extensions::Extension* extension) {
if (extension->id() != app_id_)
@@ -247,19 +242,6 @@ void WebstoreResult::OnExtensionInstalled(
NotifyItemInstalled();
}
-void WebstoreResult::OnExtensionLoaded(
- const extensions::Extension* extension) {}
-
-void WebstoreResult::OnExtensionUnloaded(
- const extensions::Extension* extension) {}
-
-void WebstoreResult::OnExtensionUninstalled(
- const extensions::Extension* extension) {}
-
-void WebstoreResult::OnAppsReordered() {}
-
-void WebstoreResult::OnAppInstalledToAppList(const std::string& extension_id) {}
-
void WebstoreResult::OnShutdown() {
StopObservingInstall();
}
« no previous file with comments | « chrome/browser/ui/app_list/search/webstore/webstore_result.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine